/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | DecimalFormatTest.java | 25 import java.text.DecimalFormat; 43 …AttributedCharacterIterator iterator = new DecimalFormat().formatToCharacterIterator(new Integer(1… in testAttributedCharacterIterator() 55 DecimalFormat form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_isParseBigDecimalLjava_lang_Boolean_isParseIntegerOnlyLjava_lang_Boolean() 69 DecimalFormat form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 76 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 91 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 110 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 119 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 127 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() 146 form = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_parseLjava_lang_String_Ljava_text_ParsePosition() [all …]
|
D | NumberFormatTest.java | 21 import java.text.DecimalFormat; 38 DecimalFormat format = (DecimalFormat) NumberFormat in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 125 DecimalFormat format = (DecimalFormat) NumberFormat in test_getIntegerInstance() 153 DecimalFormat format = (DecimalFormat) NumberFormat in test_getIntegerInstanceLjava_util_Locale() 174 format = (DecimalFormat) NumberFormat.getIntegerInstance(arLocale); in test_getIntegerInstanceLjava_util_Locale()
|
D | Support_DecimalFormat.java | 20 import java.text.DecimalFormat; 43 DecimalFormat format = (DecimalFormat) NumberFormat in t_format_with_FieldPosition() 74 format = new DecimalFormat("000000000.0#E0"); in t_format_with_FieldPosition() 103 format = (DecimalFormat) NumberFormat.getCurrencyInstance(new Locale( in t_format_with_FieldPosition() 152 DecimalFormat format = new DecimalFormat("###0.##\u2030"); in t_formatToCharacterIterator() 156 format = new DecimalFormat("00.0#E0"); in t_formatToCharacterIterator() 160 format = new DecimalFormat("0000.0#E0"); in t_formatToCharacterIterator()
|
D | DecimalFormatSymbolsTest.java | 26 import java.text.DecimalFormat; 416 DecimalFormatSymbols dfs = ((DecimalFormat) NumberFormat in test_setCurrencyLjava_util_Currency() 499 DecimalFormatSymbols dfs = ((DecimalFormat) NumberFormat in test_setInternationalCurrencySymbolLjava_lang_String()
|
/external/icu4c/test/intltest/ |
D | numfmtst.cpp | 230 DecimalFormat fmt(pat[i], sym, status); in TestPatterns() 365 DecimalFormat fmt(pat[p], sym, status); in TestExponential() 456 DecimalFormat* fmt = (DecimalFormat*)NumberFormat::createCurrencyInstance("en_US", status); in TestScientific2() 472 DecimalFormat fmt("##0.00E0",status); in TestScientificGrouping() 507 DecimalFormat fmt("#.#E0",status); in TestInt64() 599 DecimalFormat *fmt = new DecimalFormat(*pat, *sym, status); in TestQuotes() 612 fmt = new DecimalFormat(*pat, *sym, status); in TestQuotes() 641 DecimalFormat *fmt = new DecimalFormat(pat, *sym, status); in TestCurrencySign() 658 fmt = new DecimalFormat(pat, *sym, status); in TestCurrencySign() 845 DecimalFormat* format = new DecimalFormat("00", status); in TestParse() [all …]
|
D | numrgts.cpp | 286 DecimalFormat *df = new DecimalFormat(status); in Test4088161() 322 DecimalFormat *df = new DecimalFormat("#,##0.0", *symbols, status); in Test4087245() 346 DecimalFormat *df = new DecimalFormat(status); in Test4087535() 371 DecimalFormat *df = new DecimalFormat(status); in Test4088503() 432 DecimalFormat *format = new DecimalFormat("00", status); in Test4059870() 512 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() 582 DecimalFormat *df = new DecimalFormat(status); in Test4068693() 638 DecimalFormat *df = new DecimalFormat(status); in Test4087251() 704 DecimalFormat *df = new DecimalFormat(status); in Test4090504() 733 DecimalFormat *df = new DecimalFormat(status); in Test4095713() [all …]
|
D | numfmtst.h | 214 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 217 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() 222 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 225 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() 230 void expectPat(DecimalFormat& fmt, const UnicodeString& exp); 232 void expectPat(DecimalFormat& fmt, const char *exp) { in expectPat() 236 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 239 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() 258 void checkRounding(DecimalFormat* df, double base, int iterations, double increment); 260 double checkRound(DecimalFormat* df, double iValue, double lastParsed);
|
D | dcfmapts.cpp | 73 DecimalFormat def(status); in testAPI() 81 DecimalFormat pat(pattern, status); in testAPI() 95 DecimalFormat cust1(pattern, symbols, status); in testAPI() 101 DecimalFormat cust2(pattern, *symbols, status); in testAPI() 106 DecimalFormat copy(pat); in testAPI() 363 NumberFormat *test = new DecimalFormat(status); in testAPI() 368 if(test->getDynamicClassID() != DecimalFormat::getStaticClassID()) { in testAPI() 404 DecimalFormat *df = new DecimalFormat(status); in TestCurrencyPluralInfo() 432 DecimalFormat pat(status); in testRounding() 442 pat.setRoundingMode((DecimalFormat::ERoundingMode)mode); in testRounding() [all …]
|
D | dcfmtest.cpp | 321 DecimalFormat format(pattern, symbols, status); in execParseTest() 388 DecimalFormat fmtr(pattern, symbols, status); in execFormatTest() 395 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling); in execFormatTest() 397 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest() 399 fmtr.setRoundingMode(DecimalFormat::kRoundDown); in execFormatTest() 401 fmtr.setRoundingMode(DecimalFormat::kRoundUp); in execFormatTest() 403 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven); in execFormatTest() 405 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown); in execFormatTest() 407 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp); in execFormatTest() 411 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary); in execFormatTest() [all …]
|
D | nmfmtrt.cpp | 185 DecimalFormat *df = dynamic_cast<DecimalFormat *>(fmt); in test() 233 DecimalFormat *df = dynamic_cast<DecimalFormat *>(fmt); in test()
|
D | pptest.cpp | 185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf); in TestFieldPosition_example()
|
/external/icu4c/i18n/ |
D | decimfmt.cpp | 213 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DecimalFormat) 239 const int32_t DecimalFormat::kDoubleIntegerDigits = 309; 240 const int32_t DecimalFormat::kDoubleFractionDigits = 340; 242 const int32_t DecimalFormat::kMaxScientificIntegerDigits = 8; 248 const char DecimalFormat::fgNumberPatterns[]="NumberPatterns"; // Deprecated - not used 262 DecimalFormat::DecimalFormat(UErrorCode& status) { in DecimalFormat() function in DecimalFormat 272 DecimalFormat::DecimalFormat(const UnicodeString& pattern, in DecimalFormat() function in DecimalFormat 284 DecimalFormat::DecimalFormat(const UnicodeString& pattern, in DecimalFormat() function in DecimalFormat 294 DecimalFormat::DecimalFormat( const UnicodeString& pattern, in DecimalFormat() function in DecimalFormat 309 DecimalFormat::DecimalFormat(const UnicodeString& pattern, in DecimalFormat() function in DecimalFormat [all …]
|
D | unum.cpp | 76 retVal = new DecimalFormat(pat, syms, *parseErr, *status); in unum_open() 139 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 473 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() 494 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() 506 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() 520 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setDoubleAttribute() 544 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getTextAttribute() 607 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setTextAttribute() 667 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_toPattern() 696 const DecimalFormat *dcf = dynamic_cast<const DecimalFormat *>(nf); in unum_getSymbol() [all …]
|
D | digitlst.cpp | 257 DigitList::setRoundingMode(DecimalFormat::ERoundingMode m) { in setRoundingMode() 261 case DecimalFormat::kRoundCeiling: r = DEC_ROUND_CEILING; break; in setRoundingMode() 262 case DecimalFormat::kRoundFloor: r = DEC_ROUND_FLOOR; break; in setRoundingMode() 263 case DecimalFormat::kRoundDown: r = DEC_ROUND_DOWN; break; in setRoundingMode() 264 case DecimalFormat::kRoundUp: r = DEC_ROUND_UP; break; in setRoundingMode() 265 case DecimalFormat::kRoundHalfEven: r = DEC_ROUND_HALF_EVEN; break; in setRoundingMode() 266 case DecimalFormat::kRoundHalfDown: r = DEC_ROUND_HALF_DOWN; break; in setRoundingMode() 267 case DecimalFormat::kRoundHalfUp: r = DEC_ROUND_HALF_UP; break; in setRoundingMode() 268 case DecimalFormat::kRoundUnnecessary: r = DEC_ROUND_HALF_EVEN; break; in setRoundingMode()
|
D | nfsubs.h | 35 const DecimalFormat* numberFormat; 54 const DecimalFormat* getNumberFormat() const { return numberFormat; } in getNumberFormat()
|
/external/icu4c/i18n/unicode/ |
D | decimfmt.h | 660 class U_I18N_API DecimalFormat: public NumberFormat { 708 DecimalFormat(UErrorCode& status); 724 DecimalFormat(const UnicodeString& pattern, 745 DecimalFormat( const UnicodeString& pattern, 762 DecimalFormat( const UnicodeString& pattern, 778 virtual DecimalFormat& setAttribute( UNumberFormatAttribute attr, 822 DecimalFormat( const UnicodeString& pattern, 843 DecimalFormat( const UnicodeString& pattern, 853 DecimalFormat(const DecimalFormat& source); 861 DecimalFormat& operator=(const DecimalFormat& rhs); [all …]
|
/external/emma/core/java12/com/vladium/emma/report/ |
D | IItemAttribute.java | 11 import java.text.DecimalFormat; 204 m_format = (DecimalFormat) NumberFormat.getPercentInstance (); // TODO: locale in FractionAttribute() 205 m_fieldPosition = new FieldPosition (DecimalFormat.INTEGER_FIELD); in FractionAttribute() 212 m_nFormat = (DecimalFormat) NumberFormat.getInstance (); // TODO: locale in FractionAttribute() 223 private final DecimalFormat m_format, m_nFormat;
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | FuncFormatNumb.java | 60 java.text.DecimalFormat formatter = null; in execute() 93 formatter = new java.text.DecimalFormat(); in execute() 109 formatter = new java.text.DecimalFormat(); in execute() 121 formatter = new java.text.DecimalFormat(); in execute()
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | MapModel3D.java | 8 import java.text.DecimalFormat; 343 DecimalFormat form = new DecimalFormat("#.####"); in findLat() 377 DecimalFormat form = new DecimalFormat("#.#####"); in findLat()
|
D | MapModel2D.java | 3 import java.text.DecimalFormat; 324 DecimalFormat form = new DecimalFormat("#.####"); in findLat() 356 DecimalFormat form = new DecimalFormat("#.#####"); in findLat()
|
D | Coordinate.java | 7 import java.text.DecimalFormat; 72 DecimalFormat form = new DecimalFormat("#.#######"); in Coordinate()
|
/external/smack/src/org/xbill/DNS/ |
D | FormattedTime.java | 19 w2 = new DecimalFormat(); 22 w4 = new DecimalFormat();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | Utils.java | 20 import java.text.DecimalFormat; 46 static final DecimalFormat DEVIATION_FORMAT = (DecimalFormat) NumberFormat.getPercentInstance(); 53 static final DecimalFormat STDERR_FORMAT = (DecimalFormat) NumberFormat.getNumberInstance();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ISO8601Converter.java | 12 import java.text.DecimalFormat; 314 DecimalFormat df = new DecimalFormat("0000", new DecimalFormatSymbols(Locale.ENGLISH)); in render()
|
/external/icu4c/samples/numfmt/ |
D | main.cpp | 116 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); in setNumberFormatCurrency_2_4()
|