Searched refs:toMatchResult (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldMatcherTest.java | 486 … assertEquals("matched section should start from 1 position", 1, mat.toMatchResult().start()); in test_toMatchResult() 487 …quals("matched section for 2 group should start from 1 position", 1, mat.toMatchResult().start(2)); in test_toMatchResult() 488 …Equals("matched section for whole pattern should end on 7 position", 7, mat.toMatchResult().end()); in test_toMatchResult() 489 …assertEquals("matched section for 3 group should end at 4 position", 4, mat.toMatchResult().end(3)… in test_toMatchResult() 490 assertEquals("group not matched", "abbabb", mat.toMatchResult().group()); in test_toMatchResult() 491 assertEquals("3 group not matched", "abb", mat.toMatchResult().group(3)); in test_toMatchResult() 492 …("Total number of groups does not matched with given pattern", 4, mat.toMatchResult().groupCount()… in test_toMatchResult()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 231 public MatchResult toMatchResult() { in toMatchResult() method in Matcher 234 return toMatchResult(text.toString()); in toMatchResult() 237 private MatchResult toMatchResult(String text) { in toMatchResult() method in Matcher 1373 return toMatchResult(textAsString); in results() 1418 action.accept(toMatchResult(textAsString)); in results()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 42 public java.util.regex.MatchResult toMatchResult() { in toMatchResult() method in Matcher
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 38 @libcore.util.NonNull public java.util.regex.MatchResult toMatchResult() { throw new RuntimeExcepti… in toMatchResult() method in Matcher
|
/libcore/ojluni/src/test/java/util/regex/ |
D | PatternStreamTest.java | 290 this(m.toMatchResult()); in MatchResultHolder()
|
D | RegExTest.java | 295 MatchResult mr = matcher.toMatchResult(); in toMatchResultTest() 306 MatchResult mr2 = matcher.toMatchResult(); in toMatchResultTest() 318 MatchResult mr = matcher.toMatchResult(); in toMatchResultTest2() 329 MatchResult mr2 = matcher.toMatchResult(); in toMatchResultTest2()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 1418 return matcher.toMatchResult(); in match() 2992 cons.accept(matcher.toMatchResult()); in tryAdvance()
|
/libcore/api/ |
D | current.txt | 18123 method @NonNull public java.util.regex.MatchResult toMatchResult();
|