Lines Matching refs:absolute_time
93 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()
115 &condition_, user_mutex_, &absolute_time); in TimedWait()
117 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &absolute_time); in TimedWait()