Home
last modified time | relevance | path

Searched refs:kMillisecondsPerSecond (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/base/time/
Dtime_exploded_posix.cc140 seconds = milliseconds / kMillisecondsPerSecond; in Explode()
141 millisecond = milliseconds % kMillisecondsPerSecond; in Explode()
147 (milliseconds - kMillisecondsPerSecond + 1) / kMillisecondsPerSecond; in Explode()
149 millisecond = milliseconds % kMillisecondsPerSecond; in Explode()
151 millisecond += kMillisecondsPerSecond; in Explode()
256 milliseconds = min_seconds * kMillisecondsPerSecond; in FromExploded()
258 milliseconds = max_seconds * kMillisecondsPerSecond; in FromExploded()
259 milliseconds += (kMillisecondsPerSecond - 1); in FromExploded()
263 checked_millis *= kMillisecondsPerSecond; in FromExploded()
Dtime.h332 static const int64_t kMillisecondsPerSecond = 1000; variable
334 kMillisecondsPerSecond * 60 * 60 * kHoursPerDay;
337 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
Dtime_unittest.cc1302 TimeDelta::FromMilliseconds(max_int / Time::kMillisecondsPerSecond + 1) in TEST()
1314 TimeDelta::FromMilliseconds(min_int / Time::kMillisecondsPerSecond - 1) in TEST()
1348 TimeDelta::FromMillisecondsD(max_d / Time::kMillisecondsPerSecond * 2) in TEST()
1358 TimeDelta::FromMillisecondsD(min_d / Time::kMillisecondsPerSecond * 2) in TEST()
/external/cronet/base/time/
Dtime_exploded_posix.cc140 SysTime seconds = millis_since_unix_epoch / Time::kMillisecondsPerSecond; in Explode()
141 int64_t millisecond = millis_since_unix_epoch % Time::kMillisecondsPerSecond; in Explode()
146 millisecond += Time::kMillisecondsPerSecond; in Explode()
251 milliseconds = min_seconds * kMillisecondsPerSecond; in FromExploded()
253 milliseconds = max_seconds * kMillisecondsPerSecond; in FromExploded()
254 milliseconds += (kMillisecondsPerSecond - 1); in FromExploded()
258 checked_millis *= kMillisecondsPerSecond; in FromExploded()
Dtime.h403 static constexpr int64_t kMillisecondsPerSecond = 1000; variable
405 kMillisecondsPerSecond * kSecondsPerHour * kHoursPerDay;
408 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
Dtime_unittest.cc1832 Milliseconds(max_int / Time::kMillisecondsPerSecond + 1).is_max(), ""); in TEST()
1840 Milliseconds(min_int / Time::kMillisecondsPerSecond - 1).is_min(), ""); in TEST()
1862 static_assert(Milliseconds(max_d / Time::kMillisecondsPerSecond * 2).is_max(), in TEST()
1867 static_assert(Milliseconds(min_d / Time::kMillisecondsPerSecond * 2).is_min(), in TEST()
/external/libchrome/libchrome_tools/patches/
Dlibchrome-fix-integer-overflow-if-microseconds-is-IN.patch16 millisecond = milliseconds % kMillisecondsPerSecond;
23 (milliseconds - kMillisecondsPerSecond + 1) / kMillisecondsPerSecond;
/external/cronet/net/base/
Ddirectory_listing.cc80 base::Time::kMillisecondsPerSecond in GetDirectoryListingEntry()
/external/libchrome/base/test/
Dgtest_xml_unittest_result_printer.cc88 Time::kMillisecondsPerSecond, in OnTestEnd()
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/time/
Dtime.h396 static constexpr int64_t kMillisecondsPerSecond = 1000; variable
398 kMillisecondsPerSecond * kSecondsPerHour * kHoursPerDay;
401 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
/external/cronet/base/test/
Dgtest_xml_unittest_result_printer.cc159 Time::kMillisecondsPerSecond, in OnTestEnd()
/external/cronet/base/android/linker/
Dlinker_jni.cc186 constexpr int64_t kMillisecondsPerSecond = 1'000; variable
197 result *= kMillisecondsPerSecond; in GetMillisNow()
/external/cronet/net/dns/
Dmdns_client_impl.cc603 base::Milliseconds(static_cast<int>(base::Time::kMillisecondsPerSecond * in ScheduleNextRefresh()
608 base::Milliseconds(static_cast<int>(base::Time::kMillisecondsPerSecond * in ScheduleNextRefresh()
/external/cronet/components/metrics/
Dmetrics_log.cc118 time_zone->getOffset(now.ToDoubleT() * base::Time::kMillisecondsPerSecond, in RecordCurrentTime()
/external/mdnsresponder/mDNSShared/
DCommonServices.h1153 #define kMillisecondsPerSecond 1000 macro