Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration.cc713 struct DisplayUnit { struct
718 ABSL_CONST_INIT const DisplayUnit kDisplayNano = {"ns", 2, 1e2};
719 ABSL_CONST_INIT const DisplayUnit kDisplayMicro = {"us", 5, 1e5};
720 ABSL_CONST_INIT const DisplayUnit kDisplayMilli = {"ms", 8, 1e8};
721 ABSL_CONST_INIT const DisplayUnit kDisplaySec = {"s", 11, 1e11};
722 ABSL_CONST_INIT const DisplayUnit kDisplayMin = {"m", -1, 0.0}; // prec ignored
723 ABSL_CONST_INIT const DisplayUnit kDisplayHour = {"h", -1,
726 void AppendNumberUnit(std::string* out, int64_t n, DisplayUnit unit) { in AppendNumberUnit()
738 void AppendNumberUnit(std::string* out, double n, DisplayUnit unit) { in AppendNumberUnit()