/third_party/icu/docs/ |
D | Gemfile.lock | 244 unf (~> 0.1.4) 252 unf (0.1.4)
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 2112 public void runTest(UnlocalizedNumberFormatter unf, String skeleton) { in runTest() argument 2116 unf = unf.unit(mu).unitDisplayCase(""); in runTest() 2119 unf = unf.unit(mu).unitDisplayCase(this.unitDisplayCase); in runTest() 2126 … skel, skel, unf, new ULocale(this.locale), this.value, this.expected); in runTest() 2132 UnlocalizedNumberFormatter unf; in unitInflections() local 2138 unf = NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME); in unitInflections() 2149 t.runTest(unf, skeleton); in unitInflections() 2154 unf = NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME); in unitInflections() 2244 t.runTest(unf, skeleton); in unitInflections() 2249 unf = NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME); in unitInflections() [all …]
|
D | NumberRangeFormatterTest.java | 696 UnlocalizedNumberFormatter unf = NumberFormatter.with() in testPlurals() local 700 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() 709 .numberFormatterBoth(unf) in testPlurals()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 680 UnlocalizedNumberFormatter unf = NumberFormatter.with() in testPlurals() local 684 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() 693 .numberFormatterBoth(unf) in testPlurals()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 3336 UNumberFormat* unf = unum_open(itemPtr->style, NULL, 0, itemPtr->locale, NULL, &status); in TestSetMaxFracAndRoundIncr() local 3342 unum_setAttribute(unf, UNUM_MIN_INTEGER_DIGITS, itemPtr->minInt); in TestSetMaxFracAndRoundIncr() 3343 unum_setAttribute(unf, UNUM_MIN_FRACTION_DIGITS, itemPtr->minFrac); in TestSetMaxFracAndRoundIncr() 3344 unum_setAttribute(unf, UNUM_MAX_FRACTION_DIGITS, itemPtr->maxFrac); in TestSetMaxFracAndRoundIncr() 3345 unum_setDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT, itemPtr->roundIncr); in TestSetMaxFracAndRoundIncr() 3349 int32_t minInt = unum_getAttribute(unf, UNUM_MIN_INTEGER_DIGITS); in TestSetMaxFracAndRoundIncr() 3354 int32_t minFrac = unum_getAttribute(unf, UNUM_MIN_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr() 3360 int32_t maxFrac = unum_getAttribute(unf, UNUM_MAX_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr() 3367 double roundIncr = unum_getDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT); in TestSetMaxFracAndRoundIncr() 3376 ulen = unum_toPattern(unf, FALSE, ubuf, kUBufMax, &status); in TestSetMaxFracAndRoundIncr() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_range.cpp | 678 UnlocalizedNumberFormatter unf = NumberFormatter::with() in testPlurals() local 682 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() 692 .numberFormatterBoth(unf) in testPlurals()
|
D | numbertest_api.cpp | 2127 void NumberFormatterApiTest::runUnitInflectionsTestCases(UnlocalizedNumberFormatter unf, in runUnitInflectionsTestCases() argument 2143 unf = unf.unit(mu).unitDisplayCase(""); in runUnitInflectionsTestCases() 2146 unf = unf.unit(mu).unitDisplayCase(t.unitDisplayCase); in runUnitInflectionsTestCases() 2154 skel, skel, unf, Locale(t.locale), t.value, t.expected); in runUnitInflectionsTestCases() 2162 UnlocalizedNumberFormatter unf; in unitInflections() local 2167 unf = NumberFormatter::with().unitWidth(UNUM_UNIT_WIDTH_FULL_NAME); in unitInflections() 2177 … runUnitInflectionsTestCases(unf, skeleton, percentCases, UPRV_LENGTHOF(percentCases), status); in unitInflections() 2181 unf = NumberFormatter::with().unitWidth(UNUM_UNIT_WIDTH_FULL_NAME); in unitInflections() 2255 runUnitInflectionsTestCases(unf, skeleton, testCases, UPRV_LENGTHOF(testCases), status); in unitInflections() 2259 unf = NumberFormatter::with().unitWidth(UNUM_UNIT_WIDTH_FULL_NAME); in unitInflections() [all …]
|
D | numbertest.h | 185 void runUnitInflectionsTestCases(UnlocalizedNumberFormatter unf,
|
D | plurults.cpp | 1374 number::UnlocalizedNumberFormatter unf = number::NumberFormatter::with() in testSelectTrailingZeros() local 1401 number::FormattedNumber fn = unf.locale(locale).formatDouble(cas.number, status); in testSelectTrailingZeros()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | PluralRulesTest.java | 504 UnlocalizedNumberFormatter unf = NumberFormatter.with() 528 FormattedNumber fn = unf.locale(locale).format(number);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 566 UnlocalizedNumberFormatter unf = NumberFormatter.with() 590 FormattedNumber fn = unf.locale(locale).format(number);
|