/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() 147 Matcher matcher = Pattern.compile("Hello").matcher("Hello, world!"); in testReplaceFirst_null_match() 156 Matcher matcher = Pattern.compile("not found").matcher("Hello, world!"); in testReplaceFirst_null_nomatch() [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() 224 Matcher mat = pat.matcher(str); in testReplacementBackSlash() 233 Matcher matcher = Pattern.compile("Hello").matcher("Hello, world!"); in testAppendReplacement_replacementEndsWithBackslash() 243 Matcher matcher = Pattern.compile("Hello").matcher("Hello, world!"); in testAppendReplacement_replacementEndsWithDollar()
|
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; 33 Matcher m; in testCase() 62 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/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternTest.java | 21 import java.util.regex.Matcher; 296 Matcher mat = pat.matcher(testString); in testFlagsCase1() 304 Matcher mat = pat.matcher(testString); in testFlagsCase2() 312 Matcher mat = pat.matcher(testString); in testFlagsCase3() 320 Matcher mat = pat.matcher(testString); in testFlagsCase4() 328 Matcher mat = pat.matcher(testString); in testFlagsCase5() 336 Matcher mat = pat.matcher(testString); in testFlagsCase6() 344 Matcher mat = pat.matcher(testString); in testFlagsCase7() 352 Matcher mat = pat.matcher(testString); in testFlagsCase8() 360 Matcher mat = pat.matcher(testString); in testFlagsCase9() [all …]
|
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/luni/src/test/java/libcore/java/util/regex/ |
D | OldMatcherTest.java | 21 import java.util.regex.Matcher; 32 Matcher m = pat.matcher("Today is XX-XX-XX ..."); in testAppendReplacement() 67 Matcher mat = pat.matcher(testString1); in test_resetLjava_lang_String() 78 Matcher m = p.matcher("one-cat-two-cats-in-the-yard"); in testAppendTail() 115 Matcher mat = pat.matcher(testString); in test_reset() 126 Matcher mat = pat.matcher(testString); in test_hasAnchoringBounds() 131 Matcher mu = mat.useAnchoringBounds(true); in test_hasAnchoringBounds() 144 Matcher mat = pat.matcher(testString); in test_hasTransparentBounds() 149 Matcher mu = mat.useTransparentBounds(true); in test_hasTransparentBounds() 162 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/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 32 public final class Matcher implements java.util.regex.MatchResult { class 34 Matcher(@libcore.util.NonNull java.util.regex.Pattern parent, @libcore.util.NonNull java.lang.CharS… in Matcher() method in Matcher 40 @libcore.util.NonNull public java.util.regex.Matcher usePattern(@libcore.util.NonNull java.util.reg… in usePattern() 42 @libcore.util.NonNull public java.util.regex.Matcher reset() { throw new RuntimeException("Stub!");… in reset() 44 @libcore.util.NonNull public java.util.regex.Matcher reset(@libcore.util.NonNull java.lang.CharSequ… in reset() 76 @libcore.util.NonNull public java.util.regex.Matcher appendReplacement(@libcore.util.NonNull java.l… in appendReplacement() 84 @libcore.util.NonNull public java.util.regex.Matcher region(int start, int end) { throw new Runtime… in region() 92 @libcore.util.NonNull public java.util.regex.Matcher useTransparentBounds(boolean b) { throw new Ru… in useTransparentBounds() 96 @libcore.util.NonNull public java.util.regex.Matcher useAnchoringBounds(boolean b) { throw new Runt… in useAnchoringBounds()
|
D | Pattern.annotated.java | 44 @libcore.util.NonNull public java.util.regex.Matcher matcher(@libcore.util.NonNull java.lang.CharSe… in matcher()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 32 public final class Matcher implements java.util.regex.MatchResult { class 34 Matcher(java.util.regex.Pattern parent, java.lang.CharSequence text) { in Matcher() method in Matcher 46 public java.util.regex.Matcher usePattern(java.util.regex.Pattern newPattern) { in usePattern() 50 public java.util.regex.Matcher reset() { in reset() 54 public java.util.regex.Matcher reset(java.lang.CharSequence input) { in reset() 118 public java.util.regex.Matcher appendReplacement( in appendReplacement() 139 public java.util.regex.Matcher region(int start, int end) { in region() 155 public java.util.regex.Matcher useTransparentBounds(boolean b) { in useTransparentBounds() 163 public java.util.regex.Matcher useAnchoringBounds(boolean b) { in useAnchoringBounds() 187 private java.util.regex.Matcher reset(java.lang.CharSequence input, int start, int end) { in reset()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 106 public final class Matcher implements MatchResult { class 165 Matcher(Pattern parent, CharSequence text) { in Matcher() method in Matcher 208 public Matcher usePattern(Pattern newPattern) { in usePattern() 237 public Matcher reset() { in reset() 255 public Matcher reset(CharSequence input) { in reset() 714 public Matcher appendReplacement(StringBuffer sb, String replacement) { in appendReplacement() 922 public Matcher region(int start, int end) { in region() 999 public Matcher useTransparentBounds(boolean b) { in useTransparentBounds() 1048 public Matcher useAnchoringBounds(boolean b) { in useAnchoringBounds() 1151 private Matcher reset(CharSequence input, int start, int end) { in reset()
|
D | Pattern.java | 1020 public Matcher matcher(CharSequence input) { in matcher() 1030 Matcher m = new Matcher(this, input); in matcher() 1071 Matcher m = p.matcher(input); in matches() 1152 Matcher m = matcher(input); in split() 1477 private final Matcher matcher; in splitAsStream()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SchemePrefixBenchmark.java | 21 import java.util.regex.Matcher; 60 Matcher matcher = pattern.matcher(spec); in REGEX()
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | Actions.java | 22 import java.util.regex.Matcher; 75 Matcher m = p.matcher(sequence); in run()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 30 import java.util.regex.Matcher; 252 Matcher matcher = pattern.matcher(source); in marshal()
|
D | DisabledAlgorithmConstraints.java | 40 import java.util.regex.Matcher; 279 Matcher matcher = keySizePattern.matcher(entry); in Constraints()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | MimeTypesFileTypeDetector.java | 38 import java.util.regex.Matcher;
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | Repository.java | 32 import java.util.regex.Matcher; 251 Matcher matcher = pattern.matcher(line); in loadOrderedRelPathsSetFromBlueprint()
|
D | CompareUpstreams.java | 31 import java.util.regex.Matcher; 97 Matcher matcher = pattern.matcher(line); in androidChangedComments()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 51 import java.util.regex.Matcher; 630 Matcher m = NoImagePreloadHolder.CUSTOM_ZONE_ID_PATTERN.matcher(id); in getCustomTimeZone()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 54 import java.util.regex.Matcher; 350 Matcher methodPatternMatcher = pattern.matcher(methodSignature); in getMethodNameAndParameters()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 41 import java.util.regex.Matcher; 219 Matcher m = null; in parseLine() 270 Matcher m2 = linkp.matcher(filename); in parseLine() 384 Matcher m = transPat.matcher(response); in getTransferSize() 600 Matcher m = epsvPat.matcher(serverAnswer); in openPassiveDataConnection() 637 Matcher m = pasvPat.matcher(serverAnswer); in openPassiveDataConnection()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 90 import java.util.regex.Matcher; 324 Matcher matcher = PATTERN.matcher(text); in parse()
|