Searched refs:unf (Results 1 – 5 of 5) sorted by relevance
/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/intltest/ |
D | numbertest_range.cpp | 677 UnlocalizedNumberFormatter unf = NumberFormatter::with() in testPlurals() local 681 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() 691 .numberFormatterBoth(unf) in testPlurals()
|
D | plurults.cpp | 1012 number::UnlocalizedNumberFormatter unf = number::NumberFormatter::with() in testSelectTrailingZeros() local 1034 number::FormattedNumber fn = unf.locale(locale).formatDouble(cas.number, status); in testSelectTrailingZeros()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 3334 UNumberFormat* unf = unum_open(itemPtr->style, NULL, 0, itemPtr->locale, NULL, &status); in TestSetMaxFracAndRoundIncr() local 3340 unum_setAttribute(unf, UNUM_MIN_INTEGER_DIGITS, itemPtr->minInt); in TestSetMaxFracAndRoundIncr() 3341 unum_setAttribute(unf, UNUM_MIN_FRACTION_DIGITS, itemPtr->minFrac); in TestSetMaxFracAndRoundIncr() 3342 unum_setAttribute(unf, UNUM_MAX_FRACTION_DIGITS, itemPtr->maxFrac); in TestSetMaxFracAndRoundIncr() 3343 unum_setDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT, itemPtr->roundIncr); in TestSetMaxFracAndRoundIncr() 3347 int32_t minInt = unum_getAttribute(unf, UNUM_MIN_INTEGER_DIGITS); in TestSetMaxFracAndRoundIncr() 3352 int32_t minFrac = unum_getAttribute(unf, UNUM_MIN_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr() 3358 int32_t maxFrac = unum_getAttribute(unf, UNUM_MAX_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr() 3365 double roundIncr = unum_getDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT); in TestSetMaxFracAndRoundIncr() 3374 ulen = unum_toPattern(unf, FALSE, ubuf, kUBufMax, &status); in TestSetMaxFracAndRoundIncr() [all …]
|
/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);
|