/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();
|
RbnfLenientScannerTest.java | 217 NumberFormat decFmt = NumberFormat.getInstance(Locale.US); 223 String actualNumber = decFmt.format(formatter.parse(words));
|
RbnfTest.java | [all...] |
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();
|
RbnfTest.java | [all...] |
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...] |
itrbnf.cpp | [all...] |
numfmtst.cpp | [all...] |
/external/icu/icu4c/source/i18n/ |
quantityformatter.cpp | 151 const DecimalFormat *decFmt = dynamic_cast<const DecimalFormat *>(&fmt); 152 if (decFmt != NULL) { 153 decFmt->initVisibleDigitsWithExponent(number, digits, status); 158 decFmt->format(digits, formattedNumber, pos, status);
|
plurfmt.cpp | 271 DecimalFormat *decFmt = dynamic_cast<DecimalFormat *>(numberFormat); 272 if(decFmt != NULL) { 273 decFmt->initVisibleDigitsWithExponent( 278 decFmt->format(dec, numberString, ignorePos, status); 284 DecimalFormat *decFmt = dynamic_cast<DecimalFormat *>(numberFormat); 285 if(decFmt != NULL) { 286 decFmt->initVisibleDigitsWithExponent( 291 decFmt->format(dec, numberString, ignorePos, status);
|
msgfmt.cpp | 1704 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local [all...] |
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...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
RbnfLenientScannerTest.java | 213 NumberFormat decFmt = NumberFormat.getInstance(Locale.US); 219 String actualNumber = decFmt.format(formatter.parse(words));
|
/external/elfutils/src/ |
nm.c | 1009 #define DECFMT "%6$s%2$*1$" PRId64 "%8$s %10$*9$" PRId64 " %7$s%3$c%4$s %5$s" 1012 : (radix == radix_decimal ? DECFMT : OCTFMT)), 1021 #undef DECFMT 1027 #define DECFMT "%6$s%2$*1$" PRId64 "%8$s %7$s%3$c%4$s %5$s" 1030 : (radix == radix_decimal ? DECFMT : OCTFMT)), 1038 #undef DECFMT [all...] |