Lines Matching refs:absolute_time
96 struct timespec absolute_time; in TimedWait() local
101 absolute_time.tv_sec = now.tv_sec; in TimedWait()
102 absolute_time.tv_nsec = now.tv_usec * Time::kNanosecondsPerMicrosecond; in TimedWait()
106 absolute_time.tv_sec = now.tv_sec; in TimedWait()
107 absolute_time.tv_nsec = now.tv_nsec; in TimedWait()
110 absolute_time.tv_sec += relative_time.tv_sec; in TimedWait()
111 absolute_time.tv_nsec += relative_time.tv_nsec; in TimedWait()
112 absolute_time.tv_sec += absolute_time.tv_nsec / Time::kNanosecondsPerSecond; in TimedWait()
113 absolute_time.tv_nsec %= Time::kNanosecondsPerSecond; in TimedWait()
114 DCHECK_GE(absolute_time.tv_sec, now.tv_sec); // Overflow paranoia in TimedWait()
118 &condition_, user_mutex_, &absolute_time); in TimedWait()
120 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &absolute_time); in TimedWait()