Searched refs:fmtr (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 414 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 …]
|
D | numfmtst.cpp | 6888 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 …]
|