Home
last modified time | relevance | path

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

/third_party/json/benchmarks/thirdparty/benchmark/src/
Dstring_util.cc16 const char kBigSIUnits[] = "kMGTPEZY"; variable
23 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
25 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
28 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
52 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
93 (exponent > 0 ? (iec ? kBigIECUnits : kBigSIUnits) : kSmallSIUnits); in ExponentToPrefix()
/third_party/benchmark/src/
Dstring_util.cc19 const char kBigSIUnits[] = "kMGTPEZY"; variable
26 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
28 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
31 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
55 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
96 (exponent > 0 ? (iec ? kBigIECUnits : kBigSIUnits) : kSmallSIUnits); in ExponentToPrefix()