Home
last modified time | relevance | path

Searched refs:fmtr (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp414 DecimalFormat fmtr(pattern, symbols, status); in execFormatTest() local
421 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling); in execFormatTest()
423 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest()
425 fmtr.setRoundingMode(DecimalFormat::kRoundDown); in execFormatTest()
427 fmtr.setRoundingMode(DecimalFormat::kRoundUp); in execFormatTest()
429 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven); in execFormatTest()
431 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown); in execFormatTest()
433 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp); in execFormatTest()
437 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary); in execFormatTest()
439 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest()
[all …]
Dnumfmtst.cpp6888 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal() local
6889 if (U_FAILURE(status) || fmtr == NULL) { in TestDecimal()
6894 fmtr->format(num, formattedResult, NULL, status); in TestDecimal()
6898 delete fmtr; in TestDecimal()
6906 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal() local
6907 if (U_FAILURE(status) || fmtr == NULL) { in TestDecimal()
6915 fmtr->format(dl, formattedResult, NULL, status); in TestDecimal()
6925 fmtr->format(dl, formattedResult, pos, status); in TestDecimal()
6930 delete fmtr; in TestDecimal()
6937 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_PERCENT, status); in TestDecimal() local
[all …]