Searched refs:kNanosecondsPerSecond (Results 1 – 7 of 7) sorted by relevance
29 constexpr int64 kNanosecondsPerSecond = 1000 * 1000 * 1000; variable49 *mtime_nsec = timegm(&parsed) * kNanosecondsPerSecond + in ParseRfc3339Time()51 floor((seconds - int_seconds) * kNanosecondsPerSecond)); in ParseRfc3339Time()
112 absolute_time.tv_sec += absolute_time.tv_nsec / Time::kNanosecondsPerSecond; in TimedWait()113 absolute_time.tv_nsec %= Time::kNanosecondsPerSecond; in TimedWait()
252 static_cast<long>(Time::kNanosecondsPerSecond)); // NOLINT in FromMachTimespec()275 static_cast<long>(Time::kNanosecondsPerSecond)); // NOLINT in FromTimespec()416 DCHECK_LT(ts.tv_nsec, kNanosecondsPerSecond); in FromTimespec()420 if (ts.tv_nsec == static_cast<long>(kNanosecondsPerSecond - 1) && // NOLINT in FromTimespec()438 ts.tv_nsec = static_cast<long>(kNanosecondsPerSecond - 1); // NOLINT in ToTimespec()
223 static constexpr int64_t kNanosecondsPerSecond = variable
245 base::Time::kNanosecondsPerSecond); in FromTimeSpec()
346 static const int64_t kNanosecondsPerSecond = variable
1150 #define kNanosecondsPerSecond 1000000000 macro