Searched defs:group (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/util/regex/
H A DMatchResult.java36 * a given group. See {@link #group} for an explanation of group indexes.
38 int end(int group); argument
43 String group(); method in interface:MatchResult
46 * Returns the text that matched a given group of the regular expression.
50 * The special group 0 represents the entire match (as if the entire pattern is surrounded
51 * by an implicit capturing group).
59 * <p>An optional capturing group that failed to match as part of an overall
61 * A capturing group tha
64 group(int group) argument
82 start(int group) argument
[all...]
H A DMatchResultImpl.java35 * elements specify start and end of the zero group, the next two specify
36 * group 1, and so on.
49 public int end(int group) { argument
50 return offsets[2 * group + 1];
53 public String group() { method in class:MatchResultImpl
57 public String group(int group) { argument
58 int from = offsets[group * 2];
59 int to = offsets[(group * 2) + 1];
75 public int start(int group) { argument
[all...]
H A DMatcher.java120 * the corresponding group's contents.
138 buffer.append(group(c - '0'));
541 " lastmatch=" + (matchFound ? group() : "") + "]";
558 public int end(int group) { argument
560 return matchOffsets[(group * 2) + 1];
568 public String group() { method in class:Matcher
569 return group(0);
577 public String group(int group) { argument
579 int from = matchOffsets[group *
611 start(int group) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
H A DObjectIdentifier.java57 // OID's group
58 private Object group; field in class:ObjectIdentifier
80 * @param oidGroup - OID's group. Is used to separate different OID's
91 this.group = oidGroup;
116 * Gets OID's group.
118 * @return group
121 return group;
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadGroupTest.java32 public MyThread(ThreadGroup group, String name) argument
34 super(group, name);
72 ThreadGroup tg = new ThreadGroup("group count");
85 new ThreadGroup(tg, "test group 1");
88 new ThreadGroup(tg, "test group 2");
134 ThreadGroup group = new ThreadGroup(initialThreadGroup, "enumerateThreadArray");
136 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize);
166 ThreadGroup childGroup = new ThreadGroup(initialThreadGroup, "child group");
274 "Test group");
275 assertFalse("Test group i
301 launchFiveSecondDummyThread(ThreadGroup group) argument
362 populateGroupsWithThreads(ThreadGroup group, int threadCount) argument
368 populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DSecurityManager.java44 public void checkAccess(ThreadGroup group) { } argument
141 * Returns the current thread's thread group.
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java315 * priority permitted in the thread group. New threads have names
511 private final ThreadGroup group; field in class:Executors.DefaultThreadFactory
517 group = (s != null) ? s.getThreadGroup() :
525 Thread t = new Thread(group, r,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DMulticastSocketTest.java47 // We use the "good" addresses for our actual group, and the "bad" addresses are for
48 // a group that we won't actually set up.
235 private void test_joinGroupLjava_net_InetAddress(InetAddress group) throws Exception { argument
237 receivingSocket.joinGroup(group);
242 new InetSocketAddress(group, receivingSocket.getLocalPort());
313 NetworkInterface networkInterface, InetAddress group, InetAddress group2)
315 // Check that we can join a group using a null network interface.
317 SocketAddress groupSockAddr = new InetSocketAddress(group, sendingSocket.getLocalPort());
323 new InetSocketAddress(group, receivingSocket.getLocalPort());
338 groupAddress = new InetSocketAddress(group, receivingSocke
312 test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface( NetworkInterface networkInterface, InetAddress group, InetAddress group2) argument
448 test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins( NetworkInterface networkInterface, InetAddress group) argument
478 test_leaveGroupLjava_net_InetAddress(InetAddress group) argument
550 test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface( NetworkInterface networkInterface, InetAddress group, InetAddress group2) argument
599 test_sendLjava_net_DatagramPacketB(InetAddress group) argument
703 test_setNetworkInterfaceLjava_net_NetworkInterface(InetAddress group) argument
832 test_setLoopbackModeSendReceive(InetAddress group) argument
[all...]
/libcore/libart/src/main/java/java/lang/
H A DThread.java47 * group.
129 volatile ThreadGroup group; field in class:Thread
265 * @param group
272 * if <code>group.destroy()</code> has already been done
276 public Thread(ThreadGroup group, Runnable runnable) { argument
277 create(group, runnable, null, 0);
284 * @param group
292 * if <code>group.destroy()</code> has already been done
296 public Thread(ThreadGroup group, Runnable runnable, String threadName) { argument
301 create(group, runnabl
317 Thread(ThreadGroup group, String threadName) argument
346 Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
360 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
402 create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
[all...]

Completed in 162 milliseconds