/libcore/ojluni/src/main/java/java/util/regex/ |
H A D | MatchResult.java | 33 * groups and group boundaries can be seen but not modified through 54 * Returns the start index of the subsequence captured by the given group 62 * @param group 63 * The index of a capturing group in this matcher's pattern 65 * @return The index of the first character captured by the group, 66 * or <tt>-1</tt> if the match was successful but the group 74 * If there is no capturing group in the pattern 77 public int start(int group); argument 92 * captured by the given group during this match. 99 * @param group 114 end(int group) argument 135 public String group(); method in interface:MatchResult 172 group(int group) argument [all...] |
H A D | Matcher.java | 76 * href="Pattern.html#cg">capturing group</a> in the pattern as well as a total 256 * captured by the given group during the previous match operation. 263 * @param group 264 * The index of a capturing group in this matcher's pattern 266 * @return The offset after the last character captured by the group, 268 * but the group itself did not match anything 275 * If there is no capturing group in the pattern 278 public int end(int group) { argument 280 return matchOffsets[(group * 2) + 1]; 287 * the expressions <i>m.</i><tt>group()</t 302 public String group() { method in class:Matcher 341 group(int group) argument 381 public String group(String name) { method in class:Matcher 1092 start(int group) argument 1132 start(int group) argument 1142 end(int group) argument 1147 public String group() { method in class:Matcher.OffsetBasedMatchResult 1152 group(int group) argument [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldThreadGroupTest.java | 32 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/util/concurrent/ |
H A D | Executors.java | 320 * priority permitted in the thread group. New threads have names 518 private final ThreadGroup group; field in class:Executors.DefaultThreadFactory 524 group = (s != null) ? s.getThreadGroup() : 532 Thread t = new Thread(group, r,
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | UNIXProcess.java | 93 private final static ThreadGroup group = getRootThreadGroup(); field in class:UNIXProcess.ProcessReaperThreadFactory 107 Thread t = new Thread(group, grimReaper, "process reaper", 32768);
|
H A D | Thread.java | 173 /* The group of this thread */ 174 private ThreadGroup group; field in class:Thread 391 * @param g the Thread group 404 this.group = g; 460 * {@code (group, target, gname)} ,where {@code gname} is a newly generated 464 * @param group 465 * the thread group. If {@code null} and there is a security 466 * manager, the group is determined by {@linkplain 469 * SecurityManager.getThreadGroup()} returns {@code null}, the group 470 * is set to the current thread's thread group 480 Thread(ThreadGroup group, Runnable target) argument 516 Thread(ThreadGroup group, String name) argument 523 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument 611 Thread(ThreadGroup group, Runnable target, String name) argument 689 Thread(ThreadGroup group, Runnable target, String name, long stackSize) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/ftp/ |
H A D | FtpDirEntry.java | 34 * time, owner and group of the file, although some of these could be unavailable 58 private String group = null; field in class:FtpDirEntry 113 * Returns the group name of the file as returned by the FTP 114 * server, if provided. This could be a name or a group id (number). 116 * @return a {@code String} containing the group name or 120 return group; 124 * Sets the name of the group to which the file belong. Intended mostly to be 127 * @param group The name of the group to which the file belong, or {@code null} 131 public FtpDirEntry setGroup(String group) { argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | MulticastSocketTest.java | 47 // 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()); 323 NetworkInterface networkInterface, InetAddress group, InetAddress group2) 335 new InetSocketAddress(group, receivingSocket.getLocalPort()); 336 // Join the group. A null network interface is valid and means "use default". 359 groupAddress = new InetSocketAddress(group, receivingSocket.getLocalPort()); 360 // Join the group 322 test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface( NetworkInterface networkInterface, InetAddress group, InetAddress group2) argument 468 test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins( NetworkInterface networkInterface, InetAddress group) argument 498 test_leaveGroupLjava_net_InetAddress(InetAddress group) argument 570 test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface( NetworkInterface networkInterface, InetAddress group, InetAddress group2) argument 619 test_sendLjava_net_DatagramPacketB(InetAddress group) argument 723 test_setNetworkInterfaceLjava_net_NetworkInterface(InetAddress group) argument 852 test_setLoopbackModeSendReceive(InetAddress group) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | StampedLock.java | 1291 * group, as applicable), and in any case helps release current 1300 * @param group either node or the group node is cowaiting with 1304 private long cancelWaiter(WNode node, WNode group, boolean interrupted) { argument 1305 if (node != null && group != null) { 1308 // unsplice cancelled nodes from group 1309 for (WNode p = group, q; (q = p.cowait) != null;) { 1312 p = group; // restart 1317 if (group == node) { 1318 for (WNode r = group [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Net.java | 117 * multicast group (IPv4 group as IPv4-mapped IPv6 address) 529 * Join IPv4 multicast group 531 static int join4(FileDescriptor fd, int group, int interf, int source) argument 534 return joinOrDrop4(true, fd, group, interf, source); 538 * Drop membership of IPv4 multicast group 540 static void drop4(FileDescriptor fd, int group, int interf, int source) argument 543 joinOrDrop4(false, fd, group, interf, source); 546 private static native int joinOrDrop4(boolean join, FileDescriptor fd, int group, int interf, int source) argument 552 static int block4(FileDescriptor fd, int group, in argument 561 unblock4(FileDescriptor fd, int group, int interf, int source) argument 567 blockOrUnblock4(boolean block, FileDescriptor fd, int group, int interf, int source) argument 574 join6(FileDescriptor fd, byte[] group, int index, byte[] source) argument 583 drop6(FileDescriptor fd, byte[] group, int index, byte[] source) argument 589 joinOrDrop6(boolean join, FileDescriptor fd, byte[] group, int index, byte[] source) argument 595 block6(FileDescriptor fd, byte[] group, int index, byte[] source) argument 604 unblock6(FileDescriptor fd, byte[] group, int index, byte[] source) argument 610 blockOrUnblock6(boolean block, FileDescriptor fd, byte[] group, int index, byte[] source) argument [all...] |
/libcore/ojluni/src/main/native/ |
H A D | Net.c | 51 #define IP_ADD_SOURCE_MEMBERSHIP 70 /* join a source-specific group */ 60 #define MCAST_JOIN_SOURCE_GROUP 82 /* join a source-specific group */ 82 struct sockaddr_storage gsr_group; /* group address */ 98 * Copy IPv6 group, interface index, and IPv6 source address 102 static void initGroupSourceReq(JNIEnv* env, jbyteArray group, jint index, argument 111 COPY_INET6_ADDRESS(env, group, (jbyte*)&(sin6->sin6_addr)); 435 jint group, jint interf, jint source) 443 mreq.imr_multiaddr.s_addr = htonl(group); 455 mreq_source.imr_multiaddr.s_addr = htonl(group); 459 mreq_source.imr_multiaddr = htonl(group); 434 Java_sun_nio_ch_Net_joinOrDrop4(JNIEnv *env, jobject this, jboolean join, jobject fdo, jint group, jint interf, jint source) argument 480 Java_sun_nio_ch_Net_blockOrUnblock4(JNIEnv *env, jobject this, jboolean block, jobject fdo, jint group, jint interf, jint source) argument 514 Java_sun_nio_ch_Net_joinOrDrop6(JNIEnv *env, jobject this, jboolean join, jobject fdo, jbyteArray group, jint index, jbyteArray source) argument 555 Java_sun_nio_ch_Net_blockOrUnblock6(JNIEnv *env, jobject this, jboolean block, jobject fdo, jbyteArray group, jint index, jbyteArray source) argument [all...] |