Lines Matching refs:Time
39 base::TimeDelta time_difference = base::Time::Now() - in ComputeCurrentTicks()
40 (base::Time::FromTimeT(boottime.tv_sec) + in ComputeCurrentTicks()
62 mach_absolute_time() / base::Time::kNanosecondsPerMicrosecond); in ComputeCurrentTicks()
97 absolute_micros *= base::Time::kMicrosecondsPerSecond; in ComputeThreadTicks()
127 const int64_t Time::kWindowsEpochDeltaMicroseconds =
128 kWindowsEpochDeltaSeconds * Time::kMicrosecondsPerSecond;
133 const int64_t Time::kTimeTToMicrosecondsOffset = kWindowsEpochDeltaMicroseconds;
136 Time Time::Now() { in Now()
141 Time Time::FromCFAbsoluteTime(CFAbsoluteTime t) { in FromCFAbsoluteTime()
145 return Time(); // Consider 0 as a null Time. in FromCFAbsoluteTime()
148 return Time(static_cast<int64_t>((t + kCFAbsoluteTimeIntervalSince1970) * in FromCFAbsoluteTime()
153 CFAbsoluteTime Time::ToCFAbsoluteTime() const { in ToCFAbsoluteTime()
165 Time Time::NowFromSystemTime() { in NowFromSystemTime()
171 bool Time::FromExploded(bool is_local, const Exploded& exploded, Time* time) { in FromExploded()
188 base::Time converted_time = in FromExploded()
189 Time(static_cast<int64_t>(seconds * kMicrosecondsPerSecond) + in FromExploded()
196 base::Time::Exploded to_exploded; in FromExploded()
207 *time = Time(0); in FromExploded()
211 void Time::Explode(bool is_local, Exploded* exploded) const { in Explode()