/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
H A D | MatcherTest.java | 20 import java.util.regex.Matcher; 45 Matcher m = p.matcher("axxxxxa"); 80 Matcher m = pat.matcher("Today is XX-XX-XX ..."); 92 Matcher m = p.matcher("xx $ equals to xx rur."); 106 Matcher mat = pat.matcher(input); 113 Matcher m = p.matcher("abcd"); 127 Matcher m = p.matcher("one\\cat\\two\\cats\\in\\the\\yard"); 141 Matcher mat = pat.matcher(input); 168 Matcher mat = test.matcher(positiveTestString); 193 Matcher ma [all...] |
H A D | ReplaceTest.java | 19 import java.util.regex.Matcher; 36 Matcher m = p.matcher(target); 45 Matcher m;
|
H A D | Matcher2Test.java | 19 import java.util.regex.Matcher; 26 * Tests Matcher methods 32 Matcher m = p.matcher("bar"); 39 Matcher m = p.matcher("bar"); 90 Matcher m = p.matcher("foo1barzfoo2baryfoozbar5"); 227 Matcher mat = pat.matcher(str);
|
H A D | ModeTest.java | 19 import java.util.regex.Matcher; 32 Matcher m; 59 Matcher m;
|
H A D | Pattern2Test.java | 19 import java.util.regex.Matcher; 26 * Tests simple Pattern compilation and Matcher methods 33 Matcher m1 = p.matcher("foo123"); 38 Matcher m2 = p.matcher("fox"); 53 Matcher m; 108 Matcher m; 161 Matcher m; 208 Matcher m; 410 Matcher m; 677 Matcher [all...] |
/libcore/luni/src/main/native/ |
H A D | java_util_regex_Matcher.cpp | 17 #define LOG_TAG "Matcher" 264 NATIVE_METHOD(Matcher, getMatchedGroupIndex0, "(JLjava/lang/String;)I"), 265 NATIVE_METHOD(Matcher, findImpl, "(JI[I)Z"), 266 NATIVE_METHOD(Matcher, findNextImpl, "(J[I)Z"), 267 NATIVE_METHOD(Matcher, getNativeFinalizer, "()J"), 268 NATIVE_METHOD(Matcher, groupCountImpl, "(J)I"), 269 NATIVE_METHOD(Matcher, hitEndImpl, "(J)Z"), 270 NATIVE_METHOD(Matcher, lookingAtImpl, "(J[I)Z"), 271 NATIVE_METHOD(Matcher, matchesImpl, "(J[I)Z"), 272 NATIVE_METHOD(Matcher, nativeSiz [all...] |
/libcore/luni/src/test/java/libcore/java/util/regex/ |
H A D | OldMatcherTest.java | 21 import java.util.regex.Matcher; 32 Matcher m = pat.matcher("Today is XX-XX-XX ..."); 67 Matcher mat = pat.matcher(testString1); 78 Matcher m = p.matcher("one-cat-two-cats-in-the-yard"); 115 Matcher mat = pat.matcher(testString); 126 Matcher mat = pat.matcher(testString); 128 assertTrue("Matcher uses anchoring bound by default", 131 Matcher mu = mat.useAnchoringBounds(true); 144 Matcher mat = pat.matcher(testString); 146 assertFalse("Matcher use [all...] |
H A D | OldAndroidRegexTest.java | 19 import java.util.regex.Matcher; 25 /* Tests class Matcher */ 28 Matcher m = p.matcher("bcd"); 89 Matcher m = p.matcher("1 (919) 555-1212"); 97 Matcher m = p.matcher("abcdefg"); 112 Matcher m = p.matcher("abc"); 129 Matcher m = p.matcher("fooaabfooaabfooabfoob"); 145 Matcher m = p.matcher("fooaabfooaabfooabfoob"); 260 Matcher m = EMAIL_ADDRESS_PATTERN.matcher("donot repeate@RC8jjjjjjjjjjjjjjj");
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
H A D | ReplaceTest.java | 21 import java.util.regex.Matcher; 33 Matcher m = p.matcher(target); 42 Matcher m;
|
H A D | Matcher2Test.java | 23 * Tests Matcher methods 30 Matcher m = p.matcher("bar"); 37 Matcher m = p.matcher("bar"); 88 Matcher m = p.matcher("foo1barzfoo2baryfoozbar5"); 225 Matcher mat = pat.matcher(str);
|
H A D | ModeTest.java | 21 import java.util.regex.Matcher; 32 Matcher m; 60 Matcher m;
|
H A D | PatternTest.java | 21 import java.util.regex.Matcher; 220 Matcher mat; 505 java.util.regex.Matcher mat = pat.matcher("aaab"); 555 Matcher m = p.matcher("GMT-9:45"); 627 Matcher mat = pat.matcher("{]()*?"); 715 Matcher mat = pat.matcher("a\n"); 723 Matcher mat = pat.matcher("aAa"); 731 Matcher mat = pat.matcher("a\naA\n"); 739 Matcher mat = pat.matcher("A\n"); 747 Matcher ma [all...] |
H A D | Pattern2Test.java | 19 import java.util.regex.Matcher; 26 * Tests simple Pattern compilation and Matcher methods 133 Matcher m; 186 Matcher m; 254 Matcher m;
|
/libcore/ojluni/src/main/java/java/util/regex/ |
H A D | Matcher.java | 106 public final class Matcher implements MatchResult { class in inherits:MatchResult 108 * The Pattern object that created this Matcher. 124 Matcher.class.getClassLoader(), getNativeFinalizer(), nativeSize()); 172 Matcher(Pattern parent, CharSequence text) { method in class:Matcher 200 * Changes the <tt>Pattern</tt> that this <tt>Matcher</tt> uses to 215 public Matcher usePattern(Pattern newPattern) { 530 * <code>appendReplacement</code> method of the {@link Matcher} class. 603 * Matcher m = p.matcher("one cat two cats in the yard"); 631 public Matcher appendReplacement(StringBuffer sb, String replacement) { 822 public Matcher regio [all...] |
H A D | Pattern.java | 47 * a {@link Matcher} object that can match arbitrary {@link 56 * Matcher m = p.{@link #matcher matcher}("aaaaab"); 57 * boolean b = m.{@link Matcher#matches matches}();</pre></blockquote> 71 * concurrent threads. Instances of the {@link Matcher} class are not safe for 737 * by the {@link Matcher} class: Repeated invocations of the {@link 738 * Matcher#find find} method will resume where the last match left off, 1005 public Matcher matcher(CharSequence input) { 1006 Matcher m = new Matcher(this, input); 1047 Matcher [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | SchemePrefixBenchmark.java | 21 import java.util.regex.Matcher; 60 Matcher matcher = pattern.matcher(spec);
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | BlockGuardOsTest.java | 28 import java.util.regex.Matcher; 160 Matcher methodPatternMatcher = pattern.matcher(methodSignature);
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | CpuFeatures.java | 26 import java.util.regex.Matcher; 68 Matcher m = p.matcher(line);
|
/libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/ |
H A D | DistroVersion.java | 21 import java.util.regex.Matcher; 95 Matcher matcher = DISTRO_VERSION_PATTERN.matcher(distroVersion);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | Debug.java | 30 import java.util.regex.Matcher; 216 Matcher matcher = pattern.matcher(source);
|
H A D | DisabledAlgorithmConstraints.java | 40 import java.util.regex.Matcher; 278 Matcher matcher = keySizePattern.matcher(entry);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimeZone.java | 45 import java.util.regex.Matcher; 621 Matcher m = NoImagePreloadHolder.CUSTOM_ZONE_ID_PATTERN.matcher(id);
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 42 import java.util.regex.Matcher; 220 Matcher m = null; 271 Matcher m2 = linkp.matcher(filename); 385 Matcher m = transPat.matcher(response); 595 Matcher m = epsvPat.matcher(serverAnswer); 632 Matcher m = pasvPat.matcher(serverAnswer);
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Period.java | 90 import java.util.regex.Matcher; 324 Matcher matcher = PATTERN.matcher(text);
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | SecureRandom.java | 714 Matcher m;
|