Home
last modified time | relevance | path

Searched refs:groupCount (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java222 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
DMatchResult.java186 public int groupCount(); in groupCount() method
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPattern2Test.java139 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/
DActions.java79 int groups = m.groupCount(); in run()
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java94 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/
DOldAndroidRegexTest.java92 3, m.groupCount()); in testGroupCount()
102 assertEquals(3, m.groupCount()); in testGroups()
DOldMatcherTest.java361 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/
DMatcher.annotated.java64 public int groupCount() { throw new RuntimeException("Stub!"); } in groupCount() method in Matcher
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java646 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/
DMatcherTest.java425 assertEquals(i + 1, mat.groupCount()); in testGroupCount()