Home
last modified time | relevance | path

Searched refs:numFmt (Results 1 – 8 of 8) sorted by relevance

/external/icu4c/test/intltest/
Dplurfmts.cpp60 NumberFormat *numFmt = NumberFormat::createInstance(status[0]); in pluralFormatBasicTest() local
79 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
80 numberFormatTest(plFmt[i], numFmt, 100, 112, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
89 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest()
134 delete numFmt; in pluralFormatBasicTest()
216 NumberFormat *numFmt = NumberFormat::createInstance(status); in pluralFormatUnitTest() local
233 numberFormatTest(&plFmt, numFmt, 1, 10, (UnicodeString *)&patternOddTestResult[i], in pluralFormatUnitTest()
237 delete numFmt; in pluralFormatUnitTest()
259 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest()
263 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest()
[all …]
Dnumfmtst.cpp2934 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat() local
2936 delete numFmt; in TestCurrencyIsoPluralFormat()
2946 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
2948 delete numFmt; in TestCurrencyIsoPluralFormat()
2954 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
2976 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
2991 delete numFmt; in TestCurrencyIsoPluralFormat()
3042 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing() local
3044 delete numFmt; in TestCurrencyParsing()
3054 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
[all …]
Dplurfmts.h33 NumberFormat *numFmt,
Dtmsgfmt.cpp1485 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); in TestRBNF() local
1497 numFmt->parse(values[j], args[0], ec); in TestRBNF()
1520 delete numFmt; in TestRBNF()
/external/chromium/third_party/icu/source/test/intltest/
Dplurfmts.cpp61 NumberFormat *numFmt = NumberFormat::createInstance(status[0]); in pluralFormatBasicTest() local
80 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
81 numberFormatTest(plFmt[i], numFmt, 100, 112, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
117 delete numFmt; in pluralFormatBasicTest()
185 NumberFormat *numFmt = NumberFormat::createInstance(status); in pluralFormatUnitTest() local
202 numberFormatTest(&plFmt, numFmt, 1, 10, (UnicodeString *)&patternOddTestResult[i], in pluralFormatUnitTest()
206 delete numFmt; in pluralFormatUnitTest()
228 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest()
232 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest()
266 delete numFmt; in pluralFormatUnitTest()
[all …]
Dnumfmtst.cpp2912 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat() local
2914 delete numFmt; in TestCurrencyIsoPluralFormat()
2924 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
2926 delete numFmt; in TestCurrencyIsoPluralFormat()
2932 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
2954 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
2969 delete numFmt; in TestCurrencyIsoPluralFormat()
3020 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing() local
3022 delete numFmt; in TestCurrencyParsing()
3032 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
[all …]
Dplurfmts.h33 NumberFormat *numFmt,
Dtmsgfmt.cpp1276 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); in TestRBNF() local
1288 numFmt->parse(values[j], args[0], ec); in TestRBNF()
1311 delete numFmt; in TestRBNF()