Searched refs:kMillisecondsPerSecond (Results 1 – 15 of 15) sorted by relevance
140 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()
332 static const int64_t kMillisecondsPerSecond = 1000; variable334 kMillisecondsPerSecond * 60 * 60 * kHoursPerDay;337 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
1302 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()
140 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()
403 static constexpr int64_t kMillisecondsPerSecond = 1000; variable405 kMillisecondsPerSecond * kSecondsPerHour * kHoursPerDay;408 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
1832 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()
16 millisecond = milliseconds % kMillisecondsPerSecond;23 (milliseconds - kMillisecondsPerSecond + 1) / kMillisecondsPerSecond;
80 base::Time::kMillisecondsPerSecond in GetDirectoryListingEntry()
88 Time::kMillisecondsPerSecond, in OnTestEnd()
396 static constexpr int64_t kMillisecondsPerSecond = 1000; variable398 kMillisecondsPerSecond * kSecondsPerHour * kHoursPerDay;401 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
159 Time::kMillisecondsPerSecond, in OnTestEnd()
186 constexpr int64_t kMillisecondsPerSecond = 1'000; variable197 result *= kMillisecondsPerSecond; in GetMillisNow()
603 base::Milliseconds(static_cast<int>(base::Time::kMillisecondsPerSecond * in ScheduleNextRefresh()608 base::Milliseconds(static_cast<int>(base::Time::kMillisecondsPerSecond * in ScheduleNextRefresh()
118 time_zone->getOffset(now.ToDoubleT() * base::Time::kMillisecondsPerSecond, in RecordCurrentTime()
1153 #define kMillisecondsPerSecond 1000 macro