/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | SimpleDateFormatTest.java | 130 String pattern = "GyMdkHmsSEDFwWahKzZLc"; in test_applyLocalizedPatternLjava_lang_String() local 394 private void assertFormat(SimpleDateFormat format, String pattern, Calendar cal, in assertFormat() 686 String pattern = "dd MMMM yyyy EEEE"; in test_parse_dd_MMMM_yyyy_EEEE() local 694 String pattern = "dd MMMM yyyy F"; in test_parse_dd_MMMM_yyyy_F() local 702 String pattern = "dd MMMM yyyy w"; in test_parse_dd_MMMM_yyyy_w() local 710 String pattern = "dd MMMM yyyy W"; in test_parse_dd_MMMM_yyyy_W() local 719 String pattern = "dd MMMM yyyy D"; in test_parse_dd_MMMM_yyyy_D() local 726 String pattern = "W w dd MMMM yyyy EEEE"; in test_parse_W_w_dd_MMMM_yyyy_EEEE() local 738 String pattern = "w W dd MMMM yyyy EEEE"; in test_parse_w_W_dd_MMMM_yyyy_EEEE() local 745 String pattern = "F dd MMMM yyyy EEEE"; in test_parse_F_dd_MMMM_yyyy_EEEE() local [all …]
|
D | Support_MessageFormat.java | 50 …String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} a… in t_format_with_FieldPosition() local 79 …String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} a… in t_formatToCharacterIterator() local
|
D | MessageFormatTest.java | 97 String pattern = "getLocale test {0,number,#,####}"; in test_getLocale() local 190 …String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#… in test_parseLjava_lang_String() local 262 …String pattern = "Date: {0,date} Currency: {1, number, currency} Integer: {2, number, integer}"; in test_formatLjava_lang_StringLjava_lang_Object() local 600 …String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s}."; in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 887 String pattern = "[{0}]"; in test_toPattern() local 900 …String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#… in setUp() local 959 final String pattern = "ab{0,choice,0#1'2''3'''4''''.}yz"; in test19011159() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneOffsetPrinter.java | 151 public void test_format(String pattern, String expected, ZoneOffset offset) throws Exception { in test_format() 158 public void test_toString(String pattern, String expected, ZoneOffset offset) throws Exception { in test_toString() 159 …assertEquals(getFormatter(pattern, "NO-OFFSET").toString(), "Offset(" + pattern + ",'NO-OFFSET')"); in test_toString() local
|
D | TestZoneOffsetParser.java | 89 …public void test_parse_error(String pattern, String noOffsetText, String text, int pos, Class<?> e… in test_parse_error() 232 …public void test_parse_exactMatch(String pattern, String parse, ZoneOffset expected) throws Except… in test_parse_exactMatch() 240 …public void test_parse_startStringMatch(String pattern, String parse, ZoneOffset expected) throws … in test_parse_startStringMatch() 248 …public void test_parse_midStringMatch(String pattern, String parse, ZoneOffset expected) throws Ex… in test_parse_midStringMatch() 256 …public void test_parse_endStringMatch(String pattern, String parse, ZoneOffset expected) throws Ex… in test_parse_endStringMatch() 264 …public void test_parse_exactMatch_EmptyUTC(String pattern, String parse, ZoneOffset expected) thro… in test_parse_exactMatch_EmptyUTC() 272 …public void test_parse_startStringMatch_EmptyUTC(String pattern, String parse, ZoneOffset expected… in test_parse_startStringMatch_EmptyUTC() 280 …public void test_parse_midStringMatch_EmptyUTC(String pattern, String parse, ZoneOffset expected) … in test_parse_midStringMatch_EmptyUTC() 288 …public void test_parse_endStringMatch_EmptyUTC(String pattern, String parse, ZoneOffset expected) … in test_parse_endStringMatch_EmptyUTC() 323 …public void test_parse_bigOffsets(String pattern, String parse, long offsetSecs) throws Exception { in test_parse_bigOffsets() [all …]
|
D | AbstractTestPrinterParser.java | 140 protected DateTimeFormatter getFormatter(String pattern, String noOffsetText) { in getFormatter() 144 protected DateTimeFormatter getPatternFormatter(String pattern) { in getPatternFormatter()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ReplaceTest.java | 29 String target, pattern, repl; in testSimpleReplace() local 43 String target, pattern, repl, s; in testCaptureReplace() local 76 String target, pattern, repl, s; in testEscapeReplace() local
|
D | MatcherTest.java | 104 String pattern = "a*b"; in testReplaceAll() local 139 String pattern = "dog"; in testReplaceFirst() local 475 String pattern = "a*b"; in testEnhancedFind() local 656 Pattern pattern = Pattern.compile("\\w+"); in testMatchesRegionChanged() local 703 Pattern pattern = Pattern.compile("(?s).*"); in testFindRegionChanged() local 718 Pattern pattern = Pattern.compile("c"); in testFindRegionChanged2() local 729 Pattern pattern = Pattern.compile("(?:\\d+)(?:pt)"); in testPatternMatcher() local 748 Pattern pattern = Pattern.compile(regexp); in testGeneralPunctuationCategory() local 790 Pattern pattern = Pattern.compile(regex); in hitEndTest() local
|
D | Pattern2Test.java | 944 Pattern pattern = Pattern in testCompile1() local 953 Pattern pattern = Pattern.compile(findString, 0); in testCompile2() local 1042 Pattern pattern = Pattern.compile(findString, 0); in testCompile4() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedFieldPrinter.java | 96 public void test_localizedDayOfWeek(String pattern, String expected) { in test_localizedDayOfWeek() 123 public void test_print_WeekBasedYear(String pattern, String expectedText, LocalDate date) { in test_print_WeekBasedYear()
|
D | TCKLocalizedFieldParser.java | 98 …public void test_parse_textField(String pattern, String text, int pos, int expectedPos, long expec… in test_parse_textField() 149 …public void test_parse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_textLocalDate() 186 …public void test_parse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_WeekBasedYear()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 156 private String pattern; field in FileHandler 284 public FileHandler(String pattern) throws IOException, SecurityException { in FileHandler() 316 public FileHandler(String pattern, boolean append) throws IOException, in FileHandler() 353 public FileHandler(String pattern, int limit, int count) in FileHandler() 392 public FileHandler(String pattern, int limit, int count, boolean append) in FileHandler() 567 private File generate(String pattern, int generation, int unique) in generate()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 539 private Scanner(Readable source, Pattern pattern) { in Scanner() 918 private String getCompleteTokenInBuffer(Pattern pattern) { in getCompleteTokenInBuffer() 1016 private String findPatternInBuffer(Pattern pattern, int horizon) { in findPatternInBuffer() 1062 private String matchPatternInBuffer(Pattern pattern) { in matchPatternInBuffer() 1147 public Scanner useDelimiter(Pattern pattern) { in useDelimiter() 1166 public Scanner useDelimiter(String pattern) { in useDelimiter() 1422 public boolean hasNext(String pattern) { in hasNext() 1440 public String next(String pattern) { in next() 1455 public boolean hasNext(Pattern pattern) { in hasNext() 1487 public String next(Pattern pattern) { in next() [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MessageFormat.java | 47 …String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} a… in t_format_with_FieldPosition() local 74 …String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} a… in t_formatToCharacterIterator() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 1175 final int pattern = 1; in test_format_LString$LObject_GeneralConversionB() local 1239 final int pattern = 1; in test_format_LString$LObject_GeneralConversionS() local 1446 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion() local 1564 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_ByteShortIntegerLongConversionD() local 1634 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_ByteShortIntegerLongConversionO() local 1704 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_ByteShortIntegerLongConversionX() local 2023 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() local 2485 final int pattern = 1; in test_formatLjava_lang_String$LBigInteger() local 2921 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE() local 3108 final int pattern = 1; in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionG() local [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 337 String pattern = CACHED_PATTERNS.get(key); in getBestDateTimePattern() local 357 public static char[] getDateFormatOrder(String pattern) { in getDateFormatOrder() 403 public static String transformIcuDateTimePattern_forJavaTime(String pattern) { in transformIcuDateTimePattern_forJavaTime() 414 public static String transformIcuDateTimePattern_forJavaText(String pattern) { in transformIcuDateTimePattern_forJavaText() 429 private static String transformIcuDateTimePattern(String pattern) { in transformIcuDateTimePattern() 460 private static String rewriteIcuDateTimePattern(String pattern) { in rewriteIcuDateTimePattern()
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 129 Pattern pattern; field in DefaultProxySelector.NonProxyInfo 138 NonProxyInfo(String p, String s, Pattern pattern, String d) { in NonProxyInfo() 371 static boolean shouldNotUseProxyFor(Pattern pattern, String urlhost) { in shouldNotUseProxyFor()
|
/libcore/ojluni/src/main/java/java/text/ |
D | MergeCollation.java | 69 public MergeCollation(String pattern) throws ParseException in MergeCollation() 163 public void setPattern(String pattern) throws ParseException in setPattern() 173 public void addPattern(String pattern) throws ParseException in addPattern()
|
D | DecimalFormat.java | 418 String pattern = LocaleData.get(def).numberPattern; in DecimalFormat() local 448 public DecimalFormat(String pattern) { in DecimalFormat() 478 public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { in DecimalFormat() 490 private void initPattern(String pattern) { in initPattern() 3538 public void applyPattern(String pattern) { in applyPattern() 3568 public void applyLocalizedPattern(String pattern) { in applyLocalizedPattern()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Blob.java | 130 long position(byte pattern[], long start) throws SQLException; in position() 149 long position(Blob pattern, long start) throws SQLException; in position()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 506 String pattern = "0\u2030"; in testPerMill() local 563 String pattern = "0%"; in testPercent() local 605 String pattern = "0;-0"; in testMinusSign() local 652 String pattern = "+0;-0"; in testPlusSign() local 708 private static DecimalFormat[] createDecimalFormatInstances(Locale locale, String pattern) { in createDecimalFormatInstances() 846 private void assertParseError(String pattern, String input) { in assertParseError() 859 private static void assertParsedAndConsumedAll(String pattern, String input, Number expected) { in assertParsedAndConsumedAll() 863 private static void assertParsed(String pattern, String input, Number expected, in assertParsed()
|
/libcore/luni/src/test/resources/bundles/java/util/logging/ |
D | res_en_US.properties | 11 pattern=US_pattern {0, number} key
|
D | res.properties | 11 pattern=US_pattern {0, number} key
|
D | res3.properties | 11 pattern=pattern {0, number}3 key
|
D | res_zh_CN.properties | 11 pattern=ZH_CN_pattern {0, number} key
|