/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>"); 68 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 69 decfmt.applyPattern("0.00E+0"); 71 decfmt); 80 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 82 decfmt, "<sup>", "</sup>"); 91 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 92 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); 299 DecimalFormat decfmt = new DecimalFormat(); local 303 resultICU = decfmt.getMathContextICU(); 314 decfmt.setMathContextICU(comp2); 315 resultICU = decfmt.getMathContextICU(); 328 decfmt.setMathContext(comp3); 329 result = decfmt.getMathContext();
|
NumberFormatTest.java | 1252 DecimalFormat decfmt = (DecimalFormat)NumberFormat.getInstance(new ULocale("en_US"), NumberFormat.NUMBERSTYLE); local 3252 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 | 53 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 54 decfmt.applyPattern("0.00E+0"); 56 decfmt, "<sup>", "</sup>"); 67 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); local 68 decfmt.applyPattern("0.00E+0"); 70 decfmt); 79 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 81 decfmt, "<sup>", "</sup>"); 90 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); local 91 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance(decfmt); [all...] |
IntlTestDecimalFormatAPI.java | 278 DecimalFormat decfmt = new DecimalFormat(); local 282 decfmt.format(123, buf, fposByInt); 286 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 | 1251 DecimalFormat decfmt = (DecimalFormat)NumberFormat.getInstance(new ULocale("en_US"), NumberFormat.NUMBERSTYLE); local 3251 private final DecimalFormat decfmt; field in class:NumberFormatTest.ParseThreadJB5358 [all...] |
/external/icu/icu4c/source/test/intltest/ |
scientificnumberformattertest.cpp | 120 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", status)); 125 decfmt->applyPattern("0.00E+0", status); 132 new DecimalFormat(*decfmt), "<sup>", "</sup>", status)); 147 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", status)); 152 decfmt->applyPattern("0.00E+0", status); 159 new DecimalFormat(*decfmt), status)); 174 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); 180 new DecimalFormat(*decfmt), "<sup>", "</sup>", status)); 196 LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); 202 new DecimalFormat(*decfmt), status)) [all...] |
numfmtst.cpp | [all...] |
/external/icu/icu4c/source/i18n/ |
measfmt.cpp | 533 DecimalFormat *decfmt = dynamic_cast<DecimalFormat *>(inf); local 534 if (decfmt != NULL) { 535 decfmt->setRoundingMode(DecimalFormat::kRoundDown); [all...] |
compactdecimalformat.cpp | 188 LocalPointer<DecimalFormat> decfmt((DecimalFormat*) NumberFormat::makeInstance(inLocale, UNUM_DECIMAL, TRUE, status)); 201 new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias());
|
smpdtfmt.cpp | 253 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(&nf); local 254 if (decfmt != NULL) { 255 decfmt->setDecimalSeparatorAlwaysShown(FALSE); 3986 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local [all...] |
msgfmt.cpp | 1706 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local [all...] |