/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
ScientificNumberFormatterTest.java | 54 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 55 decfmt.applyPattern("0.00E+0"); 57 decfmt, "<sup>", "</sup>"); 67 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 68 decfmt.applyPattern("0.00E+0"); 70 decfmt); 78 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 80 decfmt, "<sup>", "</sup>"); 88 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 89 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance(decfmt); [all...] |
IntlTestDecimalFormatAPI.java | 279 DecimalFormat decfmt = new DecimalFormat(); local 283 decfmt.format(123, buf, fposByInt); 287 decfmt.format(123, buf, fposByField); 298 DecimalFormat decfmt = new DecimalFormat(); local 302 resultICU = decfmt.getMathContextICU(); 313 decfmt.setMathContextICU(comp2); 314 resultICU = decfmt.getMathContextICU(); 327 decfmt.setMathContext(comp3); 328 result = decfmt.getMathContext();
|
NumberFormatTest.java | 3179 private final DecimalFormat decfmt; field in class:NumberFormatTest.ParseThreadJB5358 [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
ScientificNumberFormatterTest.java | 50 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 51 decfmt.applyPattern("0.00E+0"); 53 decfmt, "<sup>", "</sup>"); 63 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 64 decfmt.applyPattern("0.00E+0"); 66 decfmt); 74 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 76 decfmt, "<sup>", "</sup>"); 84 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 85 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance(decfmt); [all...] |
IntlTestDecimalFormatAPI.java | 275 DecimalFormat decfmt = new DecimalFormat(); local 279 decfmt.format(123, buf, fposByInt); 283 decfmt.format(123, buf, fposByField); 294 DecimalFormat decfmt = new DecimalFormat(); local 298 resultICU = decfmt.getMathContextICU(); 309 decfmt.setMathContextICU(comp2); 310 resultICU = decfmt.getMathContextICU(); 323 decfmt.setMathContext(comp3); 324 result = decfmt.getMathContext();
|
NumberFormatTest.java | 3175 private final DecimalFormat decfmt; field in class:NumberFormatTest.ParseThreadJB5358 [all...] |
/external/icu/icu4c/source/test/intltest/ |
scientificnumberformattertest.cpp | 118 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", status)); 123 decfmt->applyPattern("0.00E+0", status); 130 new DecimalFormat(*decfmt), "<sup>", "</sup>", status)); 145 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", status)); 150 decfmt->applyPattern("0.00E+0", status); 157 new DecimalFormat(*decfmt), status)); 172 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); 178 new DecimalFormat(*decfmt), "<sup>", "</sup>", status)); 194 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); 200 new DecimalFormat(*decfmt), status)) [all...] |
numfmtst.cpp | [all...] |
/external/icu/icu4c/source/i18n/ |
measfmt.cpp | 501 DecimalFormat *decfmt = dynamic_cast<DecimalFormat *>(inf); local 502 if (decfmt != NULL) { 503 decfmt->setRoundingMode(DecimalFormat::kRoundDown); [all...] |
compactdecimalformat.cpp | 180 LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECIMAL, TRUE, status)); 193 new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias());
|
smpdtfmt.cpp | 249 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(&nf); local 250 if (decfmt != NULL) { 251 decfmt->setDecimalSeparatorAlwaysShown(FALSE); 3678 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local [all...] |
msgfmt.cpp | 1704 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local [all...] |