/external/chromium_org/v8/src/platform/ |
D | time.cc | 65 return TimeDelta(seconds * Time::kMicrosecondsPerSecond); in FromSeconds() 95 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 100 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds() 125 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromMachTimespec() 133 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToMachTimespec() 134 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToMachTimespec() 148 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + in FromTimespec() 155 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; in ToTimespec() 156 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * in ToTimespec() 297 return Time(ts.tv_sec * kMicrosecondsPerSecond + in FromTimespec() [all …]
|
D | time.h | 188 static const int64_t kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable 190 static const int64_t kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60; 196 kMicrosecondsPerSecond;
|
/external/chromium_org/base/time/ |
D | time_posix.cc | 86 (static_cast<int64>(ts.tv_sec) * base::Time::kMicrosecondsPerSecond) + in ClockNow() 103 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 105 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 130 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond; 151 return Time((tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec) + in Now() 340 (static_cast<int64>(ts.tv_sec) * Time::kMicrosecondsPerSecond) + in NowFromSystemTraceTime() 359 DCHECK_LT(t.tv_usec, static_cast<int>(Time::kMicrosecondsPerSecond)); in FromTimeVal() 363 if (t.tv_usec == static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1 && in FromTimeVal() 367 (static_cast<int64>(t.tv_sec) * Time::kMicrosecondsPerSecond) + in FromTimeVal() 381 result.tv_usec = static_cast<suseconds_t>(Time::kMicrosecondsPerSecond) - 1; in ToTimeVal() [all …]
|
D | time_mac.cc | 91 base::Time::kMicrosecondsPerSecond) + in ComputeThreadTicks() 120 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond; 139 (t + kCFAbsoluteTimeIntervalSince1970) * kMicrosecondsPerSecond) + in FromCFAbsoluteTime() 149 kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970; in ToCFAbsoluteTime() 173 return Time(static_cast<int64>(seconds * kMicrosecondsPerSecond) + in FromExploded() 180 int64 microsecond = us_ % kMicrosecondsPerSecond; in Explode() 182 microsecond += kMicrosecondsPerSecond; in Explode() 183 CFAbsoluteTime seconds = ((us_ - microsecond) / kMicrosecondsPerSecond) - in Explode()
|
D | time.cc | 33 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 37 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds() 70 return Time((tt * kMicrosecondsPerSecond) + kTimeTToMicrosecondsOffset); in FromTimeT() 85 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT() 95 static_cast<double>(kMicrosecondsPerSecond)) + in FromDoubleT() 107 static_cast<double>(kMicrosecondsPerSecond)); in ToDoubleT()
|
D | time.h | 204 static const int64 kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable 206 static const int64 kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60; 212 kMicrosecondsPerSecond; 512 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
|
D | pr_time_unittest.cc | 17 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond; 40 Time::kMicrosecondsPerSecond; in SetUp()
|
/external/chromium/base/ |
D | time.cc | 28 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF() 32 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds() 58 return Time((tt * kMicrosecondsPerSecond) + kTimeTToMicrosecondsOffset); in FromTimeT() 64 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT() 72 static_cast<double>(kMicrosecondsPerSecond)) + in FromDoubleT() 80 static_cast<double>(kMicrosecondsPerSecond)); in ToDoubleT()
|
D | time_posix.cc | 20 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 22 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 49 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond; 66 return Time((tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec) + in Now() 178 (static_cast<int64>(ts.tv_sec) * Time::kMicrosecondsPerSecond) + in Now() 207 result.tv_sec = us / Time::kMicrosecondsPerSecond; in ToTimeVal() 208 result.tv_usec = us % Time::kMicrosecondsPerSecond; in ToTimeVal()
|
D | time_mac.cc | 41 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond; 52 return Time(static_cast<int64>(now * kMicrosecondsPerSecond) + in Now() 77 return Time(static_cast<int64>(seconds * kMicrosecondsPerSecond) + in FromExploded() 84 kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970; in Explode()
|
D | pr_time_unittest.cc | 16 PRTime comparison_time_pdt = 1192477500 * Time::kMicrosecondsPerSecond; 39 Time::kMicrosecondsPerSecond; in SetUp() 143 Time::kMicrosecondsPerSecond; in TEST_F() 155 time_t time_to_compare = comparison_time_pdt / Time::kMicrosecondsPerSecond; in TEST_F()
|
D | time.h | 186 static const int64 kMicrosecondsPerSecond = kMicrosecondsPerMillisecond * variable 188 static const int64 kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60; 194 kMicrosecondsPerSecond; 434 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
|
/external/chromium_org/net/quic/ |
D | quic_bandwidth.cc | 48 (8 * base::Time::kMicrosecondsPerSecond))); in FromBytesAndTimeDelta() 49 int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / in FromBytesAndTimeDelta() 78 base::Time::kMicrosecondsPerSecond; in ToBytesPerPeriod() 83 base::Time::kMicrosecondsPerSecond; in ToKBytesPerPeriod() 104 bytes * 8 * base::Time::kMicrosecondsPerSecond / bits_per_second_); in TransferTime()
|
/external/chromium_org/ui/gl/ |
D | sync_control_vsync_provider.cc | 15 const int64 kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400; 16 const int64 kMaxVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 10; 69 real_time.tv_sec * base::Time::kMicrosecondsPerSecond + in GetVSyncParameters() 72 monotonic_time.tv_sec * base::Time::kMicrosecondsPerSecond + in GetVSyncParameters() 96 base::Time::kMicrosecondsPerSecond) in GetVSyncParameters()
|
/external/chromium_org/media/cast/ |
D | cast_defines.h | 114 *seconds = static_cast<uint32>(time_us / base::Time::kMicrosecondsPerSecond); in ConvertTimeToFractions() 116 (time_us % base::Time::kMicrosecondsPerSecond) * kMagicFractionalUnit); in ConvertTimeToFractions() 126 (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond); in ConvertTimeTicksToNtp() 134 base::Time::kMicrosecondsPerSecond + in ConvertNtpToTimeTicks() 139 (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond)); in ConvertNtpToTimeTicks()
|
/external/chromium_org/content/browser/speech/endpointer/ |
D | endpointer.cc | 29 static_cast<int64>(1.7 * Time::kMicrosecondsPerSecond); in Endpointer() 31 static_cast<int64>(0.5 * Time::kMicrosecondsPerSecond); in Endpointer() 35 1 * Time::kMicrosecondsPerSecond; in Endpointer() 108 audio_frame_time_us_ += (frame_size_ * Time::kMicrosecondsPerSecond) / in ProcessAudio()
|
/external/chromium_org/base/process/ |
D | process_metrics_posix.cc | 15 static const int kMicrosecondsPerSecond = 1000000; in TimeValToMicroseconds() local 17 ret *= kMicrosecondsPerSecond; in TimeValToMicroseconds()
|
/external/chromium/base/synchronization/ |
D | condition_variable_posix.cc | 50 abstime.tv_sec = now.tv_sec + (usecs / Time::kMicrosecondsPerSecond); in TimedWait() 51 abstime.tv_nsec = (now.tv_usec + (usecs % Time::kMicrosecondsPerSecond)) * in TimedWait()
|
/external/chromium_org/content/renderer/media/ |
D | websourcebuffer_impl.cc | 25 time * base::Time::kMicrosecondsPerSecond); in DoubleToTimeDelta() 63 offset * base::Time::kMicrosecondsPerSecond); in setTimestampOffset()
|
/external/chromium_org/base/synchronization/ |
D | condition_variable_posix.cc | 63 relative_time.tv_sec = usecs / Time::kMicrosecondsPerSecond; in TimedWait() 65 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()
|
/external/chromium_org/cc/scheduler/ |
D | frame_rate_controller_unittest.cc | 36 base::Time::kMicrosecondsPerSecond / 60); in TEST() 75 base::Time::kMicrosecondsPerSecond / 60); in TEST()
|
/external/chromium_org/media/audio/cras/ |
D | cras_input.cc | 216 latency_ts.tv_sec * base::Time::kMicrosecondsPerSecond + in ReadAudio() 219 latency_usec * params_.sample_rate() / base::Time::kMicrosecondsPerSecond; in ReadAudio()
|
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/ |
D | performance_monitor_ui_constants.cc | 25 { UNIT_SECONDS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerSecond },
|
/external/chromium_org/net/quic/congestion_control/ |
D | leaky_bucket.cc | 30 (bytes_ * base::Time::kMicrosecondsPerSecond) / in TimeRemaining()
|
/external/chromium_org/media/base/ |
D | audio_converter.cc | 72 base::Time::kMicrosecondsPerSecond / in AudioConverter() 75 base::Time::kMicrosecondsPerSecond / in AudioConverter()
|