Searched refs:find (Results 1 - 25 of 32) 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()) {
332 while (mat.find()) {
347 while (mat2.find()) {
388 mat.find();
557 assertTrue(mat.find());
614 matcher.find();
619 matcher.find();
633 assertFalse(matcher.find());
[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/luni/src/test/java/libcore/java/util/regex/
H A DOldMatcherTest.java34 for (int i = 0; m.find(); i++) {
44 m.find();
52 m.find();
68 while (mat.find());
70 assertFalse("After reset matcher should not find pattern in given input", mat.find());
72 assertTrue("After reset matcher should find pattern in given input", mat.find());
79 while (m.find()) {
88 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/
H A Drun-libcore-tests10 all_test_packages=$(find `dirname $0`/*/src/test -name "*.java" | \
H A DDocs.mk12 $(call find-files-in-subdirs, libcore, \
15 $(call find-files-in-subdirs, libcore, \
H A DCaCerts.mk23 find $(1) -type f) \
H A DJavaLibrary.mk41 $(foreach dir,$(1),$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(dir)/src/main/java -name "*.java" 2> /dev/null)))
45 $(foreach dir,$(1),$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(dir)/src/test/java -name "*.java" 2> /dev/null)))
/libcore/benchmarks/src/benchmarks/regression/
H A DSchemePrefixBenchmark.java62 if (matcher.find()) {
/libcore/luni/src/main/java/java/util/regex/
H A DMatcher.java59 * Reflects whether a match has been found during the most recent find
97 * method can be used in conjunction with {@link #find()} and
155 * whole input. Results of a previous find get lost. The next attempt to
156 * find an occurrence of the {@link Pattern} in the string will start at the
167 * region being set to the whole input. Results of a previous find get lost.
168 * The next attempt to find an occurrence of the {@link Pattern} in the
182 * specified. Results of a previous find get lost. The next attempt to find
217 * Sets a new pattern for the {@code Matcher}. Results of a previous find
218 * get lost. The next attempt to find a
337 public boolean find(int start) { method in class:Matcher
356 public boolean find() { method in class:Matcher
[all...]
H A DSplitter.java120 while (list.size() + 1 != limit && matcher.find()) {
/libcore/luni/src/main/native/
H A Dcanonicalize_path.cpp65 size_t nextSlash = left.find('/');
H A Djava_util_regex_Matcher.cpp126 UBool result = matcher->find(startIndex, matcher.status());
138 UBool result = matcher->find();
/libcore/luni/src/main/java/java/util/
H A DTreeMap.java240 Node<K, V> created = find(key, Relation.CREATE);
251 Node<K, V> find(K key, Relation relation) { method in class:TreeMap
351 return find((K) key, EQUAL);
636 return immutableCopy(find(key, LOWER));
640 Entry<K, V> entry = find(key, LOWER);
645 return immutableCopy(find(key, FLOOR));
649 Entry<K, V> entry = find(key, FLOOR);
654 return immutableCopy(find(key, CEILING));
658 Entry<K, V> entry = find(key, CEILING);
663 return immutableCopy(find(ke
[all...]
H A DScanner.java99 // The position where find begins.
102 // The last find start position.
303 * Tries to find the pattern in the input. Delimiters are ignored. If the
311 * the pattern to find in the input.
328 if (matcher.find()) {
358 if (matcher.find()) {
396 * Compiles the pattern string and tries to find a substring matching it in the input data. The
414 * Tries to find the pattern in the input between the current position and the specified
462 // First, try to find pattern within buffer. If pattern can not be
466 if (matcher.find()) {
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DResourceBundleTest.java163 String s = bb.find("nonexistent");
164 s = bb.find("name");

Completed in 517 milliseconds

12