Searched refs:numFmt (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | plurfmts.cpp | 64 NumberFormat *numFmt = NumberFormat::createInstance(status[0]); in pluralFormatBasicTest() local 83 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest() 84 numberFormatTest(plFmt[i], numFmt, 100, 112, NULL, NULL, FALSE, &message); in pluralFormatBasicTest() 93 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest() 140 delete numFmt; in pluralFormatBasicTest() 224 NumberFormat *numFmt = NumberFormat::createInstance(status); in pluralFormatUnitTest() local 241 numberFormatTest(&plFmt, numFmt, 1, 10, (UnicodeString *)&patternOddTestResult[i], in pluralFormatUnitTest() 245 delete numFmt; in pluralFormatUnitTest() 267 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest() 271 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest() [all …]
|
D | plurfmts.h | 37 NumberFormat *numFmt,
|
D | numfmtst.cpp | 3865 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat() local 3867 delete numFmt; in TestCurrencyIsoPluralFormat() 3873 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat() 3875 delete numFmt; in TestCurrencyIsoPluralFormat() 3881 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat() 3900 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat() 3915 delete numFmt; in TestCurrencyIsoPluralFormat() 3973 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing() local 3979 delete numFmt; in TestCurrencyParsing() 3985 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing() [all …]
|
D | tmsgfmt.cpp | 1536 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); in TestRBNF() local 1548 numFmt->parse(values[j], args[0], ec); in TestRBNF() 1569 delete numFmt; in TestRBNF()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 1065 NumberFormat numFmt = NumberFormat.getInstance(locale, k); in TestCurrencyIsoPluralFormat() local 1066 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat() 1067 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() 1088 Number val = numFmt.parse(oneCurrencyFormatResult); in TestCurrencyIsoPluralFormat() 1116 NumberFormat numFmt = NumberFormat.getInstance(locale, NumberFormat.CURRENCYSTYLE); in TestMiscCurrencyParsing() local 1118 Number val = numFmt.parse(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
|
D | TestMessageFormat.java | 842 final NumberFormat numFmt = NumberFormat.getInstance(locale); in TestRBNF() local 850 num = numFmt.parse(values[j]); in TestRBNF()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 1069 NumberFormat numFmt = NumberFormat.getInstance(locale, k); in TestCurrencyIsoPluralFormat() local 1070 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat() 1071 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() 1092 Number val = numFmt.parse(oneCurrencyFormatResult); in TestCurrencyIsoPluralFormat() 1120 NumberFormat numFmt = NumberFormat.getInstance(locale, NumberFormat.CURRENCYSTYLE); in TestMiscCurrencyParsing() local 1122 Number val = numFmt.parse(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
|
D | TestMessageFormat.java | 846 final NumberFormat numFmt = NumberFormat.getInstance(locale); in TestRBNF() local 854 num = numFmt.parse(values[j]); in TestRBNF()
|