Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: src/platform-nullos.cc

Issue 160451: Guard local time posix functions from NaN value of invalid dates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/platform.h ('k') | src/platform-posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // Returns ticks in microsecond resolution. 74 // Returns ticks in microsecond resolution.
75 int64_t OS::Ticks() { 75 int64_t OS::Ticks() {
76 UNIMPLEMENTED(); 76 UNIMPLEMENTED();
77 return 0; 77 return 0;
78 } 78 }
79 79
80 80
81 // Returns a string identifying the current timezone taking into 81 // Returns a string identifying the current timezone taking into
82 // account daylight saving. 82 // account daylight saving.
83 char* OS::LocalTimezone(double time) { 83 const char* OS::LocalTimezone(double time) {
84 UNIMPLEMENTED(); 84 UNIMPLEMENTED();
85 return "<none>"; 85 return "<none>";
86 } 86 }
87 87
88 88
89 // Returns the daylight savings offset in milliseconds for the given time. 89 // Returns the daylight savings offset in milliseconds for the given time.
90 double OS::DaylightSavingsOffset(double time) { 90 double OS::DaylightSavingsOffset(double time) {
91 UNIMPLEMENTED(); 91 UNIMPLEMENTED();
92 return 0; 92 return 0;
93 } 93 }
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 } 427 }
428 428
429 429
430 void ProfileSampler::Stop() { 430 void ProfileSampler::Stop() {
431 UNIMPLEMENTED(); 431 UNIMPLEMENTED();
432 } 432 }
433 433
434 #endif // ENABLE_LOGGING_AND_PROFILING 434 #endif // ENABLE_LOGGING_AND_PROFILING
435 435
436 } } // namespace v8::internal 436 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform.h ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698