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/time/
Dtime_mac.cc179 CFAbsoluteTime absolute_time; in FromExploded() local
183 gregorian, &absolute_time, "yMdHmsS", exploded.year, exploded.month, in FromExploded()
186 CFAbsoluteTime seconds = absolute_time + kCFAbsoluteTimeIntervalSince1970; in FromExploded()