Home
last modified time | relevance | path

Searched refs:msPerSecond (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/base/platform/
Dplatform-posix-time.cc14 time_t tv = static_cast<time_t>(std::floor(time / msPerSecond)); in LocalTimezone()
28 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
29 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-aix.cc63 time_t tv = static_cast<time_t>(floor(time_ms / msPerSecond)); in LocalTimezone()
78 return static_cast<double>(get_gmt_offset(*loc) * msPerSecond - in LocalTimeOffset()
79 (loc->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-solaris.cc46 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond)); in LocalTimezone()
55 return -static_cast<double>(timezone * msPerSecond); in LocalTimeOffset()
Dplatform-cygwin.cc79 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond)); in LocalTimezone()
94 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
95 (loc->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-posix.h21 static const int msPerSecond = 1000;
Dplatform-posix.cc638 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond)); in DaylightSavingsOffset()
642 return t->tm_isdst > 0 ? 3600 * msPerSecond : 0; in DaylightSavingsOffset()
Dplatform.h303 static const int msPerSecond = 1000; variable
Dplatform-starboard.cc465 static const int msPerSecond = 1000; member in v8::base::StarboardTimezoneCache