Searched refs:absolute_time (Results 1 – 4 of 4) sorted by relevance
76 struct timespec absolute_time; in TimedWait() local81 absolute_time.tv_sec = now.tv_sec; in TimedWait()82 absolute_time.tv_nsec = now.tv_usec * Time::kNanosecondsPerMicrosecond; in TimedWait()86 absolute_time.tv_sec = now.tv_sec; in TimedWait()87 absolute_time.tv_nsec = now.tv_nsec; in TimedWait()90 absolute_time.tv_sec += relative_time.tv_sec; in TimedWait()91 absolute_time.tv_nsec += relative_time.tv_nsec; in TimedWait()92 absolute_time.tv_sec += absolute_time.tv_nsec / Time::kNanosecondsPerSecond; in TimedWait()93 absolute_time.tv_nsec %= Time::kNanosecondsPerSecond; in TimedWait()94 DCHECK_GE(absolute_time.tv_sec, now.tv_sec); // Overflow paranoia in TimedWait()[all …]
70 virtual void AdvanceTime(const TimeTicks& absolute_time) = 0;134 virtual void AdvanceTime(const TimeTicks& absolute_time) OVERRIDE { in AdvanceTime() argument135 now_ = absolute_time; in AdvanceTime()411 virtual void AdvanceTime(const TimeTicks& absolute_time) OVERRIDE { in AdvanceTime() argument413 time_of_last_success_ = absolute_time; in AdvanceTime()415 throttler_entry_->SetFakeNow(absolute_time); in AdvanceTime()
144 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local146 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()162 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local166 if (absolute_time == -1 && in PR_ImplodeTime()180 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()
149 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local151 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()167 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local171 if (absolute_time == -1 && in PR_ImplodeTime()185 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()