/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatTestICU.java | 43 format.applyPattern("@@@"); in test_sigDigitPatterns() 47 format.applyPattern("@@##"); in test_sigDigitPatterns() 51 format.applyPattern("@@###E0"); in test_sigDigitPatterns() 53 format.applyPattern("0.0###E0"); in test_sigDigitPatterns() 57 format.applyPattern("@00"); in test_sigDigitPatterns() 65 format.applyPattern("@.###"); in test_sigDigitPatterns() 75 format.applyPattern("*x##,##,#,##0.0#"); in test_paddingPattern() 79 format.applyPattern("$*x#,##0.00"); in test_paddingPattern() 83 format.applyPattern("*\u00e7#0 o''clock"); in test_paddingPattern() 90 format.applyPattern("#0.##*xE0"); in test_paddingPattern() [all …]
|
D | DecimalFormatTest.java | 219 df.applyPattern(null); in testBug15081434() 225 df.applyPattern(null); in testBug15081434()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 388 format.applyPattern("xx {0}"); in test_applyPatternLjava_lang_String() 397 format.applyPattern("nothing"); in test_applyPatternLjava_lang_String() 400 format.applyPattern("{0}"); in test_applyPatternLjava_lang_String() 404 format.applyPattern("{0, \t\u001ftime }"); in test_applyPatternLjava_lang_String() 408 format.applyPattern("{0,Time, Short\n}"); in test_applyPatternLjava_lang_String() 413 format.applyPattern("{0,TIME,\nmedium }"); in test_applyPatternLjava_lang_String() 418 format.applyPattern("{0,time,LONG}"); in test_applyPatternLjava_lang_String() 425 format.applyPattern("{0,time, Full}"); in test_applyPatternLjava_lang_String() 433 format.applyPattern("{0, date}"); in test_applyPatternLjava_lang_String() 437 format.applyPattern("{0, date, short}"); in test_applyPatternLjava_lang_String() [all …]
|
D | SimpleDateFormatTest.java | 165 f2.applyPattern("GyMdkHmsSEDFwWahKz"); in test_applyPatternLjava_lang_String() 170 f2.applyPattern("b"); in test_applyPatternLjava_lang_String() 182 f2.applyPattern("a '"); in test_applyPatternLjava_lang_String() 188 f2.applyPattern(null); in test_applyPatternLjava_lang_String() 199 clone.applyPattern("y"); in test_clone() 387 format.applyPattern("'Mkz''':.@5"); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 402 format.applyPattern(pattern); in assertFormat() 499 format.applyPattern("z, zzzz"); in verifyFormatTimezone() 502 format.applyPattern("Z, ZZZZ"); in verifyFormatTimezone() 636 df.applyPattern("dd MMMM yyyy EEEE"); in test_parseLjava_lang_StringLjava_text_ParsePosition() [all …]
|
D | Support_SimpleDateFormat.java | 58 format.applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd " + in t_format_with_FieldPosition() 98 format.applyPattern("h:m z"); in t_format_with_FieldPosition() 125 format.applyPattern("h:m Z z"); in t_format_with_FieldPosition() 141 format.applyPattern("yyyyMMddHHmmss"); in t_formatToCharacterIterator() 144 format.applyPattern("w W dd MMMM yyyy EEEE"); in t_formatToCharacterIterator() 147 format.applyPattern("h:m z"); in t_formatToCharacterIterator() 150 format.applyPattern("h:m Z"); in t_formatToCharacterIterator() 154 …format.applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd k kk kkk H HH HHH h hh hhh m mmm s ss… in t_formatToCharacterIterator()
|
D | ChoiceFormatTest.java | 142 f.applyPattern("0#0|1#1"); in test_applyPatternLjava_lang_String() 154 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 162 f.applyPattern("-1#is negative|0#is zero or fraction|-1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 170 f.applyPattern("-1is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 177 f.applyPattern("-1<is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 185 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String() 187 f.applyPattern(str); in test_applyPatternLjava_lang_String() 431 cf.applyPattern(str); in test_toPattern()
|
D | DecimalFormatTest.java | 777 format1.applyPattern("'$'1000.0000"); in testConstructor_noArg() 779 format2.applyPattern("'$'1000.0000"); in testConstructor_noArg() 797 format1.applyPattern("'$'0000.0000"); in testConstructor_string() 837 format2.applyPattern("'$'1000.0000"); in testConstructor_stringAndSymbols() 885 format.applyPattern("00.0#"); in test_applyPattern() 891 format.applyPattern(null); in test_applyPattern() 897 format.applyPattern("%#,##,###,####'"); in test_applyPattern() 903 format.applyPattern("#.##0.00"); in test_applyPattern() 930 decFormat.applyPattern(patterns[i]); in test_applyPattern_icu2GroupingSizes() 968 format.applyPattern("#.#"); in test_toPattern() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | ChoiceFormat.java | 111 applyPattern(template); in ChoiceFormat() 123 public void applyPattern(String template) { in applyPattern() method in ChoiceFormat
|
D | DecimalFormat.java | 595 public void applyPattern(String pattern) { in applyPattern() method in DecimalFormat 599 ndf.applyPattern(pattern); in applyPattern()
|
D | MessageFormat.java | 360 applyPattern(template); in MessageFormat() 385 public void applyPattern(String template) { in applyPattern() method in MessageFormat
|
D | SimpleDateFormat.java | 393 public void applyPattern(String template) { in applyPattern() method in SimpleDateFormat
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeDecimalFormat.java | 333 applyPattern(this.address, true, pattern); in applyLocalizedPattern() 337 public void applyPattern(String pattern) { in applyPattern() method in NativeDecimalFormat 341 applyPattern(this.address, false, pattern); in applyPattern() 549 private static void applyPattern(long addr, boolean localized, String pattern) { in applyPattern() method in NativeDecimalFormat
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeDecimalFormat.cpp | 208 fmt->applyPattern(pattern.unicodeString(), status); in NativeDecimalFormat_applyPatternImpl()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 189 ((java.text.DecimalFormat) NUMBERFORM).applyPattern("#0.#");
|
/libcore/luni/src/main/java/java/util/ |
D | Formatter.java | 572 decimalFormat.applyPattern(pattern); in update()
|