Searched refs:groupCount (Results 1 – 10 of 10) sorted by relevance
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 222 groups = new int[(groupCount() + 1) * 2]; in usePattern() 298 if (group < 0 || group > groupCount()) in start() 367 if (group < 0 || group > groupCount()) in end() 457 if (group < 0 || group > groupCount()) in group() 510 public int groupCount() { in groupCount() method in Matcher 512 return nativeMatcher.groupCount(); in groupCount() 1255 public int groupCount() { in groupCount() method in Matcher.OffsetBasedMatchResult
|
D | MatchResult.java | 186 public int groupCount(); in groupCount() method
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | Pattern2Test.java | 139 assertEquals(1, m.groupCount()); in testCapturingGroups() 145 assertEquals(4, m.groupCount()); in testCapturingGroups() 156 assertEquals(1, m.groupCount()); in testCapturingGroups()
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | Actions.java | 79 int groups = m.groupCount(); in run()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 94 public int groupCount() { in groupCount() method in Matcher 293 public int groupCount() { in groupCount() method in Matcher.OffsetBasedMatchResult
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldAndroidRegexTest.java | 92 3, m.groupCount()); in testGroupCount() 102 assertEquals(3, m.groupCount()); in testGroups()
|
D | OldMatcherTest.java | 361 assertEquals(i + 1, mat.groupCount()); in testGroupCount() 492 …"Total number of groups does not matched with given pattern", 4, mat.toMatchResult().groupCount()); in test_toMatchResult()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Matcher.annotated.java | 64 public int groupCount() { throw new RuntimeException("Stub!"); } in groupCount() method in Matcher
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 646 assertEquals(0, result.groupCount()); in test_match() 676 assertEquals(0, result.groupCount()); in test_match() 697 assertEquals(0, result.groupCount()); in test_match() 710 assertEquals(0, result.groupCount()); in test_match() 714 assertEquals(0, result.groupCount()); in test_match() 739 assertEquals(0, result.groupCount()); in test_match() 4806 assertEquals(0, mresult.groupCount()); in test_findWithinHorizon_LPatternI() 4812 assertEquals(4, mresult.groupCount()); in test_findWithinHorizon_LPatternI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | MatcherTest.java | 425 assertEquals(i + 1, mat.groupCount()); in testGroupCount()
|