/external/proguard/src/proguard/gui/ |
H A D | GUIResources.java | 23 import java.text.MessageFormat; 35 private static final MessageFormat formatter = new MessageFormat("");
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | MessageFormatTest.java | 29 import java.text.MessageFormat; 44 private MessageFormat format1, format2, format3; 48 private void checkSerialization(MessageFormat format) { 56 MessageFormat read = (MessageFormat) in.readObject(); 68 * @tests java.text.MessageFormat#MessageFormat(java.lang.String, 72 // Test for method java.text.MessageFormat(java.lang.String, 75 MessageFormat format = new MessageFormat( [all...] |
H A D | Support_MessageFormat.java | 21 import java.text.MessageFormat; 23 import java.text.MessageFormat.Field; 49 MessageFormat format = new MessageFormat(pattern, Locale.US); 58 // test with MessageFormat.Field.ARGUMENT 76 MessageFormat format = new MessageFormat(pattern, Locale.US);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | tmsgfmt.cpp | 174 MessageFormat *fmt = new MessageFormat(pattern, status); 176 errln("MessageFormat pattern creation failed."); 181 errln("MessageFormat::toPattern() failed."); 292 MessageFormat *form = 0; 295 form = new MessageFormat(testCases[i], Locale::getUS(), success); 297 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success)); 298 logln(((UnicodeString)"MessageFormat for ") + testCases[i] + " creation failed.\n"); 315 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success)); 338 errln("MessageFormat faile [all...] |
H A D | tmsgfmt.h | 19 * TestMessageFormat tests MessageFormat, and also a few unctions in ChoiceFormat 30 * regression test for a specific bug regarding MessageFormat using ChoiceFormat 38 * test MessageFormat with various given patterns 47 * tests the static MessageFormat::format method 64 * tests MessageFormat functionality with a SelectFormat. 69 * Internal method to format a MessageFormat object with passed args 71 void internalFormat(MessageFormat* msgFmt , 76 * Internal method to create a MessageFormat object with passed args 78 MessageFormat* internalCreate( 82 * Verify that MessageFormat accomodate [all...] |
H A D | msfmrgts.cpp | 76 * Null exception when formatting pattern with MessageFormat 91 MessageFormat *messageFormatter = new MessageFormat("", status); 93 failure(status, "couldn't create MessageFormat"); 108 errln("MessageFormat with one param test failed."); 127 errln("MessageFormat with no param test failed."); 137 //we get an NullPointerException in MessageFormat.java(617) 139 //we get an StringArrayIndexOutOfBoundsException in MessageFormat.java(614) 151 * MessageFormat.toPattern has weird rounding behavior. 156 MessageFormat *fm [all...] |
/external/icu4c/i18n/ |
H A D | msgfmt.cpp | 50 // class MessageFormat 80 // MessageFormat Type List Number, Date, Time or Choice 157 return icu::MessageFormat::equalFormats(key1.pointer, key2.pointer); 165 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MessageFormat) 216 // Creates a MessageFormat instance based on the pattern. 218 MessageFormat::MessageFormat(const UnicodeString& pattern, function in class:MessageFormat 239 MessageFormat::MessageFormat(const UnicodeString& pattern, function in class:MessageFormat 261 MessageFormat function in class:MessageFormat 284 MessageFormat::MessageFormat(const MessageFormat& that) function in class:MessageFormat [all...] |
H A D | tmutfmt.cpp | 227 MessageFormat* pattern = ((MessageFormat**)countToPattern->get(count))[fStyle]; 270 // the value is a pair of MessageFormat* 271 MessageFormat** patterns = (MessageFormat**)valueTok.pointer; 274 MessageFormat* pattern = patterns[style]; 510 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err); 515 MessageFormat** formatters = (MessageFormat**)countToPattern [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | Messages.java | 13 import java.text.MessageFormat; 72 return MessageFormat.format(message, bindings);
|
/external/icu4c/test/intltest/ |
H A D | tmsgfmt.h | 19 * TestMessageFormat tests MessageFormat, and also a few unctions in ChoiceFormat 30 * regression test for a specific bug regarding MessageFormat using ChoiceFormat 38 * test MessageFormat with various given patterns 47 * tests the static MessageFormat::format method 64 * tests MessageFormat functionality with a SelectFormat. 71 * Internal method to format a MessageFormat object with passed args 73 void internalFormat(MessageFormat* msgFmt , 78 * Internal method to create a MessageFormat object with passed args 80 MessageFormat* internalCreate( 84 * Verify that MessageFormat accomodate [all...] |
H A D | tmsgfmt.cpp | 180 MessageFormat *fmt = new MessageFormat(pattern, status); 182 dataerrln("MessageFormat pattern creation failed. - %s", u_errorName(status)); 187 errln("MessageFormat::toPattern() failed."); 295 MessageFormat *form = 0; 298 form = new MessageFormat(testCases[i], Locale::getUS(), success); 300 dataerrln("MessageFormat creation failed.#1 - %s", u_errorName(success)); 301 logln(((UnicodeString)"MessageFormat for ") + testCases[i] + " creation failed.\n"); 324 dataerrln("MessageFormat failed test #3 - %s", u_errorName(success)); 347 errln("MessageFormat faile [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | tmutfmt.cpp | 224 MessageFormat* pattern = ((MessageFormat**)countToPattern->get(count))[fStyle]; 267 // the value is a pair of MessageFormat* 268 MessageFormat** patterns = (MessageFormat**)valueTok.pointer; 270 MessageFormat* pattern = patterns[style]; 492 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err); 497 MessageFormat** formatters = (MessageFormat**)countToPattern [all...] |
H A D | msgfmt.cpp | 46 // class MessageFormat 89 // MessageFormat Type List Number, Date, Time or Choice 159 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MessageFormat) 199 * A structure representing one subformat of this MessageFormat. 205 class MessageFormat::Subformat : public UMemory { 262 // Creates a MessageFormat instance based on the pattern. 264 MessageFormat::MessageFormat(const UnicodeString& pattern, function in class:MessageFormat 290 MessageFormat::MessageFormat(cons function in class:MessageFormat 317 MessageFormat::MessageFormat(const UnicodeString& pattern, function in class:MessageFormat 345 MessageFormat::MessageFormat(const MessageFormat& that) function in class:MessageFormat [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | JmeFormatter.java | 37 import java.text.MessageFormat; 51 private MessageFormat format; 57 format = new MessageFormat("{0,time}");
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | msgfmt.h | 41 * MessageFormat produces concatenated messages in a language-neutral 45 * <P>A MessageFormat contains an array of <EM>subformats</EM> arranged 47 * template string determine how the MessageFormat will operate during 54 * <P>When formatting, MessageFormat takes an array of arguments 60 * within the string template of the MessageFormat to produce the 64 * In ICU 4.0 MessageFormat supports named arguments. If a named argument 100 * template of the MessageFormat to produce an array of Formattable 116 * <LI>MessageFormat does not handle ChoiceFormat recursion during 142 * MessageFormat::format( 160 * MessageFormat for 291 class U_I18N_API MessageFormat : public Format { class in inherits:Format [all...] |
/external/icu4c/i18n/unicode/ |
H A D | msgfmt.h | 49 * <p>MessageFormat prepares strings for display to users, 54 * <p>A MessageFormat is constructed from a <em>pattern</em> string 57 * <p><code>MessageFormat</code> differs from the other <code>Format</code> 58 * classes in that you create a <code>MessageFormat</code> object with one 60 * method). Factory methods aren't necessary because <code>MessageFormat</code> 77 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns. 88 * <p>When formatting, MessageFormat takes a collection of argument values 103 * <code>MessageFormat</code> uses patterns of the following form: 145 * only in program syntax, like quoting in MessageFormat. 254 * MessageFormat 323 class U_I18N_API MessageFormat : public Format { class in inherits:Format [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/ |
H A D | Assert.java | 13 import java.text.MessageFormat; 129 * the format of error message suitable for {@link MessageFormat}. 132 * {@link MessageFormat}. For example 137 String message = "null argument expected: " + MessageFormat.format(errorFormat, args); //$NON-NLS-1$ 196 * the format of error message suitable for {@link MessageFormat}. 199 * {@link MessageFormat}. For example 204 String message = "null argument: " + MessageFormat.format(errorFormat, args); //$NON-NLS-1$ 227 * {@link MessageFormat}. For example <code>"{0} expected, but {1} found."</code>. 230 String message = MessageFormat.format(errorFormat, args); 300 * {@link MessageFormat} [all...] |
/external/icu4c/samples/msgfmt/answers/ |
H A D | main_2.cpp | 28 MessageFormat msg(PATTERN, status); 29 check(status, "MessageFormat::ct"); 38 check(status, "MessageFormat::format");
|
H A D | main_3.cpp | 28 MessageFormat msg(PATTERN, status); 29 check(status, "MessageFormat::ct"); 38 check(status, "MessageFormat::format");
|
/external/icu4c/samples/msgfmt/ |
H A D | main.cpp | 28 MessageFormat msg(PATTERN, status); 29 check(status, "MessageFormat::ct"); 38 check(status, "MessageFormat::format");
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
H A D | CharacterPropertyEditor.java | 18 import java.text.MessageFormat; 73 MessageFormat.format(ModelMessages.CharacterPropertyEditor_notValid, text));
|
H A D | DoubleObjectPropertyEditor.java | 18 import java.text.MessageFormat; 85 MessageFormat.format(ModelMessages.DoubleObjectPropertyEditor_notValidDouble, text));
|
H A D | DoublePropertyEditor.java | 18 import java.text.MessageFormat; 77 MessageFormat.format(ModelMessages.DoublePropertyEditor_notValidDouble, text));
|
H A D | FloatPropertyEditor.java | 18 import java.text.MessageFormat; 76 MessageFormat.format(ModelMessages.FloatPropertyEditor_notValidFloat, text));
|
H A D | IntegerObjectPropertyEditor.java | 18 import java.text.MessageFormat; 85 MessageFormat.format(ModelMessages.IntegerObjectPropertyEditor_notValidInt, text));
|