/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 31 import java.text.MessageFormat; 46 private MessageFormat format1, format2, format3; 50 private void checkSerialization(MessageFormat format) { in checkSerialization() 58 MessageFormat read = (MessageFormat) in.readObject(); in checkSerialization() 73 new MessageFormat("{1, number}").formatToCharacterIterator(null); in test_formatToCharacterIteratorLjava_lang_Object() 79 new MessageFormat("{0, time}").formatToCharacterIterator(new Object[]{""}); in test_formatToCharacterIteratorLjava_lang_Object() 100 MessageFormat mf = new MessageFormat(pattern, l[i]); in test_getLocale() 107 MessageFormat mf = new MessageFormat(pattern); in test_getLocale() 115 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormatILjava_text_Format() 154 MessageFormat mf = new MessageFormat("{0,number,#.##}, {0,number,#.#}"); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() [all …]
|
D | Support_MessageFormat.java | 23 import java.text.MessageFormat; 25 import java.text.MessageFormat.Field; 55 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_format_with_FieldPosition() 84 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_formatToCharacterIterator()
|
D | ChoiceFormatTest.java | 22 import java.text.MessageFormat; 380 MessageFormat mf = new MessageFormat("CHOICE {1,choice}"); in test_toPattern()
|
/libcore/ojluni/src/test/java/text/Format/MessageFormat/ |
D | MessageRegression.java | 45 package test.java.text.Format.MessageFormat; 80 MessageFormat messageFormatter = new MessageFormat(""); in Test4074764() 120 …MessageFormat fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files… in Test4058973() 139 MessageFormat messageFormatter = new MessageFormat(""); in Test4031438() 184 MessageFormat fmt = new MessageFormat("There are {0} apples growing on the {1} tree."); in Test4052223() 262 MessageFormat format1 = null; in Test4111739() 263 MessageFormat format2 = null; in Test4111739() 277 format1 = new MessageFormat("pattern{0}"); in Test4111739() 284 format2 = (MessageFormat)istream.readObject(); in Test4111739() 303 MessageFormat mf = new MessageFormat(originalPattern); in Test4114743() [all …]
|
D | Bug7003643.java | 31 package test.java.text.Format.MessageFormat; 55 MessageFormat mf = null; in main() 57 mf = new MessageFormat(pattern); in main() 65 String res1 = MessageFormat.format(pattern, 123); in main() 67 String res2 = MessageFormat.format(toPattern, 123); in main()
|
D | bug4492719.java | 32 package test.java.text.Format.MessageFormat; 44 MessageFormat mf; in main() 63 mf = new MessageFormat("{0,time," + formats[j] + "} - time"); in main() 64 text = MessageFormat.format("{0,time," + formats[j] + "} - time", in main()
|
D | Bug6481179.java | 30 package test.java.text.Format.MessageFormat; 32 import java.text.MessageFormat; 41 MessageFormat.format("Testdata {1,invalid_format_type}", in main()
|
D | MessageFormatsByArgumentIndex.java | 30 package test.java.text.Format.MessageFormat; 34 import java.text.MessageFormat; 44 MessageFormat format = new MessageFormat("{3, choice," + choicePattern + "}, {2}, {0}"); in main()
|
D | MessageTest.java | 42 package test.java.text.Format.MessageFormat; 80 MessageFormat form = new MessageFormat(testCases[i]); in TestMSGPatternTest()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldMessageFormatFieldTest.java | 25 import java.text.MessageFormat; 52 MessageFormat.Field mfield, mfield2; in test_readResolve() 55 mfield = MessageFormat.Field.ARGUMENT; in test_readResolve() 66 mfield2 = (MessageFormat.Field) in.readObject(); in test_readResolve() 93 static class MyMessageFormat extends MessageFormat.Field {
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MessageFormat.java | 21 import java.text.MessageFormat; 23 import java.text.MessageFormat.Field; 48 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_format_with_FieldPosition() 75 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_formatToCharacterIterator()
|
/libcore/ojluni/src/main/java/java/text/ |
D | MessageFormat.java | 351 public class MessageFormat extends Format { class 370 public MessageFormat(String pattern) { in MessageFormat() method in MessageFormat 390 public MessageFormat(String pattern, Locale locale) { in MessageFormat() method in MessageFormat 860 MessageFormat temp = new MessageFormat(pattern); in format() 1106 MessageFormat other = (MessageFormat) super.clone(); in clone() 1129 MessageFormat other = (MessageFormat) obj; in equals() 1178 if (this.getClass() != MessageFormat.Field.class) { in readResolve() 1289 subFormatter = new MessageFormat(arg, locale); in subformat()
|
D | SimpleDateFormat.java | 655 return MessageFormat.format("{0} {1}", dateTimeArgs); in getDateTimeFormat()
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | BigDecimalParse.java | 485 MessageFormat mf = new MessageFormat(patterns[i]); in test_Parse_in_MessageFormat_NotParseIntegerOnly() 571 MessageFormat mf = new MessageFormat(patterns[i]); in test_Parse_in_MessageFormat_ParseIntegerOnly()
|
D | BigDecimalFormat.java | 972 MessageFormat mf = new MessageFormat( in test_Format_in_MessageFormat()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Formatter.java | 138 return java.text.MessageFormat.format(format, parameters); in formatMessage()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 31 import java.text.MessageFormat; 1435 MessageFormat form = new MessageFormat(ResourcesMgr.getString
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 148 static final java.text.MessageFormat MESSAGE = new java.text.MessageFormat(
|
D | SerializationStressTest4.java | 30 import java.text.MessageFormat; 1790 objToSave = MessageFormat.Field.ARGUMENT; in test_writeObject_MessageFormat_Field()
|
D | SerializationStressTest3.java | 1350 ((java.text.MessageFormat) objLoaded).toPattern())); in test_18_116_writeObject()
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 508 return java.text.MessageFormat.format(format, parameters); in formatMessage()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 50 import java.text.MessageFormat; 2759 return MessageFormat.format(pattern, s1, s2); in formatList()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 45 import java.text.MessageFormat;
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 292 java.text.MessageFormat format, java.lang.String[] list) { in composeList()
|
/libcore/ |
D | EXPECTED_UPSTREAM | 796 ojluni/src/main/java/java/text/MessageFormat.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/… 2146 …luni/src/test/java/text/Format/MessageFormat/Bug6481179.java,jdk17u/jdk-17.0.6-ga,test/jdk/java/te… 2147 …luni/src/test/java/text/Format/MessageFormat/Bug7003643.java,jdk17u/jdk-17.0.6-ga,test/jdk/java/te… 2148 …test/java/text/Format/MessageFormat/MessageFormatsByArgumentIndex.java,jdk17u/jdk-17.0.6-ga,test/j… 2149 …i/src/test/java/text/Format/MessageFormat/MessageRegression.java,jdk17u/jdk-17.0.6-ga,test/jdk/jav… 2150 …luni/src/test/java/text/Format/MessageFormat/MessageTest.java,jdk17u/jdk-17.0.6-ga,test/jdk/java/t… 2151 …luni/src/test/java/text/Format/MessageFormat/bug4492719.java,jdk17u/jdk-17.0.6-ga,test/jdk/java/te…
|