Home
last modified time | relevance | path

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

/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc93 struct timespec absolute_time; in TimedWait() local
98 absolute_time.tv_sec = now.tv_sec; in TimedWait()
99 absolute_time.tv_nsec = now.tv_usec * Time::kNanosecondsPerMicrosecond; in TimedWait()
103 absolute_time.tv_sec = now.tv_sec; in TimedWait()
104 absolute_time.tv_nsec = now.tv_nsec; in TimedWait()
107 absolute_time.tv_sec += relative_time.tv_sec; in TimedWait()
108 absolute_time.tv_nsec += relative_time.tv_nsec; in TimedWait()
109 absolute_time.tv_sec += absolute_time.tv_nsec / Time::kNanosecondsPerSecond; in TimedWait()
110 absolute_time.tv_nsec %= Time::kNanosecondsPerSecond; in TimedWait()
111 DCHECK_GE(absolute_time.tv_sec, now.tv_sec); // Overflow paranoia in TimedWait()
[all …]
/external/libchrome/base/third_party/nspr/
Dprtime.cc155 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local
157 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()
174 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local
178 if (absolute_time == -1 && in PR_ImplodeTime()
192 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()