Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/wtf/
DDateMath.h66 const double msPerSecond = 1000.0; variable
96 using WTF::msPerSecond;
DGregorianDateTime.cpp80 utcOffset += calculateDSTOffset(localTime * msPerSecond, utcOffset); in setToCurrentLocalTime()
81 m_utcOffset = utcOffset / msPerSecond; in setToCurrentLocalTime()
DDateMath.cpp413 double offsetTime = (localTimeSeconds * msPerSecond) + utcOffset; in calculateDSTOffsetSimple()
430 return (diff * msPerSecond); in calculateDSTOffsetSimple()
452 return calculateDSTOffsetSimple(ms / msPerSecond, utcOffset); in calculateDSTOffset()
836 return ymdhmsToSeconds(year, month + 1, day, hour, minute, second) * msPerSecond; in parseDateFromNullTerminatedCharacters()
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
DFile.cpp162 return m_snapshotModificationTime * msPerSecond; in lastModifiedDate()
166 return modificationTime * msPerSecond; in lastModifiedDate()
168 return currentTime() * msPerSecond; in lastModifiedDate()
/external/chromium_org/v8/src/
Dplatform-macos.cc187 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
198 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
199 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-freebsd.cc66 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
77 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
78 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-cygwin.cc56 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
70 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
71 (loc->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-openbsd.cc64 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
75 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
76 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-linux.cc118 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
129 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
130 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-solaris.cc85 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
94 return -static_cast<double>(timezone * msPerSecond); in LocalTimeOffset()
Dplatform-posix.cc354 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in DaylightSavingsOffset()
357 return t->tm_isdst > 0 ? 3600 * msPerSecond : 0; in DaylightSavingsOffset()
Dplatform.h385 static const int msPerSecond = 1000;
Dmacros.py62 const msPerSecond = 1000;
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DDateTimeEditElement.cpp137 || !stepRange().minimum().remainder(static_cast<int>(msPerSecond)).isZero() in needMillisecondField()
138 || !stepRange().step().remainder(static_cast<int>(msPerSecond)).isZero(); in needMillisecondField()
256 DateTimeNumericFieldElement::Step step = createStep(msPerSecond, msPerMinute); in visitField()
272 DateTimeNumericFieldElement::Step step = createStep(1, msPerSecond); in visitField()
368 const Decimal decimalMsPerSecond(static_cast<int>(msPerSecond)); in shouldMillisecondFieldDisabled()
388 …stepRange().minimum().abs().remainder(decimalMsPerMinute) / static_cast<int>(msPerSecond)).floor(); in shouldSecondFieldDisabled()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8BlobCustomHelpers.cpp102 setLastModified(static_cast<double>(lastModifiedInt) / msPerSecond); in parseBlobPropertyBag()
/external/v8/src/
Dplatform-cygwin.cc103 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
117 return static_cast<double>((mktime(loc) - utc) * msPerSecond - in LocalTimeOffset()
118 (loc->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-posix.cc198 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in DaylightSavingsOffset()
201 return t->tm_isdst > 0 ? 3600 * msPerSecond : 0; in DaylightSavingsOffset()
Dplatform-freebsd.cc121 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
132 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
133 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-macos.cc305 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
316 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
317 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-openbsd.cc139 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
150 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
151 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dplatform-linux.cc314 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
325 return static_cast<double>(t->tm_gmtoff * msPerSecond - in LocalTimeOffset()
326 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
Dmacros.py60 const msPerSecond = 1000;
Dplatform-solaris.cc132 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); in LocalTimezone()
145 return static_cast<double>((mktime(loc) - utc) * msPerSecond); in LocalTimeOffset()
Dplatform.h318 static const int msPerSecond = 1000;
/external/chromium_org/third_party/WebKit/Source/platform/
DDateComponents.cpp495 m_millisecond = static_cast<int>(fmod(msInDay, msPerSecond)); in setMillisecondsSinceMidnightInternal()
496 double value = floor(msInDay / msPerSecond); in setMillisecondsSinceMidnightInternal()
636 …return ((m_hour * minutesPerHour + m_minute) * secondsPerMinute + m_second) * msPerSecond + m_mill… in millisecondsSinceEpochForTime()

12