Home
last modified time | relevance | path

Searched refs:FloorToUnit (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime.cc60 inline int64_t FloorToUnit(absl::Duration d, absl::Duration unit) { in FloorToUnit() function
250 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Nanoseconds(1)); in ToUnixNanos()
260 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Microseconds(1)); in ToUnixMicros()
270 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Milliseconds(1)); in ToUnixMillis()
285 return absl::FloorToUnit(t - absl::UniversalEpoch(), absl::Nanoseconds(100)); in ToUniversal()
/third_party/abseil-cpp/absl/time/
Dtime.cc60 inline int64_t FloorToUnit(absl::Duration d, absl::Duration unit) { in FloorToUnit() function
249 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Nanoseconds(1)); in ToUnixNanos()
259 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Microseconds(1)); in ToUnixMicros()
269 return FloorToUnit(time_internal::ToUnixDuration(t), absl::Milliseconds(1)); in ToUnixMillis()
284 return absl::FloorToUnit(t - absl::UniversalEpoch(), absl::Nanoseconds(100)); in ToUniversal()