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 …]
179 CFAbsoluteTime absolute_time; in FromExploded() local183 gregorian, &absolute_time, "yMdHmsS", exploded.year, exploded.month, in FromExploded()186 CFAbsoluteTime seconds = absolute_time + kCFAbsoluteTimeIntervalSince1970; in FromExploded()