/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | MatcherTest.java | 20 import java.util.regex.Matcher; 45 Matcher m = p.matcher("axxxxxa"); in testRegionsIntInt() 80 Matcher m = pat.matcher("Today is XX-XX-XX ..."); in testAppendReplacement() 92 Matcher m = p.matcher("xx $ equals to xx rur."); in testAppendReplacementRef() 106 Matcher mat = pat.matcher(input); in testReplaceAll() 113 Matcher m = p.matcher("abcd"); in testResetCharSequence() 127 Matcher m = p.matcher("one\\cat\\two\\cats\\in\\the\\yard"); in testAppendSlashes() 141 Matcher mat = pat.matcher(input); in testReplaceFirst() 168 Matcher mat = test.matcher(positiveTestString); in testGroupint() 193 Matcher mat = test.matcher(positiveTestString); in testGroupint() [all …]
|
D | Matcher2Test.java | 19 import java.util.regex.Matcher; 32 Matcher m = p.matcher("bar"); in test_toString() 39 Matcher m = p.matcher("bar"); in testErrorConditions() 90 Matcher m = p.matcher("foo1barzfoo2baryfoozbar5"); in testErrorConditions2() 227 Matcher mat = pat.matcher(str); in testReplacementBackSlash()
|
D | ReplaceTest.java | 19 import java.util.regex.Matcher; 36 Matcher m = p.matcher(target); in testSimpleReplace() 45 Matcher m; in testCaptureReplace()
|
D | ModeTest.java | 19 import java.util.regex.Matcher; 32 Matcher m; in testCase() 59 Matcher m; in testMultiline()
|
D | Pattern2Test.java | 19 import java.util.regex.Matcher; 33 Matcher m1 = p.matcher("foo123"); in testSimpleMatch() 38 Matcher m2 = p.matcher("fox"); in testSimpleMatch() 53 Matcher m; in testCursors() 108 Matcher m; in testGroups() 161 Matcher m; in testReplace() 208 Matcher m; in testEscapes() 410 Matcher m; in testCharacterClasses() 677 Matcher m; in testPOSIXGroups() 818 Matcher m; in testUnicodeBlocks() [all …]
|
/libcore/luni/src/main/native/ |
D | java_util_regex_Matcher.cpp | 211 NATIVE_METHOD(Matcher, findImpl, "(JLjava/lang/String;I[I)Z"), 212 NATIVE_METHOD(Matcher, findNextImpl, "(JLjava/lang/String;[I)Z"), 213 NATIVE_METHOD(Matcher, getNativeFinalizer, "()J"), 214 NATIVE_METHOD(Matcher, groupCountImpl, "(J)I"), 215 NATIVE_METHOD(Matcher, hitEndImpl, "(J)Z"), 216 NATIVE_METHOD(Matcher, lookingAtImpl, "(JLjava/lang/String;[I)Z"), 217 NATIVE_METHOD(Matcher, matchesImpl, "(JLjava/lang/String;[I)Z"), 218 NATIVE_METHOD(Matcher, nativeSize, "()I"), 219 NATIVE_METHOD(Matcher, openImpl, "(J)J"), 220 NATIVE_METHOD(Matcher, requireEndImpl, "(J)Z"), [all …]
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldMatcherTest.java | 21 import java.util.regex.Matcher; 31 Matcher m = pat.matcher("Today is XX-XX-XX ..."); in testAppendReplacement() 66 Matcher mat = pat.matcher(testString1); in test_resetLjava_lang_String() 77 Matcher m = p.matcher("one-cat-two-cats-in-the-yard"); in testAppendTail() 114 Matcher mat = pat.matcher(testString); in test_reset() 125 Matcher mat = pat.matcher(testString); in test_hasAnchoringBounds() 130 Matcher mu = mat.useAnchoringBounds(true); in test_hasAnchoringBounds() 143 Matcher mat = pat.matcher(testString); in test_hasTransparentBounds() 148 Matcher mu = mat.useTransparentBounds(true); in test_hasTransparentBounds() 161 Matcher mat = pat.matcher(testString); in test_startI() [all …]
|
D | OldAndroidRegexTest.java | 19 import java.util.regex.Matcher; 28 Matcher m = p.matcher("bcd"); in testMatches() 89 Matcher m = p.matcher("1 (919) 555-1212"); in testGroupCount() 97 Matcher m = p.matcher("abcdefg"); in testGroups() 112 Matcher m = p.matcher("abc"); in testFind() 129 Matcher m = p.matcher("fooaabfooaabfooabfoob"); in testReplaceAll() 145 Matcher m = p.matcher("fooaabfooaabfooabfoob"); in testReplaceFirst() 260 Matcher m = EMAIL_ADDRESS_PATTERN.matcher("donot repeate@RC8jjjjjjjjjjjjjjj"); in testMonsterRegexPerformance()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 106 public final class Matcher implements MatchResult { class 124 Matcher.class.getClassLoader(), getNativeFinalizer(), nativeSize()); 172 Matcher(Pattern parent, CharSequence text) { in Matcher() method in Matcher 215 public Matcher usePattern(Pattern newPattern) { in usePattern() 599 public Matcher appendReplacement(StringBuffer sb, String replacement) { in appendReplacement() 772 public Matcher region(int start, int end) { in region() 849 public Matcher useTransparentBounds(boolean value) { in useTransparentBounds() 898 public Matcher useAnchoringBounds(boolean value) { in useAnchoringBounds() 976 public Matcher reset() { in reset() 994 public Matcher reset(CharSequence input) { in reset() [all …]
|
D | Pattern.java | 1005 public Matcher matcher(CharSequence input) { in matcher() 1006 Matcher m = new Matcher(this, input); in matcher() 1047 Matcher m = p.matcher(input); in matches() 1120 Matcher m = matcher(input); in split() 1392 private final Matcher matcher; in splitAsStream()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | ReplaceTest.java | 21 import java.util.regex.Matcher; 33 Matcher m = p.matcher(target); in testSimpleReplace() 42 Matcher m; in testCaptureReplace()
|
D | Matcher2Test.java | 30 Matcher m = p.matcher("bar"); in test_toString() 37 Matcher m = p.matcher("bar"); in testErrorConditions() 88 Matcher m = p.matcher("foo1barzfoo2baryfoozbar5"); in testErrorConditions2() 225 Matcher mat = pat.matcher(str); in testReplacementBackSlash()
|
D | PatternTest.java | 21 import java.util.regex.Matcher; 220 Matcher mat; in testFlags() 505 java.util.regex.Matcher mat = pat.matcher("aaab"); in testQuantComposition() 555 Matcher m = p.matcher("GMT-9:45"); in testTimeZoneIssue() 627 Matcher mat = pat.matcher("{]()*?"); in testEscapes() 715 Matcher mat = pat.matcher("a\n"); in testFindBoundaryCases1() 723 Matcher mat = pat.matcher("aAa"); in testFindBoundaryCases2() 731 Matcher mat = pat.matcher("a\naA\n"); in testFindBoundaryCases3() 739 Matcher mat = pat.matcher("A\n"); in testFindBoundaryCases4() 747 Matcher mat = pat.matcher("\nA\naaa\nA\naaAaa\naaaA\n"); in testFindBoundaryCases5() [all …]
|
D | ModeTest.java | 21 import java.util.regex.Matcher; 32 Matcher m; in testCase() 60 Matcher m; in testMultiline()
|
D | Pattern2Test.java | 19 import java.util.regex.Matcher; 133 Matcher m; in testCapturingGroups() 186 Matcher m; in testRepeats() 254 Matcher m; in testAnchors()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SchemePrefixBenchmark.java | 21 import java.util.regex.Matcher; 60 Matcher matcher = pattern.matcher(spec); in REGEX()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | CpuFeatures.java | 26 import java.util.regex.Matcher; 68 Matcher m = p.matcher(line); in getFieldFromCpuinfo()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 30 import java.util.regex.Matcher; 200 Matcher matcher = pattern.matcher(source); in marshal()
|
D | DisabledAlgorithmConstraints.java | 44 import java.util.regex.Matcher; 320 Matcher matcher = pattern.matcher(restriction); in KeySizeConstraints()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 44 import java.util.regex.Matcher; 584 Matcher m = NoImagePreloadHolder.CUSTOM_ZONE_ID_PATTERN.matcher(id); in getCustomTimeZone()
|
D | Scanner.java | 359 private Matcher matcher; 2282 Matcher m = NON_ASCII_DIGIT.matcher(result); in processFloatToken()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 35 import java.util.regex.Matcher;
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 42 import java.util.regex.Matcher; 220 Matcher m = null; in parseLine() 271 Matcher m2 = linkp.matcher(filename); in parseLine() 385 Matcher m = transPat.matcher(response); in getTransferSize() 588 Matcher m = epsvPat.matcher(serverAnswer); in openPassiveDataConnection() 625 Matcher m = pasvPat.matcher(serverAnswer); in openPassiveDataConnection()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 46 import java.util.regex.Matcher; 204 Matcher m = alias.matcher(key); in test_Provider_Properties()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 37 import java.util.regex.Matcher;
|