Home
last modified time | relevance | path

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

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeTest.java315 assertThat(ranges.significantDigits(3)).containsExactly("123xx", "145xx", "789"); in testSignificantDigits()
316 assertThat(ranges.significantDigits(2)).containsExactly("12xxx", "14xxx", "78x"); in testSignificantDigits()
317 assertThat(ranges.significantDigits(1)).containsExactly("1xxxx", "7xx"); in testSignificantDigits()
318 assertThat(ranges.significantDigits(0)).containsExactly("xxxxx", "xxx"); in testSignificantDigits()
/third_party/flutter/skia/third_party/externals/icu/source/io/
Duprntf_p.cpp816 int32_t maxSigDecimalDigits, significantDigits; in u_printf_scidbl_handler() local
847 significantDigits = scidbl_info.fPrecision; in u_printf_scidbl_handler()
851 if (significantDigits == -1) { in u_printf_scidbl_handler()
852 significantDigits = 6; in u_printf_scidbl_handler()
855 unum_setAttribute(format, UNUM_MAX_SIGNIFICANT_DIGITS, significantDigits); in u_printf_scidbl_handler()
/third_party/skia/third_party/externals/icu/source/io/
Duprntf_p.cpp816 int32_t maxSigDecimalDigits, significantDigits; in u_printf_scidbl_handler() local
847 significantDigits = scidbl_info.fPrecision; in u_printf_scidbl_handler()
851 if (significantDigits == -1) { in u_printf_scidbl_handler()
852 significantDigits = 6; in u_printf_scidbl_handler()
855 unum_setAttribute(format, UNUM_MAX_SIGNIFICANT_DIGITS, significantDigits); in u_printf_scidbl_handler()
/third_party/icu/icu4c/source/io/
Duprntf_p.cpp816 int32_t maxSigDecimalDigits, significantDigits; in u_printf_scidbl_handler() local
847 significantDigits = scidbl_info.fPrecision; in u_printf_scidbl_handler()
851 if (significantDigits == -1) { in u_printf_scidbl_handler()
852 significantDigits = 6; in u_printf_scidbl_handler()
855 unum_setAttribute(format, UNUM_MAX_SIGNIFICANT_DIGITS, significantDigits); in u_printf_scidbl_handler()
/third_party/jsoncpp/include/json/
Dwriter.h351 PrecisionType precisionType = significantDigits);
Dvalue.h137 significantDigits = 0, ///< we set max number of significant digits in string enumerator
/third_party/jsoncpp/src/lib_json/
Djson_writer.cpp137 (precisionType == significantDigits) ? "%.*g" : "%.*f", in valueToString()
1176 PrecisionType precisionType(significantDigits); in newStreamWriter()
1178 precisionType = significantDigits; in newStreamWriter()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DRangeTableTest.java314 table.simplify(c -> c.getRanges().significantDigits(2), 0, TYPE, AREA_CODE_LENGTH); in testSimplify_multipleColumns()
347 RangeTable simplified = table.simplify(c -> c.getRanges().significantDigits(3), 0, TYPE); in testSimplify_chineseRanges()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTree.java1164 public RangeTree significantDigits(int n) { in significantDigits() method in RangeTree