/libcore/luni/src/main/java/java/util/regex/ |
D | MatchResultImpl.java | 49 public int end(int group) { in end() argument 50 return offsets[2 * group + 1]; in end() 53 public String group() { in group() method in MatchResultImpl 57 public String group(int group) { in group() argument 58 int from = offsets[group * 2]; in group() 59 int to = offsets[(group * 2) + 1]; in group() 75 public int start(int group) { in start() argument 76 return offsets[2 * group]; in start()
|
D | MatchResult.java | 50 int end(int group); in end() argument 57 String group(); in group() method 68 String group(int group); in group() argument 96 int start(int group); in start() argument
|
D | Matcher.java | 142 buffer.append(group(c - '0')); in appendEvaluated() 357 public String group(int group) { in group() argument 359 int from = matchOffsets[group * 2]; in group() 360 int to = matchOffsets[(group * 2) + 1]; in group() 375 public String group() { in group() method in Matcher 376 return group(0); in group() 464 public int start(int group) throws IllegalStateException { in start() argument 466 return matchOffsets[group * 2]; in start() 480 public int end(int group) { in end() argument 482 return matchOffsets[(group * 2) + 1]; in end()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | ModeTest.java | 57 assertEquals("dog", m.group(1)); in testCase() 64 assertEquals("cAt", m.group(1)); in testCase() 66 assertEquals("doG", m.group(1)); in testCase() 73 assertEquals("cAt", m.group(1)); in testCase() 75 assertEquals("doG", m.group(1)); in testCase() 119 assertEquals("1", m.group(1)); in testMultiline() 121 assertEquals("2", m.group(1)); in testMultiline() 128 assertEquals("3", m.group(1)); in testMultiline() 130 assertEquals("4", m.group(1)); in testMultiline() 137 assertEquals("1", m.group(1)); in testMultiline() [all …]
|
D | Pattern2Test.java | 162 assertEquals("p1#q3", m.group()); in testGroups() 163 assertEquals("p1#q3", m.group(0)); in testGroups() 164 assertEquals("p1", m.group(1)); in testGroups() 165 assertEquals("q3", m.group(2)); in testGroups() 176 assertEquals("p2q42", m.group()); in testGroups() 177 assertEquals("p2q42", m.group(0)); in testGroups() 178 assertEquals("p2", m.group(1)); in testGroups() 179 assertEquals("q42", m.group(2)); in testGroups() 191 assertEquals("p63#q888", m.group()); in testGroups() 192 assertEquals("p63#q888", m.group(0)); in testGroups() [all …]
|
D | Matcher2Test.java | 109 m.group(); in testErrorConditions() 127 m.group(1); in testErrorConditions() 199 m.group(3); in testErrorConditions2() 217 m.group(-1); in testErrorConditions2() 243 m.group(3); in testErrorConditions2() 261 m.group(-1); in testErrorConditions2() 281 m.group(3); in testErrorConditions2() 299 m.group(-1); in testErrorConditions2()
|
D | PatternTest.java | 615 mat.group(1); in testQuantComposition() 682 assertEquals("-", m.group(1)); in testTimeZoneIssue() 683 assertEquals("9", m.group(2)); in testTimeZoneIssue() 684 assertEquals(":45", m.group(3)); in testTimeZoneIssue() 685 assertEquals("45", m.group(4)); in testTimeZoneIssue() 895 assertEquals("a\n", mat.group()); in testFindBoundaryCases1() 909 assertEquals("aA", mat.group()); in testFindBoundaryCases2() 923 assertEquals("aA", mat.group()); in testFindBoundaryCases3() 937 assertEquals("A", mat.group()); in testFindBoundaryCases4() 953 assertEquals(res[k], mat.group()); in testFindBoundaryCases5() [all …]
|
/libcore/luni/src/main/java/java/lang/ |
D | Thread.java | 135 volatile ThreadGroup group; field in Thread 287 public Thread(ThreadGroup group, Runnable runnable) { in Thread() argument 288 create(group, runnable, null, 0); in Thread() 312 public Thread(ThreadGroup group, Runnable runnable, String threadName) { in Thread() argument 317 create(group, runnable, threadName, 0); in Thread() 338 public Thread(ThreadGroup group, String threadName) { in Thread() argument 343 create(group, null, threadName, 0); in Thread() 372 public Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in Thread() argument 376 create(group, runnable, threadName, stackSize); in Thread() 386 Thread(ThreadGroup group, String name, int priority, boolean daemon) { in Thread() argument [all …]
|
D | SecurityManager.java | 121 ThreadGroup group = thread.getThreadGroup(); in checkAccess() local 122 if ((group != null) && (group.parent == null)) { in checkAccess() 138 public void checkAccess(ThreadGroup group) { in checkAccess() argument 140 if (group == null) { in checkAccess() 143 if (group.parent == null) { in checkAccess()
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
D | ObjectIdentifier.java | 58 private Object group; field in ObjectIdentifier 91 this.group = oidGroup; in ObjectIdentifier() 121 return group; in getGroup()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadGroupTest.java | 28 public MyThread(ThreadGroup group, String name) in MyThread() argument 30 super(group, name); in MyThread() 296 ThreadGroup group = new ThreadGroup("Foo"); in test_resume() local 298 Thread thread = launchFiveSecondDummyThread(group); in test_resume() 308 group.resume(); in test_resume() 312 private Thread launchFiveSecondDummyThread(ThreadGroup group) { in launchFiveSecondDummyThread() argument 313 Thread thread = new Thread(group, "Bar") { in launchFiveSecondDummyThread()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldMatcherTest.java | 245 … assertEquals("Start is wrong for group " + i + " :" + mat.group(i), start, mat.start(i)); in test_startI() 247 … assertEquals("Start is wrong for group " + i + " :" + mat.group(i), start + 4, mat.start(i)); in test_startI() 277 …assertEquals("End is wrong for group " + i + " :" + mat.group(i), start + mat.group(i).length(), m… in test_endI() 279 …assertEquals("End is wrong for group " + i + " :" + mat.group(i), start + 4 + mat.group(i).length(… in test_endI() 353 assertEquals(testString.substring(i, i + length), mat2.group(1)); in test_findI() 685 assertEquals("group not matched", "abbabb", mat.toMatchResult().group()); in test_toMatchResult() 686 assertEquals("3 group not matched", "abb", mat.toMatchResult().group(3)); in test_toMatchResult()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | HexStringParser.java | 126 hexSegments[0] = matcher.group(1); in getSegmentsFromHexString() 127 hexSegments[1] = matcher.group(2); in getSegmentsFromHexString() 128 hexSegments[2] = matcher.group(3); in getSegmentsFromHexString()
|
/libcore/luni/src/main/java/java/util/ |
D | Scanner.java | 409 return matcher.group(); in findInLine() 501 result = matcher.group(); in findWithinHorizon() 627 String floatString = matcher.group(); in hasNextBigDecimal() 668 String intString = matcher.group(); in hasNextBigInteger() 722 String intString = matcher.group(); in hasNextByte() 747 String floatString = matcher.group(); in hasNextDouble() 772 String floatString = matcher.group(); in hasNextFloat() 814 String intString = matcher.group(); in hasNextInt() 891 String intString = matcher.group(); in hasNextLong() 932 String intString = matcher.group(); in hasNextShort() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Executors.java | 532 private final ThreadGroup group; 538 group = (s != null)? s.getThreadGroup() : 546 Thread t = new Thread(group, r,
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
D | AttributeTypeAndValue.java | 321 Object group = oid.getGroup(); in appendName() local 323 if (RFC1779_NAMES == group || RFC2253_NAMES == group) { in appendName()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 163 String type = m.group(1); in test_Provider_Properties()
|
/libcore/luni/src/main/java/org/apache/xpath/compiler/ |
D | Compiler.java | 168 expr = group(opPos); break; in compile() 566 protected Expression group(int opPos) throws TransformerException in group() method in Compiler
|
/libcore/luni/src/test/java/tests/api/java/util/ |
D | ScannerTest.java | 629 assertEquals("2", result.group()); in test_match() 630 assertEquals("2", result.group(0)); in test_match() 664 assertEquals("True", result.group()); in test_match() 687 assertEquals("True", result.group()); in test_match() 701 assertEquals("True", result.group()); in test_match() 733 assertEquals("True", result.group()); in test_match() 5561 assertEquals("345", mresult.group()); in test_findWithinHorizon_LPatternI() 5661 assertEquals("1", mresult.group(1)); in test_findWithinHorizon_LPatternI() 5662 assertEquals("2", mresult.group(2)); in test_findWithinHorizon_LPatternI() 5663 assertEquals("red", mresult.group(3)); in test_findWithinHorizon_LPatternI() [all …]
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_luni_platform_OSNetworkSystem.cpp | 364 jobject group = env->GetObjectField(javaGroupRequest, fid); in mcastJoinLeaveGroup() local 365 if (!inetAddressToSocketAddress(env, group, 0, &groupRequest.gr_group)) { in mcastJoinLeaveGroup()
|
/libcore/luni/src/test/java/tests/xml/ |
D | DomTest.java | 1416 + attributeMatcher.group() in domToString()
|