Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp394 DecimalFormat fmtr(pattern, symbols, status); in execFormatTest() local
401 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling); in execFormatTest()
403 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest()
405 fmtr.setRoundingMode(DecimalFormat::kRoundDown); in execFormatTest()
407 fmtr.setRoundingMode(DecimalFormat::kRoundUp); in execFormatTest()
409 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven); in execFormatTest()
411 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown); in execFormatTest()
413 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp); in execFormatTest()
417 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary); in execFormatTest()
419 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest()
[all …]
Dnumfmtst.cpp6703 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal() local
6704 if (U_FAILURE(status) || fmtr == NULL) { in TestDecimal()
6709 fmtr->format(num, formattedResult, NULL, status); in TestDecimal()
6713 delete fmtr; in TestDecimal()
6721 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal() local
6722 if (U_FAILURE(status) || fmtr == NULL) { in TestDecimal()
6730 fmtr->format(dl, formattedResult, NULL, status); in TestDecimal()
6740 fmtr->format(dl, formattedResult, pos, status); in TestDecimal()
6745 delete fmtr; in TestDecimal()
6752 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_PERCENT, status); in TestDecimal() local
[all …]