/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
CheckResult.java | 5 import com.ibm.icu.text.MessageFormat; 51 message = MessageFormat.format(msg, args);
|
/external/icu/icu4c/source/i18n/unicode/ |
selfmt.h | 34 class MessageFormat; 46 * <p>Note: Typically, select formatting is done via <code>MessageFormat</code> 89 * <code>MessageFormat</code>. 103 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 144 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}.</p> 160 * MessageFormat *msgFmt = new MessageFormat(UnicodeString("{0} est {1, select, female {allée} other {allé}} à Paris."), Locale("fr"), status); 346 friend class MessageFormat;
|
choicfmt.h | 45 class MessageFormat; 49 * The strings must conform to the MessageFormat pattern syntax. 52 * Please use <code>MessageFormat</code> 76 * <p>Note: Typically, choice formatting is done (if done at all) via <code>MessageFormat</code> 91 * message: see {@link MessageFormat} 171 * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments. 181 * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments. 197 * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments. 215 * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments. 226 * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments [all...] |
/external/icu/icu4c/source/test/intltest/ |
msfmrgts.cpp | 76 * Null exception when formatting pattern with MessageFormat 91 MessageFormat *messageFormatter = new MessageFormat("", status); 93 failure(status, "couldn't create MessageFormat"); 98 failure(status, "messageFormat->applyPattern"); 107 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) 108 errln("MessageFormat with one param test failed."); 126 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) 127 errln("MessageFormat with no param test failed."); 132 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format") [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeUnitFormat.java | 266 MessageFormat pattern = (MessageFormat) (patternEntry.getValue())[styl]; 425 final MessageFormat messageFormat = new MessageFormat(pattern, locale); 426 pair[style] = messageFormat; 504 final MessageFormat messageFormat = new MessageFormat(pattern, locale); 510 pair[styl] = messageFormat; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeUnitFormat.java | 264 MessageFormat pattern = (MessageFormat) (patternEntry.getValue())[styl]; 423 final MessageFormat messageFormat = new MessageFormat(pattern, locale); 424 pair[style] = messageFormat; 502 final MessageFormat messageFormat = new MessageFormat(pattern, locale); 508 pair[styl] = messageFormat; [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
Messages.java | 224 java.text.MessageFormat.format( 255 fmsg = java.text.MessageFormat.format(msg, args); 265 java.text.MessageFormat.format(
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/ |
PivotDemo.java | 15 import com.ibm.icu.text.MessageFormat; 47 MessageFormat fmt = new MessageFormat("{1} = {0, date, full} {0, time, full}");
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
CalculateLimits.java | 14 import com.ibm.icu.text.MessageFormat; 53 MessageFormat fmt = new MessageFormat("{0}L, {1}L, {2}L, {3}L");
|
GenerateCTimeScaleData.java | 13 import com.ibm.icu.text.MessageFormat; 70 MessageFormat fmt = new MessageFormat("'{'{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}},");
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
FormatterTest.java | 20 import java.text.MessageFormat; 70 assertEquals(MessageFormat.format(pattern, oa), f.formatMessage(r)); 81 assertEquals(MessageFormat.format(pattern, oa), f.formatMessage(r)); 100 assertEquals(MessageFormat.format(rb.getString("pattern"), oa), f
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
MessageFormatterPerfTest.java | 27 import java.text.MessageFormat; 105 s = MessageFormat.format("This is some rather short message {0}", oa);
|
/external/icu/icu4c/source/i18n/ |
umsg.cpp | 15 * This is a C wrapper to MessageFormat C++ API. 40 * MessageFormat. It is never instantiated; it exists only for C++ 45 static const Formattable::Type* getArgTypeList(const MessageFormat& m, 47 static UBool hasArgTypeConflicts(const MessageFormat& m) { 52 MessageFormatAdapter::getArgTypeList(const MessageFormat& m, 251 MessageFormat* retVal = new MessageFormat(patString,Locale(locale),*parseError,*status); 269 delete (MessageFormat*) format; 284 UMessageFormat retVal = (UMessageFormat)((MessageFormat*)fmt)->clone(); 299 ((MessageFormat*)fmt)->setLocale(Locale(locale)); [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
PathDescription.java | 17 import com.ibm.icu.text.MessageFormat; 187 description = MessageFormat.format(MessageFormat.autoQuoteApostrophe(description), new Object[] { code }); 191 description = MessageFormat.format(MessageFormat.autoQuoteApostrophe(description), 194 description = MessageFormat.format(MessageFormat.autoQuoteApostrophe(description),
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ModuleWriter.java | 24 import com.ibm.icu.text.MessageFormat; 57 MessageFormat format = new MessageFormat(moduleHeader);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
AbstractCommandHandlerTestCase.java | 24 import java.text.MessageFormat;
216 return MessageFormat.format(replyTextWithParameterFor(replyCode), objArray(parameter));
227 return MessageFormat.format(replyTextWithParameterFor(messageKey), objArray(parameter));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AbstractCommandHandlerTest.java | 18 import java.text.MessageFormat;
218 return MessageFormat.format(replyTextWithParameterFor(replyCode), objArray(parameter));
228 return MessageFormat.format(replyTextWithParameterFor(messageKey), objArray(parameter));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
MathException.java | 21 import java.text.MessageFormat; 66 * Message formatting is delegated to {@link java.text.MessageFormat}. 79 * Message formatting is delegated to {@link java.text.MessageFormat}. 105 * Message formatting is delegated to {@link java.text.MessageFormat}. 121 * Message formatting is delegated to {@link java.text.MessageFormat}. 177 return new MessageFormat(pattern.getLocalizedString(locale), locale).format(arguments);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
AbstractTrackingCommandHandler.java | 23 import java.text.MessageFormat;
100 * reply text using the {@link MessageFormat} class.
110 * @see MessageFormat
172 * {@link MessageFormat} class.
184 String formattedMessage = MessageFormat.format(t, arguments);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
AbstractCommandHandler.java | 18 import java.text.MessageFormat;
127 * reply text using the {@link MessageFormat} class.
139 * @see MessageFormat
229 * {@link MessageFormat} class.
241 String formattedMessage = MessageFormat.format(t, arguments);
|
/external/apache-xml/src/main/java/org/apache/xml/res/ |
XMLMessages.java | 129 fmsg = java.text.MessageFormat.format(msg, args);
|
/external/apache-xml/src/main/java/org/apache/xpath/res/ |
XPATHMessages.java | 120 fmsg = java.text.MessageFormat.format(msg, args);
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
HelpMessages.java | 16 import com.ibm.icu.text.MessageFormat; 24 private static final MessageFormat DEFAULT_HEADER_PATTERN = new MessageFormat("<p>{0}</p>" 142 public String find(String key, MessageFormat headerPattern) {
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
TablePrinter.java | 12 import com.ibm.icu.text.MessageFormat; 83 MessageFormat cellAttributes; 86 MessageFormat cellPattern; 97 this.cellAttributes = new MessageFormat(MessageFormat.autoQuoteApostrophe(cellAttributes), ULocale.ENGLISH); 102 this.cellPattern = cellPattern == null ? null : new MessageFormat( 103 MessageFormat.autoQuoteApostrophe(cellPattern), ULocale.ENGLISH);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralFormatUnitTest.java | 29 import android.icu.text.MessageFormat; 307 MessageFormat pfmt = new MessageFormat("The disk ''{0}'' contains {1, plural, one {one ''''{1, number, #.0}'''' widget} other {# widgets}}."); 319 MessageFormat pfmt2 = new MessageFormat(pfmt.toPattern()); 343 MessageFormat mf = new MessageFormat("{0,plural," + pluralStyle + "}", ULocale.ENGLISH); 350 assertEquals("MessageFormat.format(value " + i + ")", targets[i], result);
|