Home
last modified time | relevance | path

Searched refs:kMicrosecondsPerMillisecond (Results 1 – 18 of 18) sorted by relevance

/external/cronet/base/allocator/partition_allocator/partition_alloc_base/time/
Dtime.cc56 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()
Dtime_android.cc23 return TimeTicks(uptime_millis_value * Time::kMicrosecondsPerMillisecond); in FromUptimeMillis()
55 return us_ / Time::kMicrosecondsPerMillisecond; in ToUptimeMillis()
Dtime.h399 static constexpr int64_t kMicrosecondsPerMillisecond = 1000; variable
401 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
729 Time::kMicrosecondsPerMillisecond); in Milliseconds()
/external/cronet/base/time/
Dtime.cc73 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()
Dtime_android.cc23 return TimeTicks(uptime_millis_value * Time::kMicrosecondsPerMillisecond); in FromUptimeMillis()
55 return us_ / Time::kMicrosecondsPerMillisecond; in ToUptimeMillis()
Dtime_exploded_ios.cc109 (microsecond >= 0) ? microsecond / kMicrosecondsPerMillisecond in Explode()
110 : ((microsecond + 1) / kMicrosecondsPerMillisecond - 1); in Explode()
Dtime_exploded_icu.cc51 -Time::kTimeTToMicrosecondsOffset / Time::kMicrosecondsPerMillisecond; in ExplodeUsingIcuCalendar()
53 Time::kTimeTToMicrosecondsOffset % Time::kMicrosecondsPerMillisecond == 0, in ExplodeUsingIcuCalendar()
Dtime.h406 static constexpr int64_t kMicrosecondsPerMillisecond = 1000; variable
408 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
903 Time::kMicrosecondsPerMillisecond); in Milliseconds()
Dtime_unittest.cc987 (kMaxIntegerAsDoubleMillis * Time::kMicrosecondsPerMillisecond + 999); in TEST_F()
/external/libchrome/libchrome_tools/patches/
Dlibchrome-fix-integer-overflow-if-microseconds-is-IN.patch19 - milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) /
20 - kMicrosecondsPerMillisecond;
21 + milliseconds = (microseconds + 1) / kMicrosecondsPerMillisecond - 1;
/external/libchrome/base/time/
Dtime.cc98 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()
Dtime_exploded_posix.cc139 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode()
144 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
145 kMicrosecondsPerMillisecond; in Explode()
274 checked_microseconds_win_epoch *= kMicrosecondsPerMillisecond; in FromExploded()
Dtime_android.cc23 return TimeTicks(uptime_millis_value * Time::kMicrosecondsPerMillisecond); in FromUptimeMillis()
Dtime.h335 static const int64_t kMicrosecondsPerMillisecond = 1000; variable
337 kMicrosecondsPerMillisecond * kMillisecondsPerSecond;
738 return FromProduct(ms, Time::kMicrosecondsPerMillisecond); in FromMilliseconds()
758 return FromDouble(ms * Time::kMicrosecondsPerMillisecond); in FromMillisecondsD()
/external/libpalmrejection/
Dchrome_to_android_compatibility.h42 ClampMul(static_cast<int64_t>(n), Time::kMicrosecondsPerMillisecond)); in Milliseconds()
52 saturated_cast<int64_t>(n * Time::kMicrosecondsPerMillisecond)); in Milliseconds()
/external/libbrillo/brillo/
Dbackoff_entry.cc143 calculated_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()
150 maximum_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()
/external/cronet/net/base/
Dbackoff_entry.cc150 backoff_duration_us *= base::Time::kMicrosecondsPerMillisecond; in CalculateReleaseTime()
173 maximum_release_time_us *= base::Time::kMicrosecondsPerMillisecond; in BackoffDurationToReleaseTime()
/external/mdnsresponder/mDNSShared/
DCommonServices.h1152 #define kMicrosecondsPerMillisecond 1000 macro