Searched refs:find (Results 1 - 25 of 43) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
H A DI.java21 String find(String key); method in interface:I
H A DA.java27 public String find(String key) { method in class:A
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DModeTest.java36 assertTrue(m.find());
38 assertFalse(m.find());
42 assertTrue(m.find());
44 assertTrue(m.find());
46 assertFalse(m.find());
50 assertTrue(m.find());
52 assertTrue(m.find());
54 assertFalse(m.find());
63 assertTrue(m.find());
65 assertFalse(m.find());
[all...]
H A DPattern2Test.java35 assertTrue(m1.find(0));
40 assertFalse(m2.find(0));
59 assertTrue(m.find());
62 assertFalse(m.find());
66 assertTrue(m.find());
69 assertFalse(m.find());
72 assertTrue(m.find());
75 assertFalse(m.find());
78 assertTrue(m.find());
81 assertFalse(m.find());
[all...]
H A DMatcherTest.java83 for (int i = 0; m.find(); i++) {
94 for (int i = 1; m.find(); i *= 30) {
129 while (m.find()) {
162 * Ensures {@link Matcher#find(int)} resets the matcher state and creates a new snapshot of the
163 * original CharSequence before doing the find. http://b/38021063
166 // Assert that find() doesn't reset the matcher by doing multiple find() calls on the same
171 assertTrue(m.find());
173 assertTrue(m.find());
176 // Assert that find(in
[all...]
H A DMatcher2Test.java92 assertTrue(m.find());
136 assertTrue(m.find());
180 assertFalse(m.find());
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DModeTest.java36 assertTrue(m.find());
38 assertFalse(m.find());
43 assertTrue(m.find());
45 assertTrue(m.find());
47 assertFalse(m.find());
52 assertTrue(m.find());
54 assertTrue(m.find());
56 assertFalse(m.find());
64 assertTrue(m.find());
66 assertFalse(m.find());
[all...]
H A DPatternTest.java386 * since could not find that info
717 mat.find();
725 mat.find();
733 mat.find();
741 mat.find();
751 for (; mat.find(); k++) {
761 for (; mat.find(); k++) {
771 for (; mat.find(); k++) {
787 while (mat.find()) {
817 while (mat.find()) {
[all...]
H A DMatcher2Test.java90 assertTrue(m.find());
134 assertTrue(m.find());
178 assertFalse(m.find());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
H A DI.java4 String find(String key); method in interface:I
H A DA.java10 public String find(String key) { method in class:A
/libcore/annotations/
H A Dgenerate_annotated_java_files.py23 current_package = line[len(PACKAGE_STRING): line.find(':')]
25 current_class = line[len(CLASS_STRING): line.find(':')]
28 nested_class_separator_index = current_class.find('$')
/libcore/luni/src/test/java/libcore/java/util/regex/
H A DOldMatcherTest.java35 for (int i = 0; m.find(); i++) {
45 m.find();
53 m.find();
69 while (mat.find());
71 assertFalse("After reset matcher should not find pattern in given input", mat.find());
73 assertTrue("After reset matcher should find pattern in given input", mat.find());
80 while (m.find()) {
89 while (m.find()) {
[all...]
H A DOldAndroidRegexTest.java44 /* Make sure matches() doesn't change after calls to find() */
48 assertTrue(m.find());
54 assertTrue(m.find());
99 /* Must call find() first, otherwise group*() are undefined. */
100 assertTrue(m.find());
114 assertTrue(m.find());
117 assertTrue(m.find());
120 assertTrue(m.find());
123 assertFalse(m.find());
261 assertFalse(m.find());
[all...]
/libcore/ojluni/src/test/
H A Dgen-test-list23 test_property_files="$(find "$DIR" -name TEST.properties)"
61 find "$1" -name "*.java" | class_name_from_class_file
/libcore/ojluni/src/main/java/sun/security/util/
H A DAlgorithmDecomposer.java136 private static void hasLoop(Set<String> elements, String find, String replace) { argument
137 if (elements.contains(find)) {
141 elements.remove(find);
H A DDebug.java254 while (matcher.find()) {
278 while (matcher.find()) {
/libcore/
H A Drun-libcore-tests10 all_test_packages=$(find `dirname $0`/*/src/test -name "*.java" | \
H A DDocs.mk12 $(call find-files-in-subdirs, external/icu, \
/libcore/ojluni/src/main/java/sun/misc/
H A DRegexpPool.java111 p = p.find(re.charAt(i));
121 p = p.find(re.charAt(i));
157 /** Identical to match except that it will only find matches to
211 p = p.find(s.charAt(i));
222 p = p.find(s.charAt(i));
294 RegexpNode find(char C) { method in class:RegexpNode
/libcore/benchmarks/src/benchmarks/regression/
H A DSchemePrefixBenchmark.java61 if (matcher.find()) {
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpReplyCode.java240 public static FtpReplyCode find(int v) { method in class:FtpReplyCode
/libcore/ojluni/src/main/java/java/util/regex/
H A DMatcher.java48 * <li><p> The {@link #find find} method scans the input sequence looking for
162 * Reflects whether a match has been found during the most recent find
214 * find matches with.
466 * Attempts to find the next subsequence of the input sequence that matches
480 public boolean find() { method in class:Matcher
488 * Resets this matcher and then attempts to find the next subsequence of
494 * invocations of the {@link #find()} method will start at the first
505 public boolean find(int start) { method in class:Matcher
611 * {@link #appendTail appendTail} and {@link #find fin
[all...]
H A DPattern.java741 * Matcher#find find} method will resume where the last match left off,
1127 while(m.find()) {
1359 return s -> matcher(s).find();
1432 while (matcher.find()) {
/libcore/luni/src/main/native/
H A Djava_util_regex_Matcher.cpp169 UBool result = state->matcher()->find(startIndex, state->status());
178 UBool result = state->matcher()->find();

Completed in 400 milliseconds

12