Lines Matching refs:MessageFormat
185 MessageFormat *fmt = new MessageFormat(pattern, status); in testBug2()
300 MessageFormat *form = 0; in PatternTest()
303 form = new MessageFormat(testCases[i], Locale::getUS(), success); in PatternTest()
374 MessageFormat *form = 0; in sample()
377 form = new MessageFormat("There are {0} files on {1}", success); in sample()
404 result = MessageFormat::format( in testStaticFormat()
440 result = MessageFormat::format( in TestTurkishCasing()
472 MessageFormat* form = new MessageFormat( in testSimpleFormat()
506 MessageFormat* form = new MessageFormat("The disk \"{1}\" contains {0}.", err); in testMsgFormatChoice()
552 MessageFormat* mfNum = new MessageFormat(t1, Locale("fr"), err); in testMsgFormatPlural()
563 MessageFormat* mfAlpha = new MessageFormat(t2, Locale("fr"), err); in testMsgFormatPlural()
586 MessageFormat* mfNum2 = new MessageFormat(t3, Locale("uk"), err); in testMsgFormatPlural()
590 MessageFormat* mfAlpha2 = new MessageFormat(t4, Locale("uk"), err); in testMsgFormatPlural()
614 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural()
636 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect()
651 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat()
672 MessageFormat* TestMessageFormat::internalCreate( in internalCreate()
676 MessageFormat* msgFmt = new MessageFormat(pattern, locale, status); in internalCreate()
695 …MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
717 …MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
739 …MessageFormat* msgFmt3 = internalCreate(t3, Locale("en"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
762 …MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
784 …MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
809 …MessageFormat* msgFmt6 = internalCreate(t6, Locale("de"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
861 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testCopyConstructor()
862 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testCopyConstructor()
863 MessageFormat *y = 0; in testCopyConstructor()
864 y = new MessageFormat(*x); in testCopyConstructor()
891 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testAssignment()
892 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
893 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
920 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testClone()
921 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testClone()
922 MessageFormat *y = 0; in testClone()
923 y = (MessageFormat*)x->clone(); in testClone()
949 MessageFormat x("There are {0} files on {1}", success); in testEquals()
950 MessageFormat y("There are {0} files on {1}", success); in testEquals()
961 MessageFormat x("There are {0} files on {1}", success); in testNotEquals()
962 MessageFormat y(x); in testNotEquals()
1005 MessageFormat msg( formatStr, err); in testSetLocale()
1080 MessageFormat msg( formatStr, err); in testFormat()
1123 MessageFormat msg( msgFormatString, err); in testParse()
1201 MessageFormat msg( formatStr, err); in testAdopt()
1202 MessageFormat msgCmp( formatStr, err); in testAdopt()
1417 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2()
1418 MessageFormat* fmt2 = NULL; in _testCopyConstructor2()
1419 MessageFormat* fmt3 = NULL; in _testCopyConstructor2()
1420 MessageFormat* fmt4 = NULL; in _testCopyConstructor2()
1427 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1435 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2()
1436 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2()
1476 MessageFormat msg(pattern, ec); in TestUnlimitedArgsAndSubformats()
1550 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); in TestRBNF()
1638 MessageFormat compMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1644 MessageFormat icuMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1714 UnicodeString result = MessageFormat::autoQuoteApostrophe(patterns[i], status); in testAutoQuoteApostrophe()
1733 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage()
1777 msgfmt = new MessageFormat("'", status); in testCoverage()
1804 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames()
1850 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1872 MessageFormat m( in TestSelectOrdinal()
1903 MessageFormat m( in TestDecimals()
1918 MessageFormat m0( in TestDecimals()
1932 MessageFormat m1( in TestDecimals()
1951 MessageFormat m2( in TestDecimals()
1974 MessageFormat mf1("{0,select,a{A}ab{AB}abc{ABC}other{?}}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1986 MessageFormat mf2("{a} {aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
1994 MessageFormat mf3("{aa} {aaa}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
2021 MessageFormat msgf(cas.messagePattern, cas.localeName, status); in TestMessageFormatNumberSkeleton()