Lines Matching refs:MessageFormat
188 LocalPointer<MessageFormat> fmt(new MessageFormat(pattern, status)); in testBug2()
302 LocalPointer<MessageFormat> form; in PatternTest()
305 form.adoptInstead(new MessageFormat(testCases[i], Locale::getUS(), success)); in PatternTest()
375 MessageFormat *form = 0; in sample()
378 form = new MessageFormat("There are {0} files on {1}", success); in sample()
405 result = MessageFormat::format( in testStaticFormat()
441 result = MessageFormat::format( in TestTurkishCasing()
473 MessageFormat* form = new MessageFormat( in testSimpleFormat()
507 MessageFormat* form = new MessageFormat("The disk \"{1}\" contains {0}.", err); in testMsgFormatChoice()
553 MessageFormat* mfNum = new MessageFormat(t1, Locale("fr"), err); in testMsgFormatPlural()
564 MessageFormat* mfAlpha = new MessageFormat(t2, Locale("fr"), err); in testMsgFormatPlural()
587 MessageFormat* mfNum2 = new MessageFormat(t3, Locale("uk"), err); in testMsgFormatPlural()
591 MessageFormat* mfAlpha2 = new MessageFormat(t4, Locale("uk"), err); in testMsgFormatPlural()
615 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural()
637 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect()
652 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat()
673 MessageFormat* TestMessageFormat::internalCreate( in internalCreate()
677 LocalPointer<MessageFormat> msgFmt(new MessageFormat(pattern, locale, status)); in internalCreate()
696 …MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
718 …MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
740 …MessageFormat* msgFmt3 = internalCreate(t3, Locale("en"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
763 …MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
785 …MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
810 LocalPointer<MessageFormat> msgFmt6( in testMsgFormatSelect()
862 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testCopyConstructor()
863 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testCopyConstructor()
864 MessageFormat *y = 0; in testCopyConstructor()
865 y = new MessageFormat(*x); in testCopyConstructor()
892 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testAssignment()
893 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
894 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
921 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testClone()
922 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testClone()
923 MessageFormat *y = 0; in testClone()
950 MessageFormat x("There are {0} files on {1}", success); in testEquals()
951 MessageFormat y("There are {0} files on {1}", success); in testEquals()
962 MessageFormat x("There are {0} files on {1}", success); in testNotEquals()
963 MessageFormat y(x); in testNotEquals()
1006 MessageFormat msg( formatStr, err); in testSetLocale()
1081 MessageFormat msg( formatStr, err); in testFormat()
1124 MessageFormat msg( msgFormatString, err); in testParse()
1202 MessageFormat msg( formatStr, err); in testAdopt()
1203 MessageFormat msgCmp( formatStr, err); in testAdopt()
1418 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2()
1419 MessageFormat* fmt2 = NULL; in _testCopyConstructor2()
1420 MessageFormat* fmt3 = NULL; in _testCopyConstructor2()
1421 MessageFormat* fmt4 = NULL; in _testCopyConstructor2()
1428 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1477 MessageFormat msg(pattern, ec); in TestUnlimitedArgsAndSubformats()
1551 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); in TestRBNF()
1639 MessageFormat compMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1645 MessageFormat icuMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1715 UnicodeString result = MessageFormat::autoQuoteApostrophe(patterns[i], status); in testAutoQuoteApostrophe()
1734 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage()
1778 msgfmt = new MessageFormat("'", status); in testCoverage()
1805 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames()
1851 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1873 MessageFormat m( in TestSelectOrdinal()
1904 MessageFormat m( in TestDecimals()
1919 MessageFormat m0( in TestDecimals()
1933 MessageFormat m1( in TestDecimals()
1952 MessageFormat m2( in TestDecimals()
1975 MessageFormat mf1("{0,select,a{A}ab{AB}abc{ABC}other{?}}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1987 MessageFormat mf2("{a} {aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1995 MessageFormat mf3("{aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
2022 MessageFormat msgf(cas.messagePattern, cas.localeName, status); in TestMessageFormatNumberSkeleton()
2038 MessageFormat msgf(messagePattern, localeName, status); in doTheRealDateTimeSkeletonTesting()