• Home
  • Raw
  • Download

Lines Matching refs:MessageFormat

180     MessageFormat *fmt = new MessageFormat(pattern, status);  in testBug2()
295 MessageFormat *form = 0; in PatternTest()
298 form = new MessageFormat(testCases[i], Locale::getUS(), success); in PatternTest()
369 MessageFormat *form = 0; in sample()
372 form = new MessageFormat("There are {0} files on {1}", success); in sample()
399 result = MessageFormat::format( in testStaticFormat()
435 result = MessageFormat::format( in TestTurkishCasing()
467 MessageFormat* form = new MessageFormat( in testSimpleFormat()
501 MessageFormat* form = new MessageFormat("The disk \"{1}\" contains {0}.", err); in testMsgFormatChoice()
547 MessageFormat* mfNum = new MessageFormat(t1, Locale("fr"), err); in testMsgFormatPlural()
558 MessageFormat* mfAlpha = new MessageFormat(t2, Locale("fr"), err); in testMsgFormatPlural()
581 MessageFormat* mfNum2 = new MessageFormat(t3, Locale("ru"), err); in testMsgFormatPlural()
585 MessageFormat* mfAlpha2 = new MessageFormat(t4, Locale("ru"), err); in testMsgFormatPlural()
609 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural()
631 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect()
646 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat()
667 MessageFormat* TestMessageFormat::internalCreate( in internalCreate()
671 MessageFormat* msgFmt = new MessageFormat(pattern, locale, status); in internalCreate()
690MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
712MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
734MessageFormat* msgFmt3 = internalCreate(t3, Locale("en"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
756MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
779MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFo… in testMsgFormatSelect()
803MessageFormat* msgFmt6 = internalCreate(t6, Locale("de"),err,(char*)"From TestMessageFormat::TestS… in testMsgFormatSelect()
855 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testCopyConstructor()
856 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testCopyConstructor()
857 MessageFormat *y = 0; in testCopyConstructor()
858 y = new MessageFormat(*x); in testCopyConstructor()
885 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testAssignment()
886 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
887 MessageFormat *y = new MessageFormat("There are {0} files on {1} created", success); in testAssignment()
914 MessageFormat *x = new MessageFormat("There are {0} files on {1}", success); in testClone()
915 MessageFormat *z = new MessageFormat("There are {0} files on {1} created", success); in testClone()
916 MessageFormat *y = 0; in testClone()
917 y = (MessageFormat*)x->clone(); in testClone()
943 MessageFormat x("There are {0} files on {1}", success); in testEquals()
944 MessageFormat y("There are {0} files on {1}", success); in testEquals()
955 MessageFormat x("There are {0} files on {1}", success); in testNotEquals()
956 MessageFormat y(x); in testNotEquals()
1000 MessageFormat msg( formatStr, err); in testSetLocale()
1073 MessageFormat msg( formatStr, err); in testFormat()
1116 MessageFormat msg( msgFormatString, err); in testParse()
1194 MessageFormat msg( formatStr, err); in testAdopt()
1195 MessageFormat msgCmp( formatStr, err); in testAdopt()
1410 MessageFormat* fmt1 = new MessageFormat( formatStr, status ); in _testCopyConstructor2()
1411 MessageFormat* fmt2 = NULL; in _testCopyConstructor2()
1412 MessageFormat* fmt3 = NULL; in _testCopyConstructor2()
1413 MessageFormat* fmt4 = NULL; in _testCopyConstructor2()
1420 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1428 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2()
1429 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2()
1469 MessageFormat msg(pattern, ec); in TestUnlimitedArgsAndSubformats()
1543 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); in TestRBNF()
1633 MessageFormat compMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1639 MessageFormat icuMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1709 UnicodeString result = MessageFormat::autoQuoteApostrophe(patterns[i], status); in testAutoQuoteApostrophe()
1728 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage()
1772 msgfmt = new MessageFormat("'", status); in testCoverage()
1799MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames()
1845 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1867 MessageFormat m( in TestSelectOrdinal()