Home
last modified time | relevance | path

Searched refs:absolute_time (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/base/synchronization/
Dcondition_variable_posix.cc76 struct timespec absolute_time; in TimedWait() local
81 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 …]
/external/chromium_org/net/url_request/
Durl_request_throttler_simulation_unittest.cc70 virtual void AdvanceTime(const TimeTicks& absolute_time) = 0;
134 virtual void AdvanceTime(const TimeTicks& absolute_time) OVERRIDE { in AdvanceTime() argument
135 now_ = absolute_time; in AdvanceTime()
411 virtual void AdvanceTime(const TimeTicks& absolute_time) OVERRIDE { in AdvanceTime() argument
413 time_of_last_success_ = absolute_time; in AdvanceTime()
415 throttler_entry_->SetFakeNow(absolute_time); in AdvanceTime()
/external/chromium/base/third_party/nspr/
Dprtime.cc144 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local
146 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()
162 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local
166 if (absolute_time == -1 && in PR_ImplodeTime()
180 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()
/external/chromium_org/base/third_party/nspr/
Dprtime.cc149 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local
151 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()
167 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local
171 if (absolute_time == -1 && in PR_ImplodeTime()
185 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()