/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 419 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calen… in TestBuddhistFormat() local 425 fmt2->format(aDate, str); in TestBuddhistFormat() 444 delete fmt2; in TestBuddhistFormat() 504 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calen… in TestJapaneseFormat() local 510 fmt2->format(aDate, str); in TestJapaneseFormat() 541 fmt2->format(aDate, str); in TestJapaneseFormat() 565 delete fmt2; in TestJapaneseFormat() 621 …SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("HH:mm:ss.S MMMM d, yyyy G"), Locale("… in TestJapanese3860() local 647 fmt2->format(aDate, str); in TestJapanese3860() 687 fmt2->format(aDate, str); in TestJapanese3860() [all …]
|
D | tchcfmt.cpp | 481 ChoiceFormat fmt2(PAT, status); in TestClosures() local 498 if (fmt1 != fmt2) { in TestClosures() 505 const double *limits2 = fmt2.getLimits(count2); in TestClosures() 506 const UBool *closures2 = fmt2.getClosures(count2); in TestClosures() 544 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
|
D | reldatefmttest.cpp | 587 RelativeDateTimeFormatter fmt2(fmt); in TestEnglishCaps() local 588 fmt3 = fmt2; in TestEnglishCaps() 691 RelativeDateTimeFormatter fmt2(fmt); in TestCustomNumberFormat() local 692 RunTest(fmt2, kEnglishDecimal, UPRV_LENGTHOF(kEnglishDecimal), "en decimal digits"); in TestCustomNumberFormat() 715 RelativeDateTimeFormatter fmt2(fmt); in TestGetters() local 716 fmt3 = fmt2; in TestGetters()
|
D | tzregts.cpp | 939 DateFormat* fmt2 = new SimpleDateFormat(UnicodeString("z"), status); in Test4176686() local 941 fmt2->setTimeZone(*z2); // Format uses DST zone in Test4176686() 970 "DateFormat.format(std)/dst zone", fmt2->format(std, k), "GMT+1:30", in Test4176686() 971 "DateFormat.format(dst)/dst zone", fmt2->format(dst, l), "GMT+2:15", in Test4176686() 982 delete fmt2; in Test4176686()
|
D | simpleformattertest.cpp | 305 SimpleFormatter fmt2("Arguments {0} and {1}", status); in TestBadArguments() local 308 fmt2.formatAndAppend(params, 2, appendTo, NULL, 0, status); in TestBadArguments()
|
D | tmsgfmt.cpp | 1414 MessageFormat* fmt2 = NULL; in _testCopyConstructor2() local 1423 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2() 1426 if (fmt2 == NULL) { in _testCopyConstructor2() 1432 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2() 1444 result = fmt2->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1450 delete fmt2; in _testCopyConstructor2()
|
D | numrgts.cpp | 1730 DecimalFormat *fmt2 = new DecimalFormat(buf, *symbols, status); in Test4122840() local 1739 fmt2->setRoundingIncrement(rounding); in Test4122840() 1740 fmt2->setMinimumFractionDigits(frac); in Test4122840() 1741 fmt2->setMaximumFractionDigits(frac); in Test4122840() 1749 fmt2->format(1.111, result2, pos); in Test4122840() 1756 delete fmt2; in Test4122840()
|
D | numfmtst.cpp | 1714 DecimalFormat fmt2(UnicodeString("0.###E+0"), US, status); in TestExponent() local 1718 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2511 DecimalFormat fmt2(pat, sym, ec); in TestAdoptDecimalFormatSymbols() local 2523 fmt2.setDecimalFormatSymbols(sym2); in TestAdoptDecimalFormatSymbols() 2526 fmt2.format(2350.75, str); in TestAdoptDecimalFormatSymbols() 2544 DecimalFormat fmt2("", sym, ec); in TestPerMill() local 2545 fmt2.applyLocalizedPattern("###.###m", ec); in TestPerMill() 2549 "485.7m", fmt2.format(0.4857, str)); in TestPerMill() 8394 DecimalFormat fmt2(pattern, sym, status); in TestToPatternScientific11648() local 8710 DecimalFormat fmt2(topattern, status); in Test11649_toPatternWithMultiCurrency() local [all …]
|
D | dtfmttst.cpp | 3612 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("y M d"), Locale("ar"), status); in Test6338() local 3617 str2 = fmt2->format(dt2, str2); in Test6338() 3620 UDate dt22 = fmt2->parse(str2, status); in Test6338() 3624 str22 = fmt2->format(dt22, str22); in Test6338() 3631 delete fmt2; in Test6338()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 178 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 190 String str = fmt2.format(aDate); in Test3860() 209 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 223 str = fmt2.format(aDate); in Test5345parse()
|
D | ChineseTest.java | 657 DateFormat fmt2 = DateFormat.getDateInstance(ccal2, DateFormat.DEFAULT, ULocale.CHINA); in TestCoverage() local 659 String str2 = fmt2.format(time2); in TestCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 179 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 191 String str = fmt2.format(aDate); in Test3860() 210 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 224 str = fmt2.format(aDate); in Test5345parse()
|
D | ChineseTest.java | 658 DateFormat fmt2 = DateFormat.getDateInstance(ccal2, DateFormat.DEFAULT, ULocale.CHINA); in TestCoverage() local 660 String str2 = fmt2.format(time2); in TestCoverage()
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | SPrintF.ll | 13 @fmt2 = constant [3 x i8] c"%c\00" ; <[3 x i8]*> [#uses=1] 26 %fmt2_p = getelementptr [3 x i8]* @fmt2, i32 0, i32 0 ; <i8*> [#uses=1]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdattst.c | 1660 UDateFormat* fmt2; in TestOverrideNumberFormat() local 1663 …fmt2 =udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US", zoneGMT, -1, pattern, u_strlen(pattern), &stat… in TestOverrideNumberFormat() 1673 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1682 udat_adoptNumberFormatForFields(fmt2, fields, singleOverrideFmt, &status); in TestOverrideNumberFormat() 1685 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1687 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1689 udat_close(fmt2); in TestOverrideNumberFormat() 1694 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1698 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status); in TestOverrideNumberFormat() 1705 udat_close(fmt2); in TestOverrideNumberFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 34 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 37 expect(fmt2, n, "1.234E+3"); in TestExponent() 40 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberFormatTest.java | 1448 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1451 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2139 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2140 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2142 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3847 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3853 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4378 DecimalFormat fmt2 = null; 4380 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4382 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
D | NumberRegressionTests.java | 1040 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1047 fmt2.setMaximumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1048 fmt2.setMinimumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1049 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1051 String result2 = fmt2.format(1.111); in Test4122840()
|
D | RbnfTest.java | 114 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local 121 if (!fmt0.equals(fmt2)) { in TestCoverage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 35 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 38 expect(fmt2, n, "1.234E+3"); in TestExponent() 41 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberFormatTest.java | 1449 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1452 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2140 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2141 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2143 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3848 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3854 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4379 DecimalFormat fmt2 = null; 4381 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4383 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
D | NumberRegressionTests.java | 1041 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1048 fmt2.setMaximumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1049 fmt2.setMinimumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1050 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1052 String result2 = fmt2.format(1.111); in Test4122840()
|
D | RbnfTest.java | 115 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local 122 if (!fmt0.equals(fmt2)) { in TestCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 861 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 862 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 890 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 891 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 862 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 863 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 891 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 892 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|