/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ModeTest.java | 37 assertTrue(m.find()); in testCase() 39 assertFalse(m.find()); in testCase() 44 assertTrue(m.find()); in testCase() 46 assertTrue(m.find()); in testCase() 48 assertFalse(m.find()); in testCase() 53 assertTrue(m.find()); in testCase() 55 assertTrue(m.find()); in testCase() 57 assertFalse(m.find()); in testCase() 66 assertTrue(m.find()); in testMultiline() 68 assertFalse(m.find()); in testMultiline() [all …]
|
D | Pattern2Test.java | 35 assertTrue(m1.find(0)); in testSimpleMatch() 40 assertFalse(m2.find(0)); in testSimpleMatch() 59 assertTrue(m.find()); in testCursors() 62 assertFalse(m.find()); in testCursors() 66 assertTrue(m.find()); in testCursors() 69 assertFalse(m.find()); in testCursors() 72 assertTrue(m.find()); in testCursors() 75 assertFalse(m.find()); in testCursors() 78 assertTrue(m.find()); in testCursors() 81 assertFalse(m.find()); in testCursors() [all …]
|
D | MatcherTest.java | 83 for (int i = 0; m.find(); i++) { in testAppendReplacement() 94 for (int i = 1; m.find(); i *= 30) { in testAppendReplacementRef() 129 while (m.find()) { in testAppendSlashes() 189 assertTrue(m.find()); in testFind_invokeReset() 191 assertTrue(m.find()); in testFind_invokeReset() 195 assertTrue(m.find(0)); in testFind_invokeReset() 201 assertTrue(m.find(0)); in testFind_invokeReset() 213 assertTrue(m.find()); in testReset_resetStringCache() 217 assertFalse(m.find()); in testReset_resetStringCache() 391 while (mat.find()) { in testFind() [all …]
|
D | Matcher2Test.java | 92 assertTrue(m.find()); in testErrorConditions2() 136 assertTrue(m.find()); in testErrorConditions2() 180 assertFalse(m.find()); in testErrorConditions2() 234 matcher.find(); in testAppendReplacement_replacementEndsWithBackslash() 244 matcher.find(); in testAppendReplacement_replacementEndsWithDollar()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldMatcherTest.java | 35 for (int i = 0; m.find(); i++) { in testAppendReplacement() 45 m.find(); in testAppendReplacement() 53 m.find(); in testAppendReplacement() 69 while (mat.find()); in test_resetLjava_lang_String() 71 assertFalse("After reset matcher should not find pattern in given input", mat.find()); in test_resetLjava_lang_String() 73 assertTrue("After reset matcher should find pattern in given input", mat.find()); in test_resetLjava_lang_String() 80 while (m.find()) { in testAppendTail() 89 while (m.find()) { in testAppendTail() 99 while (m.find()) { in testAppendTail() 117 while (mat.find()); in test_reset() [all …]
|
D | MatcherTest.java | 53 assertTrue(m.find()); in testAppendEvaluated() 58 assertTrue(m.find()); in testAppendEvaluated() 72 assertTrue(m.find()); in testAppendExpandedReplacement() 80 assertTrue(m.find()); in testAppendExpandedReplacement() 95 assertTrue(m.find()); in testAppendReplacement() 103 assertTrue(m.find()); in testAppendReplacement()
|
D | OldAndroidRegexTest.java | 48 assertTrue(m.find()); in testMatches() 54 assertTrue(m.find()); in testMatches() 100 assertTrue(m.find()); in testGroups() 114 assertTrue(m.find()); in testFind() 117 assertTrue(m.find()); in testFind() 120 assertTrue(m.find()); in testFind() 123 assertFalse(m.find()); in testFind() 261 assertFalse(m.find()); in testMonsterRegexPerformance()
|
/libcore/ojluni/src/test/java/util/regex/ |
D | RegExTest.java | 117 m.find(); in check() 122 m.find(); in check() 127 assertEquals(p.matcher(s).find(), expected); in check() 132 assertEquals(matcher.find(), expected); in check() 140 assertTrue(matcher.find()); in check() 148 assertTrue(matcher.find()); in check() 164 m.find(); in check() 268 assertTrue(matcher.find(), "Surrogate pair in Unicode escape"); in surrogatesInClassTest() 281 assertTrue(matcher.find(), "Remove Q/E Quoting"); in removeQEQuotingTest() 292 matcher.find(); in toMatchResultTest() [all …]
|
D | PatternStreamTest.java | 178 while (m.find()) { in testReplaceAll() 191 while (m.find()) { in testMatchResults() 221 m.find(); in testFailfastMatchResults() 237 m.results().peek(mr -> m.find()).count(); in testFailfastMatchResults() 255 m.results().peek(mr -> m.find()).limit(2).count(); in testFailfastMatchResults()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternTest.java | 838 mat.find(); in testFindBoundaryCases1() 846 mat.find(); in testFindBoundaryCases2() 854 mat.find(); in testFindBoundaryCases3() 862 mat.find(); in testFindBoundaryCases4() 872 for (; mat.find(); k++) { in testFindBoundaryCases5() 882 for (; mat.find(); k++) { in testFindBoundaryCases6() 892 for (; mat.find(); k++) { in testBackReferences() 908 while (mat.find()) { in testNewLine() 938 while (mat.find()) { in testSOLQuant() 1168 assertTrue(Pattern.compile(pattern).matcher(baseString).find()); in testMatchWithGroups15() [all …]
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 679 public boolean find() { in find() method in Matcher 706 public boolean find(int start) { in find() method in Matcher 712 matchFound = nativeMatcher.find(start, groups); in find() 1238 boolean result = find(); in replaceAll() 1243 result = find(); in replaceAll() 1312 boolean result = find(); in replaceAll() 1321 result = find(); in replaceAll() 1387 boolean found = find(); in results() 1410 if (s < 0 && !find()) in results() 1421 } while (find()); in results() [all …]
|
D | Pattern.java | 1131 while(m.find()) { in split() 5654 return s -> matcher(s).find(); in asPredicate() 5759 while (matcher.find()) { in splitAsStream()
|
/libcore/ojluni/src/tools/build/tools/spp/ |
D | Spp.java | 126 while (vardef.find()) { in append() 138 while (vardef2.reset(repl).find()) { in append() 169 if (ifkey.reset(ln).find()) { in spp() 180 if (elsekey.reset(ln).find()) { in spp() 187 if (endkey.reset(ln).find()) { in spp()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | AlgorithmDecomposer.java | 156 private static void hasLoop(Set<String> elements, String find, String replace) { in hasLoop() argument 157 if (elements.contains(find)) { in hasLoop() 161 elements.remove(find); in hasLoop()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
D | I.java | 21 String find(String key); in find() method
|
D | A.java | 27 public String find(String key) { in find() method in A
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/ |
D | I.java | 4 String find(String key); in find() method
|
D | A.java | 10 public String find(String key) { in find() method in A
|
/libcore/ojluni/src/test/ |
D | gen-test-list | 61 find "$1" -name "*.java" | class_name_from_class_file
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | build.sh | 44 find classes -type f | xargs d8 --output . # Creates classes.dex
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | build.sh | 50 d8 --output . --classpath classes2 $(find classes -type f) # Creates classes.dex
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 102 public boolean find() { in find() method in Matcher 106 public boolean find(int start) { in find() method in Matcher
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SchemePrefixBenchmark.java | 61 if (matcher.find()) { in REGEX()
|
/libcore/tools/expected_upstream/ |
D | ojluni_versions_report.py | 26 index = git_ref.find('/')
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpReplyCode.java | 240 public static FtpReplyCode find(int v) { in find() method in FtpReplyCode
|