Home
last modified time | relevance | path

Searched refs:fmt1 (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp475 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()
Dtzregts.cpp933 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()
Dtmsgfmt.cpp1411 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()
Ddtfmttst.cpp3406 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 …]
Dnumrgts.cpp1678 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()
Dnumfmtst.cpp1263 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/
Dtchcfmt.cpp463 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures() local
476 fmt1.toPattern(str); in TestClosures()
485 if (fmt1 != fmt2) { in TestClosures()
529 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
Dtmsgfmt.cpp1373 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2() local
1374 MessageFormat* fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1378 if (fmt1 == NULL) it_err("testCopyConstructor2: (fmt1 != NULL)"); in _testCopyConstructor2()
1380 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1384 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2()
1390 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1394 delete fmt1; in _testCopyConstructor2()
Dtzregts.cpp929 DateFormat* fmt1 = new SimpleDateFormat(UnicodeString("z"), status); in Test4176686() local
934 fmt1->setTimeZone(*z1); // Format uses standard zone in Test4176686()
964 "DateFormat.format(std)/std zone", fmt1->format(std, i), "GMT+01:30", in Test4176686()
965 "DateFormat.format(dst)/std zone", fmt1->format(dst, j), "GMT+01:30", in Test4176686()
977 delete fmt1; in Test4176686()
Ddtfmttst.cpp3124 SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("ar"), status); in Test6338() local
3129 str1 = fmt1->format(dt1, str1); in Test6338()
3132 UDate dt11 = fmt1->parse(str1, status); in Test6338()
3136 str11 = fmt1->format(dt11, str11); in Test6338()
3143 delete fmt1; in Test6338()
3366 …SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("GGG yyyy-MM-dd'T'HH:mm:ss'Z"), status… in TestISOEra() local
3374 UDate dt1 = fmt1->parse(in, status); in TestISOEra()
3379 out = fmt1->format(dt1, out); in TestISOEra()
3389 delete fmt1; in TestISOEra()
Dnumfmtst.cpp989 DecimalFormat fmt1(UnicodeString("0.###E0"), US, status); in TestExponent() local
994 expect2(fmt1, n, "1.234E3"); in TestExponent()
996 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
2681 NumberFormat* fmt1= NumberFormat::createInstance(loc1, ec); in TestNumberingSystems() local
2707 if (U_SUCCESS(ec) && fmt1 != NULL && fmt2 != NULL && fmt3 != NULL && in TestNumberingSystems()
2709 …expect2(*fmt1, 1234.567, CharsToUnicodeString("\\u0E51,\\u0E52\\u0E53\\u0E54.\\u0E55\\u0E56\\u0E57… in TestNumberingSystems()
2743 delete fmt1; in TestNumberingSystems()
Dnumrgts.cpp1672 DecimalFormat *fmt1 = new DecimalFormat(pattern, *symbols, status); in Test4122840() local
1677 result1 = fmt1->format(1.111, result1, pos); in Test4122840()
1712 const UChar *currency = fmt1->getCurrency(); in Test4122840()
1738 delete fmt1; in Test4122840()