Lines Matching refs:TimeDelta
25 TimeDelta TimeDelta::Max() { in Max()
26 return TimeDelta(std::numeric_limits<int64_t>::max()); in Max()
29 int TimeDelta::InDays() const { in InDays()
37 int TimeDelta::InHours() const { in InHours()
45 int TimeDelta::InMinutes() const { in InMinutes()
53 double TimeDelta::InSecondsF() const { in InSecondsF()
61 int64_t TimeDelta::InSeconds() const { in InSeconds()
69 double TimeDelta::InMillisecondsF() const { in InMillisecondsF()
77 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds()
85 int64_t TimeDelta::InMillisecondsRoundedUp() const { in InMillisecondsRoundedUp()
94 int64_t TimeDelta::InMicroseconds() const { in InMicroseconds()
104 int64_t SaturatedAdd(TimeDelta delta, int64_t value) { in SaturatedAdd()
110 int64_t SaturatedSub(TimeDelta delta, int64_t value) { in SaturatedSub()
132 std::ostream& operator<<(std::ostream& os, TimeDelta time_delta) { in operator <<()
149 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSeconds(tt); in FromTimeT()
171 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()
199 TimeDelta::FromMillisecondsD(ms_since_epoch); in FromJsTime()
304 TimeDelta tick_interval) const { in SnappedToNextTick()
307 TimeDelta interval_offset = (tick_phase - *this) % tick_interval; in SnappedToNextTick()
322 const TimeDelta as_time_delta = time_ticks - TimeTicks(); in operator <<()
327 const TimeDelta as_time_delta = thread_ticks - ThreadTicks(); in operator <<()