Lines Matching refs:DecimalFormat

114     DecimalFormat def(status);  in testAPI()
122 DecimalFormat noGrouping("###0.##", status); in testAPI()
131 DecimalFormat df("0", {"en", status}, status); in testAPI()
143 DecimalFormat df("#,##0", {"en", status}, status); in testAPI()
158 DecimalFormat pat(pattern, status); in testAPI()
172 DecimalFormat cust1(pattern, symbols, status); in testAPI()
178 DecimalFormat cust2(pattern, *symbols, status); in testAPI()
183 DecimalFormat copy(pat); in testAPI()
377 pat = DecimalFormat(status); // reset in testAPI()
435 NumberFormat *test = new DecimalFormat(status); in testAPI()
440 if(test->getDynamicClassID() != DecimalFormat::getStaticClassID()) { in testAPI()
476 DecimalFormat *df = new DecimalFormat(status); in TestCurrencyPluralInfo()
505 DecimalFormat pat(status); in testRounding()
515 pat.setRoundingMode((DecimalFormat::ERoundingMode)mode); in testRounding()
516 if(pat.getRoundingMode() != (DecimalFormat::ERoundingMode)mode){ in testRounding()
557 DecimalFormat pat(UnicodeString("#,##0.00"),status); in testRoundingInc()
576 pat.setRoundingMode((DecimalFormat::ERoundingMode)0); in testRoundingInc()
603 DecimalFormat pat(status); in TestScale()
645 LocalPointer<DecimalFormat> df(new DecimalFormat("###", status), status); in TestFixedDecimal()
663 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.00##", status), status); in TestFixedDecimal()
754 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###", status), status); in TestFixedDecimal()
765 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.0", status), status); in TestFixedDecimal()
776 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.0", status), status); in TestFixedDecimal()
787 …df.adoptInsteadAndCheckErrorCode(new DecimalFormat("@@@@@", status), status); // Significant Digi… in TestFixedDecimal()
798 …df.adoptInsteadAndCheckErrorCode(new DecimalFormat("@@@@@", status), status); // Significant Digi… in TestFixedDecimal()
822 new DecimalFormat("#####################0.00####################", status), status); in TestFixedDecimal()
967 LocalPointer<DecimalFormat> df(new DecimalFormat("###", status), status); in TestBadFastpath()
992 LocalPointer<DecimalFormat> df(new DecimalFormat(pat1, status), status); in TestRequiredDecimalPoint()
1048 DecimalFormat df(status); in testErrorCode()
1053 DecimalFormat df(pattern, status); in testErrorCode()
1058 DecimalFormat df(pattern, new DecimalFormatSymbols(symbols), status); in testErrorCode()
1063DecimalFormat df(pattern, new DecimalFormatSymbols(symbols), UNUM_DECIMAL_COMPACT_LONG, status); in testErrorCode()
1068 DecimalFormat df(pattern, new DecimalFormatSymbols(symbols), pe, status); in testErrorCode()
1073 DecimalFormat df(pattern, symbols ,status); in testErrorCode()
1081 DecimalFormat dfBogus(status); in testErrorCode()
1085 DecimalFormat dfGood(pattern, new DecimalFormatSymbols(symbols), status); in testErrorCode()
1088 for (DecimalFormat *df: {&dfBogus, &dfGood}) { in testErrorCode()