/external/cronet/base/allocator/partition_allocator/partition_alloc_base/time/ |
D | time_conversion_posix.cc | 19 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimeSpec() 26 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 28 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 38 PA_DCHECK(t.tv_usec < static_cast<int>(Time::kMicrosecondsPerSecond)); in FromTimeVal() 42 if (t.tv_usec == static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1 && in FromTimeVal() 45 return Time((static_cast<int64_t>(t.tv_sec) * Time::kMicrosecondsPerSecond) + in FromTimeVal() 58 result.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in ToTimeVal() 62 result.tv_sec = us / Time::kMicrosecondsPerSecond; in ToTimeVal() 63 result.tv_usec = us % Time::kMicrosecondsPerSecond; in ToTimeVal()
|
D | time_now_posix.cc | 37 result *= Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 42 result *= Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 76 Microseconds((tv.tv_sec * Time::kMicrosecondsPerSecond + tv.tv_usec) + in TimeNowIgnoringOverride()
|
D | time.h | 400 static constexpr int64_t kMicrosecondsPerSecond = variable 403 kMicrosecondsPerSecond * kSecondsPerMinute; 411 kNanosecondsPerMicrosecond * kMicrosecondsPerSecond; 724 Time::kMicrosecondsPerSecond); in Seconds() 742 return n ? TimeDelta::FromInternalValue(Time::kMicrosecondsPerSecond / in Hertz() 767 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 773 return is_inf() ? delta_ : (delta_ / Time::kMicrosecondsPerSecond); in InSeconds()
|
D | time_win.cc | 446 return Microseconds(qpc_value * Time::kMicrosecondsPerSecond / in QPCValueToTimeDelta() 453 return Microseconds((whole_seconds * Time::kMicrosecondsPerSecond) + in QPCValueToTimeDelta() 454 ((leftover_ticks * Time::kMicrosecondsPerSecond) / in QPCValueToTimeDelta() 603 static_cast<int64_t>(thread_time_seconds * Time::kMicrosecondsPerSecond); in GetForThread()
|
/external/cronet/base/time/ |
D | time_conversion_posix.cc | 19 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimeSpec() 26 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 28 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 38 DCHECK_LT(t.tv_usec, static_cast<int>(Time::kMicrosecondsPerSecond)); in FromTimeVal() 42 if (t.tv_usec == static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1 && in FromTimeVal() 45 return Time((static_cast<int64_t>(t.tv_sec) * Time::kMicrosecondsPerSecond) + in FromTimeVal() 58 result.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in ToTimeVal() 62 result.tv_sec = static_cast<time_t>(us / Time::kMicrosecondsPerSecond); in ToTimeVal() 63 result.tv_usec = us % Time::kMicrosecondsPerSecond; in ToTimeVal()
|
D | time_exploded_ios.cc | 49 (seconds * kMicrosecondsPerSecond) + kTimeTToMicrosecondsOffset; in FromExploded() 79 int64_t microsecond = us_ % kMicrosecondsPerSecond; in Explode() 81 microsecond += kMicrosecondsPerSecond; in Explode() 83 kMicrosecondsPerSecond) - in Explode()
|
D | time_now_posix.cc | 36 result *= base::Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 41 result *= base::Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 86 Microseconds((tv.tv_sec * Time::kMicrosecondsPerSecond + tv.tv_usec) + in TimeNowIgnoringOverride()
|
D | pr_time_unittest.cc | 19 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond; 46 mktime(&local_comparison_tm) * Time::kMicrosecondsPerSecond; in SetUp() 62 mktime(&local_comparison_tm_2) * Time::kMicrosecondsPerSecond; in SetUp()
|
D | time.h | 407 static constexpr int64_t kMicrosecondsPerSecond = variable 410 kMicrosecondsPerSecond * kSecondsPerMinute; 418 kNanosecondsPerMicrosecond * kMicrosecondsPerSecond; 898 Time::kMicrosecondsPerSecond); in Seconds() 916 return n ? TimeDelta::FromInternalValue(Time::kMicrosecondsPerSecond / in Hertz() 941 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 947 return is_inf() ? delta_ : (delta_ / Time::kMicrosecondsPerSecond); in InSeconds()
|
D | time_win.cc | 527 return Microseconds(qpc_value * Time::kMicrosecondsPerSecond / in QPCValueToTimeDelta() 534 return Microseconds((whole_seconds * Time::kMicrosecondsPerSecond) + in QPCValueToTimeDelta() 535 ((leftover_ticks * Time::kMicrosecondsPerSecond) / in QPCValueToTimeDelta() 683 static_cast<int64_t>(thread_time_seconds * Time::kMicrosecondsPerSecond); in GetForThread()
|
D | time_win_unittest.cc | 88 Time::kMicrosecondsPerSecond / 10000000); in GetTSC() 320 (static_cast<double>(ticks) * Time::kMicrosecondsPerSecond) / in TEST()
|
/external/libchrome/base/time/ |
D | time_conversion_posix.cc | 19 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimeSpec() 26 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 28 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 38 DCHECK_LT(t.tv_usec, static_cast<int>(Time::kMicrosecondsPerSecond)); in FromTimeVal() 42 if (t.tv_usec == static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1 && in FromTimeVal() 45 return Time((static_cast<int64_t>(t.tv_sec) * Time::kMicrosecondsPerSecond) + in FromTimeVal() 58 result.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in ToTimeVal() 62 result.tv_sec = us / Time::kMicrosecondsPerSecond; in ToTimeVal() 63 result.tv_usec = us % Time::kMicrosecondsPerSecond; in ToTimeVal()
|
D | time_now_posix.cc | 33 result *= base::Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 38 result *= base::Time::kMicrosecondsPerSecond; in ConvertTimespecToMicros() 75 (tv.tv_sec * Time::kMicrosecondsPerSecond + tv.tv_usec) + in TimeNowIgnoringOverride()
|
D | time.cc | 82 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 90 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds() 219 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT() 237 static_cast<double>(kMicrosecondsPerSecond)); in ToDoubleT()
|
D | pr_time_unittest.cc | 20 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond; 47 mktime(&local_comparison_tm) * Time::kMicrosecondsPerSecond; in SetUp() 63 mktime(&local_comparison_tm_2) * Time::kMicrosecondsPerSecond; in SetUp()
|
D | time.h | 336 static const int64_t kMicrosecondsPerSecond = variable 338 static const int64_t kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60; 345 kNanosecondsPerMicrosecond * kMicrosecondsPerSecond; 733 return FromProduct(secs, Time::kMicrosecondsPerSecond); in FromSeconds() 753 return FromDouble(secs * Time::kMicrosecondsPerSecond); in FromSecondsD()
|
D | time_unittest.cc | 653 tval.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in TEST_F() 658 EXPECT_EQ(static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1, in TEST_F() 1186 delta = TimeDelta::FromMicroseconds(Time::kMicrosecondsPerSecond + 1); in TEST() 1297 TimeDelta::FromSeconds(max_int / Time::kMicrosecondsPerSecond + 1) in TEST() 1309 TimeDelta::FromSeconds(min_int / Time::kMicrosecondsPerSecond - 1) in TEST() 1334 TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1) in TEST() 1353 TimeDelta::FromSecondsD(min_d / Time::kMicrosecondsPerSecond - 1) in TEST()
|
/external/pigweed/pw_tls_client/ |
D | build_time.cc | 20 constexpr uint64_t kMicrosecondsPerSecond = 1'000'000; variable 29 static_cast<time_t>(kBuildTimeMicrosecondsUTC / kMicrosecondsPerSecond); in __wrap_time() 40 tv->tv_sec = kBuildTimeMicrosecondsUTC / kMicrosecondsPerSecond; in __wrap_gettimeofday() 41 tv->tv_usec = kBuildTimeMicrosecondsUTC % kMicrosecondsPerSecond; in __wrap_gettimeofday()
|
/external/libpalmrejection/ |
D | chrome_to_android_compatibility.h | 37 ClampMul(static_cast<int64_t>(n), Time::kMicrosecondsPerSecond)); in Seconds() 47 saturated_cast<int64_t>(n * Time::kMicrosecondsPerSecond)); in Seconds()
|
/external/libchrome/base/synchronization/ |
D | condition_variable_posix.cc | 83 relative_time.tv_sec = usecs / Time::kMicrosecondsPerSecond; in TimedWait() 85 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()
|
/external/cronet/base/synchronization/ |
D | condition_variable_posix.cc | 95 static_cast<time_t>(usecs / Time::kMicrosecondsPerSecond); in TimedWait() 97 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 30 ret *= Time::kMicrosecondsPerSecond; in TimeValToMicroseconds()
|
D | process_metrics.cc | 38 events_delta * base::Time::kMicrosecondsPerSecond; in CalculateEventsPerSecond()
|
/external/cronet/base/process/ |
D | process_metrics_posix.cc | 37 ret *= Time::kMicrosecondsPerSecond; in TimeValToMicroseconds()
|
/external/libchrome/components/timers/ |
D | alarm_timer_chromeos.cc | 81 (delay.InMicroseconds() % base::Time::kMicrosecondsPerSecond) * in Reset()
|