Lines Matching refs:MessageFormat
184 MessageFormat *fmt = new MessageFormat(pattern, status); in testBug2()
299 MessageFormat *form = 0; in PatternTest()
302 form = new MessageFormat(testCases[i], Locale::getUS(), success); in PatternTest()
373 MessageFormat *form = 0; in sample()
376 form = new MessageFormat("There are {0} files on {1}", success); in sample()
403 result = MessageFormat::format( in testStaticFormat()
439 result = MessageFormat::format( in TestTurkishCasing()
471 MessageFormat* form = new MessageFormat( in testSimpleFormat()
505 MessageFormat* form = new MessageFormat("The disk \"{1}\" contains {0}.", err); in testMsgFormatChoice()
551 MessageFormat* mfNum = new MessageFormat(t1, Locale("fr"), err); in testMsgFormatPlural()
562 MessageFormat* mfAlpha = new MessageFormat(t2, Locale("fr"), err); in testMsgFormatPlural()
585 MessageFormat* mfNum2 = new MessageFormat(t3, Locale("uk"), err); in testMsgFormatPlural()
589 MessageFormat* mfAlpha2 = new MessageFormat(t4, Locale("uk"), err); in testMsgFormatPlural()
613 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural()
635 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect()
650 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat()
671 MessageFormat* TestMessageFormat::internalCreate( in internalCreate()
675 MessageFormat* msgFmt = new MessageFormat(pattern, locale, status); in internalCreate()
694 …MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
716 …MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
738 …MessageFormat* msgFmt3 = internalCreate(t3, Locale("en"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
761 …MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
783 …MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
808 …MessageFormat* msgFmt6 = internalCreate(t6, Locale("de"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
860 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testCopyConstructor()
861 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testCopyConstructor()
862 MessageFormat *y = 0; in testCopyConstructor()
863 y = new MessageFormat(*x); in testCopyConstructor()
890 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testAssignment()
891 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
892 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
919 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testClone()
920 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testClone()
921 MessageFormat *y = 0; in testClone()
922 y = (MessageFormat*)x->clone(); in testClone()
948 MessageFormat x("There are {0} files on {1}", success); in testEquals()
949 MessageFormat y("There are {0} files on {1}", success); in testEquals()
960 MessageFormat x("There are {0} files on {1}", success); in testNotEquals()
961 MessageFormat y(x); in testNotEquals()
1005 MessageFormat msg( formatStr, err); in testSetLocale()
1078 MessageFormat msg( formatStr, err); in testFormat()
1121 MessageFormat msg( msgFormatString, err); in testParse()
1199 MessageFormat msg( formatStr, err); in testAdopt()
1200 MessageFormat msgCmp( formatStr, err); in testAdopt()
1415 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2()
1416 MessageFormat* fmt2 = NULL; in _testCopyConstructor2()
1417 MessageFormat* fmt3 = NULL; in _testCopyConstructor2()
1418 MessageFormat* fmt4 = NULL; in _testCopyConstructor2()
1425 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1433 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2()
1434 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2()
1474 MessageFormat msg(pattern, ec); in TestUnlimitedArgsAndSubformats()
1548 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); in TestRBNF()
1636 MessageFormat compMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1642 MessageFormat icuMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1712 UnicodeString result = MessageFormat::autoQuoteApostrophe(patterns[i], status); in testAutoQuoteApostrophe()
1731 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage()
1775 msgfmt = new MessageFormat("'", status); in testCoverage()
1802 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames()
1848 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1870 MessageFormat m( in TestSelectOrdinal()
1901 MessageFormat m( in TestDecimals()
1916 MessageFormat m0( in TestDecimals()
1930 MessageFormat m1( in TestDecimals()
1949 MessageFormat m2( in TestDecimals()
1972 MessageFormat mf1("{0,select,a{A}ab{AB}abc{ABC}other{?}}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1984 MessageFormat mf2("{a} {aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1992 MessageFormat mf3("{aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()