Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/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()
136 delete numFmt; in pluralFormatBasicTest()
218 NumberFormat *numFmt = NumberFormat::createInstance(status); in pluralFormatUnitTest() local
235 numberFormatTest(&plFmt, numFmt, 1, 10, (UnicodeString *)&patternOddTestResult[i], in pluralFormatUnitTest()
239 delete numFmt; in pluralFormatUnitTest()
261 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest()
265 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest()
[all …]
Dplurfmts.h33 NumberFormat *numFmt,
Dnumfmtst.cpp2976 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat() local
2978 delete numFmt; in TestCurrencyIsoPluralFormat()
2984 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
2986 delete numFmt; in TestCurrencyIsoPluralFormat()
2992 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3014 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3029 delete numFmt; in TestCurrencyIsoPluralFormat()
3080 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing() local
3082 delete numFmt; in TestCurrencyParsing()
3092 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
[all …]
Dtmsgfmt.cpp1484 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); in TestRBNF() local
1496 numFmt->parse(values[j], args[0], ec); in TestRBNF()
1519 delete numFmt; in TestRBNF()
/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp64 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 …]
Dplurfmts.h37 NumberFormat *numFmt,
Dnumfmtst.cpp3413 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat() local
3415 delete numFmt; in TestCurrencyIsoPluralFormat()
3421 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat()
3423 delete numFmt; in TestCurrencyIsoPluralFormat()
3429 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3448 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3463 delete numFmt; in TestCurrencyIsoPluralFormat()
3521 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing() local
3527 delete numFmt; in TestCurrencyParsing()
3533 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing()
[all …]
Dtmsgfmt.cpp1537 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); in TestRBNF() local
1549 numFmt->parse(values[j], args[0], ec); in TestRBNF()
1572 delete numFmt; in TestRBNF()