Searched refs:patterns (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/text/ |
D | MergeCollation.java | 93 for (i = 0; i < patterns.size(); ++i) { in getPattern() 94 PatternEntry entry = patterns.get(i); in getPattern() 124 PatternEntry entry = patterns.get(i); in findLastWithNoExtension() 150 for (int i = 0; i < patterns.size(); ++i) in emitPattern() 152 PatternEntry entry = patterns.get(i); in emitPattern() 165 patterns.clear(); in setPattern() 192 return patterns.size(); in getCount() 201 return patterns.get(index); in getItemAt() 207 ArrayList<PatternEntry> patterns = new ArrayList<>(); // a list of PatternEntries field in MergeCollation 267 oldIndex = patterns.lastIndexOf(newEntry); in fixEntry() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 172 String [] patterns = {"[hw\\p{Upper}]", "(o|l){2,}", "([\'\"]?)(\\d+)", in test_replaceAll() local 179 for(int i = 0; i < patterns.length; i++) { in test_replaceAll() 181 results[i], str.replaceAll(patterns[i], "?")); in test_replaceAll() 195 String [] patterns = {"[hw\\p{Upper}]", "(o|l){2,}", "([\'\"]?)(\\d+)", in test_replaceFirst() local 202 for(int i = 0; i < patterns.length; i++) { in test_replaceFirst() 204 results[i], str.replaceFirst(patterns[i], "?")); in test_replaceFirst() 218 String [] patterns = {"[!.1]", "(\\d+).*e(l+)o.*orld"}; in test_splitLString() local 223 for(int i = 0; i < patterns.length; i++) { in test_splitLString() 225 patterns[i], Arrays.equals(results[i], str.split(patterns[i]))); in test_splitLString() 457 String[] patterns = { in test_matches() local [all …]
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 107 private static Pattern[] patterns; field in FtpClient 146 patterns = new Pattern[patStrings.length]; 148 patterns[i] = Pattern.compile(patStrings[i]); 220 for (int j = 0; j < patterns.length; j++) { in parseLine() 221 m = patterns[j].matcher(line); in parseLine()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 753 String[] patterns = new String[] { "0", "#0", "#.", "#", ".#", "#.#", "#,##0.00", in testDefaultGetMaximumIntegerDigits() local 756 for (String pattern : patterns) { in testDefaultGetMaximumIntegerDigits()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternTest.java | 587 String[] patterns = { "5{,2}", "{5asd", "{hgdhg", "{5,hjkh", "{,5hdsh", in testQuantCompileNeg() local 589 for (String element : patterns) { in testQuantCompileNeg() 609 String[] patterns = {/* "(abc){1,3}", */"abc{2,}", "abc{5}" }; in testQuantCompilePos() local 610 for (String element : patterns) { in testQuantCompilePos()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 936 String[] patterns = { in test_applyPattern_icu2GroupingSizes() local 953 for (int i = 0; i < patterns.length; i++) { in test_applyPattern_icu2GroupingSizes() 954 decFormat.applyPattern(patterns[i]); in test_applyPattern_icu2GroupingSizes() 956 assertEquals("Failed to apply following pattern: " + patterns[i] + in test_applyPattern_icu2GroupingSizes()
|