Home
last modified time | relevance | path

Searched refs:msgFmt (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1289 MessageFormat msgFmt = new MessageFormat( in testNestedFormatsInPluralFormat() local
1296 String result = msgFmt.format(objArray); in testNestedFormatsInPluralFormat()
1395 MessageFormat msgFmt = null ; in testSelectFormat() local
1399 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1400 assertNotNull( "ERROR:Failure in constructing with simple French pattern", msgFmt); in testSelectFormat()
1415 exp[i] , msgFmt.format(testArgs[i]) ); in testSelectFormat()
1420 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1421 assertNotNull( "ERROR:Failure in constructing with quoted French pattern", msgFmt); in testSelectFormat()
1436 exp1[i] , msgFmt.format(testArgs1[i]) ); in testSelectFormat()
1442 msgFmt = new MessageFormat(pattern); in testSelectFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1292 MessageFormat msgFmt = new MessageFormat( in testNestedFormatsInPluralFormat() local
1299 String result = msgFmt.format(objArray); in testNestedFormatsInPluralFormat()
1398 MessageFormat msgFmt = null ; in testSelectFormat() local
1402 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1403 assertNotNull( "ERROR:Failure in constructing with simple French pattern", msgFmt); in testSelectFormat()
1418 exp[i] , msgFmt.format(testArgs[i]) ); in testSelectFormat()
1423 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1424 assertNotNull( "ERROR:Failure in constructing with quoted French pattern", msgFmt); in testSelectFormat()
1439 exp1[i] , msgFmt.format(testArgs1[i]) ); in testSelectFormat()
1445 msgFmt = new MessageFormat(pattern); in testSelectFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.h75 void internalFormat(MessageFormat* msgFmt ,
Dtmsgfmt.cpp615 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural() local
619 delete msgFmt; in testMsgFormatPlural()
624 msgFmt->format(&testArgs3, 1, argNameResult, ignore, err); in testMsgFormatPlural()
632 delete msgFmt; in testMsgFormatPlural()
637 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect() local
648 &msgFmt, args, 2, expected, in testApostropheInPluralAndSelect()
652 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat() argument
661 msgFmt->format( args , numOfArgs , result, ignore, status); in internalFormat()
677 LocalPointer<MessageFormat> msgFmt(new MessageFormat(pattern, locale, status)); in internalCreate() local
683 return msgFmt.orphan(); in internalCreate()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java920 MessageFormat msgFmt = new MessageFormat(""); in combineDateAndTime() local
921 msgFmt.applyPattern(combinedDateAndTime, MessagePattern.ApostropheMode.DOUBLE_REQUIRED); in combineDateAndTime()
923 return msgFmt.format(new Object[] { timeString, relativeDateString}, in combineDateAndTime()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java1007 MessageFormat msgFmt = new MessageFormat(""); in combineDateAndTime() local
1008 msgFmt.applyPattern(combinedDateAndTime, MessagePattern.ApostropheMode.DOUBLE_REQUIRED); in combineDateAndTime()
1010 return msgFmt.format(new Object[] { timeString, relativeDateString}, in combineDateAndTime()