Searched refs:absolute_time (Results 1 – 2 of 2) sorted by relevance
93 struct timespec absolute_time; in TimedWait() local98 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 …]
155 CFAbsoluteTime absolute_time = in PR_ImplodeTime() local157 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()174 time_t absolute_time = timegm(&exp_tm); in PR_ImplodeTime() local178 if (absolute_time == -1 && in PR_ImplodeTime()192 PRTime result = static_cast<PRTime>(absolute_time); in PR_ImplodeTime()