Searched refs:kMicrosecondsPerMillisecond (Results 1 – 18 of 18) sorted by relevance
56 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()63 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()70 const int64_t result = delta_ / Time::kMicrosecondsPerMillisecond; in InMillisecondsRoundedUp()72 return (delta_ > result * Time::kMicrosecondsPerMillisecond) ? (result + 1) in InMillisecondsRoundedUp()203 checked_microseconds_win_epoch *= kMicrosecondsPerMillisecond; in FromMillisecondsSinceUnixEpoch()211 kTimeTToMicrosecondsOffset / kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()212 static_assert(kTimeTToMicrosecondsOffset % kMicrosecondsPerMillisecond == 0, in ToRoundedDownMillisecondsSinceUnixEpoch()221 const int64_t millis = us_ / kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()222 const int64_t submillis = us_ % kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()
23 return TimeTicks(uptime_millis_value * Time::kMicrosecondsPerMillisecond); in FromUptimeMillis()55 return us_ / Time::kMicrosecondsPerMillisecond; in ToUptimeMillis()
399 static constexpr int64_t kMicrosecondsPerMillisecond = 1000; variable401 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;729 Time::kMicrosecondsPerMillisecond); in Milliseconds()
73 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()80 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()87 const int64_t result = delta_ / Time::kMicrosecondsPerMillisecond; in InMillisecondsRoundedUp()89 return (delta_ > result * Time::kMicrosecondsPerMillisecond) ? (result + 1) in InMillisecondsRoundedUp()284 checked_microseconds_win_epoch *= kMicrosecondsPerMillisecond; in FromMillisecondsSinceUnixEpoch()292 kTimeTToMicrosecondsOffset / kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()293 static_assert(kTimeTToMicrosecondsOffset % kMicrosecondsPerMillisecond == 0, in ToRoundedDownMillisecondsSinceUnixEpoch()302 const int64_t millis = us_ / kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()303 const int64_t submillis = us_ % kMicrosecondsPerMillisecond; in ToRoundedDownMillisecondsSinceUnixEpoch()
109 (microsecond >= 0) ? microsecond / kMicrosecondsPerMillisecond in Explode()110 : ((microsecond + 1) / kMicrosecondsPerMillisecond - 1); in Explode()
51 -Time::kTimeTToMicrosecondsOffset / Time::kMicrosecondsPerMillisecond; in ExplodeUsingIcuCalendar()53 Time::kTimeTToMicrosecondsOffset % Time::kMicrosecondsPerMillisecond == 0, in ExplodeUsingIcuCalendar()
406 static constexpr int64_t kMicrosecondsPerMillisecond = 1000; variable408 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;903 Time::kMicrosecondsPerMillisecond); in Milliseconds()
987 (kMaxIntegerAsDoubleMillis * Time::kMicrosecondsPerMillisecond + 999); in TEST_F()
19 - milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) /20 - kMicrosecondsPerMillisecond;21 + milliseconds = (microseconds + 1) / kMicrosecondsPerMillisecond - 1;
98 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()106 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()114 int64_t result = delta_ / Time::kMicrosecondsPerMillisecond; in InMillisecondsRoundedUp()115 int64_t remainder = delta_ - (result * Time::kMicrosecondsPerMillisecond); in InMillisecondsRoundedUp()267 kMicrosecondsPerMillisecond); in ToJsTime()285 kMicrosecondsPerMillisecond); in ToJavaTime()
139 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode()144 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()145 kMicrosecondsPerMillisecond; in Explode()274 checked_microseconds_win_epoch *= kMicrosecondsPerMillisecond; in FromExploded()
23 return TimeTicks(uptime_millis_value * Time::kMicrosecondsPerMillisecond); in FromUptimeMillis()
335 static const int64_t kMicrosecondsPerMillisecond = 1000; variable337 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;738 return FromProduct(ms, Time::kMicrosecondsPerMillisecond); in FromMilliseconds()758 return FromDouble(ms * Time::kMicrosecondsPerMillisecond); in FromMillisecondsD()
42 ClampMul(static_cast<int64_t>(n), Time::kMicrosecondsPerMillisecond)); in Milliseconds()52 saturated_cast<int64_t>(n * Time::kMicrosecondsPerMillisecond)); in Milliseconds()
143 calculated_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()150 maximum_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()
150 backoff_duration_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()173 maximum_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in BackoffDurationToReleaseTime()
1152 #define kMicrosecondsPerMillisecond 1000 macro