/external/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 475 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures() local 488 fmt1.toPattern(str); in TestClosures() 497 if (fmt1 != fmt2) { in TestClosures() 543 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
|
D | tzregts.cpp | 933 DateFormat* fmt1 = new SimpleDateFormat(UnicodeString("z"), status); in Test4176686() local 938 fmt1->setTimeZone(*z1); // Format uses standard zone in Test4176686() 968 "DateFormat.format(std)/std zone", fmt1->format(std, i), "GMT+1:30", in Test4176686() 969 "DateFormat.format(dst)/std zone", fmt1->format(dst, j), "GMT+1:30", in Test4176686() 981 delete fmt1; in Test4176686()
|
D | tmsgfmt.cpp | 1411 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2() local 1416 if (fmt1 == NULL) { in _testCopyConstructor2() 1421 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2() 1422 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1429 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2() 1441 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1447 delete fmt1; in _testCopyConstructor2()
|
D | dtfmttst.cpp | 3406 SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("ar"), status); in Test6338() local 3411 str1 = fmt1->format(dt1, str1); in Test6338() 3414 UDate dt11 = fmt1->parse(str1, status); in Test6338() 3418 str11 = fmt1->format(dt11, str11); in Test6338() 3425 delete fmt1; in Test6338() 3718 …SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("GGG yyyy-MM-dd'T'HH:mm:ss'Z"), status… in TestISOEra() local 3721 if (fmt1 != NULL) { in TestISOEra() 3722 delete fmt1; in TestISOEra() 3731 UDate dt1 = fmt1->parse(in, status); in TestISOEra() 3736 out = fmt1->format(dt1, out); in TestISOEra() [all …]
|
D | numrgts.cpp | 1678 DecimalFormat *fmt1 = new DecimalFormat(pattern, *symbols, status); in Test4122840() local 1683 result1 = fmt1->format(1.111, result1, pos); in Test4122840() 1718 const UChar *currency = fmt1->getCurrency(); in Test4122840() 1744 delete fmt1; in Test4122840()
|
D | numfmtst.cpp | 1263 DecimalFormat fmt1(UnicodeString("0.###E0"), US, status); in TestExponent() local 1268 expect2(fmt1, n, "1.234E3"); in TestExponent() 1270 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | tchcfmt.cpp | 475 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures() local 488 fmt1.toPattern(str); in TestClosures() 497 if (fmt1 != fmt2) { in TestClosures() 543 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
|
D | tzregts.cpp | 933 DateFormat* fmt1 = new SimpleDateFormat(UnicodeString("z"), status); in Test4176686() local 938 fmt1->setTimeZone(*z1); // Format uses standard zone in Test4176686() 968 "DateFormat.format(std)/std zone", fmt1->format(std, i), "GMT+1:30", in Test4176686() 969 "DateFormat.format(dst)/std zone", fmt1->format(dst, j), "GMT+1:30", in Test4176686() 981 delete fmt1; in Test4176686()
|
D | tmsgfmt.cpp | 1411 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2() local 1416 if (fmt1 == NULL) { in _testCopyConstructor2() 1421 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2() 1422 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1429 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2() 1441 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1447 delete fmt1; in _testCopyConstructor2()
|
D | dtfmttst.cpp | 3403 SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("ar"), status); in Test6338() local 3408 str1 = fmt1->format(dt1, str1); in Test6338() 3411 UDate dt11 = fmt1->parse(str1, status); in Test6338() 3415 str11 = fmt1->format(dt11, str11); in Test6338() 3422 delete fmt1; in Test6338() 3715 …SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("GGG yyyy-MM-dd'T'HH:mm:ss'Z"), status… in TestISOEra() local 3718 if (fmt1 != NULL) { in TestISOEra() 3719 delete fmt1; in TestISOEra() 3728 UDate dt1 = fmt1->parse(in, status); in TestISOEra() 3733 out = fmt1->format(dt1, out); in TestISOEra() [all …]
|
D | numrgts.cpp | 1678 DecimalFormat *fmt1 = new DecimalFormat(pattern, *symbols, status); in Test4122840() local 1683 result1 = fmt1->format(1.111, result1, pos); in Test4122840() 1718 const UChar *currency = fmt1->getCurrency(); in Test4122840() 1744 delete fmt1; in Test4122840()
|
D | numfmtst.cpp | 1259 DecimalFormat fmt1(UnicodeString("0.###E0"), US, status); in TestExponent() local 1264 expect2(fmt1, n, "1.234E3"); in TestExponent() 1266 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
|