Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 47) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DModeTest.java37 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 …]
DPattern2Test.java35 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 …]
DMatcherTest.java83 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 …]
DMatcher2Test.java92 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/
DOldMatcherTest.java35 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 …]
DOldAndroidRegexTest.java48 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/luni/src/test/native/
Dlibcore_libcore_util_NativeAllocationRegistryTest.cpp63 is_native_bridged_abi = uname_string.find("86") == std::string::npos; in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI()
65 is_native_bridged_abi = uname_string.find("arm") == std::string::npos && in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI()
66 uname_string.find("aarch64") == std::string::npos; in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI()
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java830 mat.find(); in testFindBoundaryCases1()
838 mat.find(); in testFindBoundaryCases2()
846 mat.find(); in testFindBoundaryCases3()
854 mat.find(); in testFindBoundaryCases4()
864 for (; mat.find(); k++) { in testFindBoundaryCases5()
874 for (; mat.find(); k++) { in testFindBoundaryCases6()
884 for (; mat.find(); k++) { in testBackReferences()
900 while (mat.find()) { in testNewLine()
930 while (mat.find()) { in testSOLQuant()
1160 assertTrue(Pattern.compile(pattern).matcher(baseString).find()); in testMatchWithGroups15()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DAlgorithmDecomposer.java136 private static void hasLoop(Set<String> elements, String find, String replace) { in hasLoop() argument
137 if (elements.contains(find)) { in hasLoop()
141 elements.remove(find); in hasLoop()
DDebug.java254 while (matcher.find()) { in marshal()
278 while (matcher.find()) { in marshal()
/libcore/ojluni/src/main/java/sun/misc/
DRegexpPool.java111 p = p.find(re.charAt(i)); in delete()
121 p = p.find(re.charAt(i)); in delete()
211 p = p.find(s.charAt(i)); in matchAfter()
222 p = p.find(s.charAt(i)); in matchAfter()
294 RegexpNode find(char C) { in find() method in RegexpNode
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java547 public boolean find() { in find() method in Matcher
573 public boolean find(int start) { in find() method in Matcher
579 matchFound = nativeMatcher.find(start, groups); in find()
839 boolean result = find(); in replaceAll()
844 result = find(); in replaceAll()
889 if (!find()) in replaceFirst()
DPattern.java1155 while(m.find()) { in split()
1440 return s -> matcher(s).find(); in asPredicate()
1513 while (matcher.find()) { in splitAsStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
DI.java21 String find(String key); in find() method
DA.java27 public String find(String key) { in find() method in A
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DI.java4 String find(String key); in find() method
DA.java10 public String find(String key) { in find() method in A
/libcore/ojluni/src/test/
Dgen-test-list61 find "$1" -name "*.java" | class_name_from_class_file
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/
DMatcher.annotated.java68 public boolean find() { throw new RuntimeException("Stub!"); } in find() method in Matcher
70 public boolean find(int start) { throw new RuntimeException("Stub!"); } in find() method in Matcher
/libcore/luni/src/test/etc/loading-test2-jar/
Dbuild.sh44 find classes -type f | xargs d8 --output . # Creates classes.dex
/libcore/luni/src/test/etc/loading-test-jar/
Dbuild.sh50 d8 --output . --classpath classes2 $(find classes -type f) # Creates classes.dex
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java61 if (matcher.find()) { in REGEX()
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java102 public boolean find() { in find() method in Matcher
106 public boolean find(int start) { in find() method in Matcher
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java77 boolean found = m.find(); in run()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpReplyCode.java240 public static FtpReplyCode find(int v) { in find() method in FtpReplyCode

12