Searched refs:group (Results 1 - 25 of 75) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/regex/
H A DMatchResult.java33 * 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 DMatcher.java76 * 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];
286 * group</
329 public String group() { method in class:Matcher
368 group(int group) argument
406 public String group(String name) { method in class:Matcher
1142 start(int group) argument
1219 start(int group) argument
1229 end(int group) argument
1234 public String group() { method in class:Matcher.OffsetBasedMatchResult
1239 group(int group) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DGroupable.java30 * asynchronous channel group.
34 AsynchronousChannelGroupImpl group(); method in interface:Groupable
H A DMembershipRegistry.java41 // map multicast group to keys
48 * Checks registry for membership of the group on the given
51 MembershipKey checkMembership(InetAddress group, NetworkInterface interf, argument
55 List<MembershipKeyImpl> keys = groups.get(group);
84 InetAddress group = key.group();
90 keys = groups.get(group);
94 groups.put(group, keys);
103 InetAddress group = key.group();
[all...]
H A DLinuxAsynchronousChannelProvider.java67 private Port toPort(AsynchronousChannelGroup group) throws IOException { argument
68 if (group == null) {
71 if (!(group instanceof EPollPort))
73 return (Port)group;
78 public AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) argument
81 return new UnixAsynchronousServerSocketChannelImpl(toPort(group));
85 public AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group) argument
88 return new UnixAsynchronousSocketChannelImpl(toPort(group));
H A DMembershipKeyImpl.java42 private final InetAddress group; field in class:MembershipKeyImpl
56 InetAddress group,
61 this.group = group;
75 InetAddress group,
82 super(ch, group, interf, source);
110 InetAddress group,
117 super(ch, group, interf, source);
156 public InetAddress group() { method in class:MembershipKeyImpl
157 return group;
55 MembershipKeyImpl(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source) argument
74 Type4(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source, int groupAddress, int interfAddress, int sourceAddress) argument
109 Type6(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source, byte[] groupAddress, int index, byte[] sourceAddress) argument
[all...]
H A DInvoker.java46 // Per-thread object with reference to channel group and a counter for
50 private final AsynchronousChannelGroupImpl group; field in class:Invoker.GroupAndInvokeCount
52 GroupAndInvokeCount(AsynchronousChannelGroupImpl group) { argument
53 this.group = group;
55 AsynchronousChannelGroupImpl group() { method in class:Invoker.GroupAndInvokeCount
56 return group;
79 * Binds this thread to the given group
81 static void bindToGroup(AsynchronousChannelGroupImpl group) { argument
82 myGroupAndInvokeCount.set(new GroupAndInvokeCount(group));
104 mayInvokeDirect(GroupAndInvokeCount myGroupAndInvokeCount, AsynchronousChannelGroupImpl group) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DPosixFileAttributes.java55 * Returns the group owner of the file.
57 * @return the file group owner
61 GroupPrincipal group(); method in interface:PosixFileAttributes
H A DUserPrincipalLookupService.java31 * An object to lookup user and group principals by name. A {@link UserPrincipal}
33 * in a file system. A {@link GroupPrincipal} represents a <em>group identity</em>.
35 * name or group name (which are typically user or account names). Whether names
36 * and group names are case sensitive or not depends on the implementation.
37 * The exact definition of a group is implementation specific but typically a
38 * group represents an identity created for administrative purposes so as to
39 * determine the access rights for the members of the group. In particular it is
81 * Lookup a group principal by group name.
83 * <p> Where an implementation does not support any notion of group the
102 lookupPrincipalByGroupName(String group) argument
[all...]
H A DPosixFileAttributeView.java39 * file <em>owner</em>, <em>group-owner</em>, and related <em>access
46 * for the purposes of access control. The {@link PosixFileAttributes#group()
47 * group-owner}, represented by a {@link GroupPrincipal}, is the identity of the
48 * group owner, where a group is an identity created for administrative purposes
49 * so as to determine the access rights for the members of the group.
55 * <em>execute</em> access for the file owner, group, and others (others
56 * meaning identities other than the owner and members of the group). Some
87 * <td> "group" </td>
101 * the permissions, owner, or group
192 setGroup(GroupPrincipal group) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DModeTest.java37 assertEquals("dog", m.group(1));
43 assertEquals("cAt", m.group(1));
45 assertEquals("doG", m.group(1));
51 assertEquals("cAt", m.group(1));
53 assertEquals("doG", m.group(1));
82 assertEquals("1", m.group(1));
84 assertEquals("2", m.group(1));
90 assertEquals("3", m.group(1));
92 assertEquals("4", m.group(1));
98 assertEquals("1", m.group(
[all...]
H A DMatcher2Test.java55 m.group();
73 m.group(1);
113 m.group(3);
131 m.group(-1);
157 m.group(3);
175 m.group(-1);
195 m.group(3);
213 m.group(-1);
H A DMatcherTest.java174 mat.group(i + 2);
176 mat.group(i + 100);
178 mat.group(-1);
180 mat.group(-100);
197 .group(j + 1));
212 assertEquals(positiveTestString, mat.group());
214 // test equal to group(0) result
215 assertEquals(mat.group(0), mat.group());
223 mat.group();
[all...]
H A DPattern2Test.java123 assertEquals("p1#q3", m.group());
124 assertEquals("p1#q3", m.group(0));
125 assertEquals("p1", m.group(1));
126 assertEquals("q3", m.group(2));
137 assertEquals("p2q42", m.group());
138 assertEquals("p2q42", m.group(0));
139 assertEquals("p2", m.group(1));
140 assertEquals("q42", m.group(2));
152 assertEquals("p63#q888", m.group());
153 assertEquals("p63#q888", m.group(
[all...]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DModeTest.java37 assertEquals("dog", m.group(1));
44 assertEquals("cAt", m.group(1));
46 assertEquals("doG", m.group(1));
53 assertEquals("cAt", m.group(1));
55 assertEquals("doG", m.group(1));
85 assertEquals("1", m.group(1));
87 assertEquals("2", m.group(1));
94 assertEquals("3", m.group(1));
96 assertEquals("4", m.group(1));
103 assertEquals("1", m.group(
[all...]
H A DMatcher2Test.java53 m.group();
71 m.group(1);
111 m.group(3);
129 m.group(-1);
155 m.group(3);
173 m.group(-1);
193 m.group(3);
211 m.group(-1);
/libcore/ojluni/src/main/java/java/nio/channels/
H A DMulticastChannel.java39 * a <em>group</em> that is zero or more hosts identified by a single destination
55 * join a group and receive all multicast datagrams sent to the group. A channel
56 * may join several multicast groups and may join the same group on several
64 * is used to begin receiving datagrams sent to a group whose source address matches
67 * <em>cumulative</em> and this method may be invoked again with the same group
86 * multicast group corresponds to another protocol family. For example, it is
88 * socket can join an {@link StandardProtocolFamily#INET IPv4} multicast group and receive
89 * multicast datagrams sent to the group. </p></li>
98 * required to allow multiple members of the group t
180 join(InetAddress group, NetworkInterface interf) argument
228 join(InetAddress group, NetworkInterface interf, InetAddress source) argument
[all...]
H A DAsynchronousServerSocketChannel.java125 * the given group. If the group parameter is <tt>null</tt> then the
127 * bound to the <em>default group</em>.
129 * @param group
130 * The group to which the newly constructed channel should be bound,
131 * or <tt>null</tt> for the default group
136 * If the channel group is shutdown
140 public static AsynchronousServerSocketChannel open(AsynchronousChannelGroup group) argument
143 AsynchronousChannelProvider provider = (group == null) ?
144 AsynchronousChannelProvider.provider() : group
[all...]
H A DMembershipKey.java34 * group.
37 * to the group, or it may be <em>source-specific</em>, meaning that it
67 * <p> A multicast group membership is valid upon creation and remains
81 * datagrams sent to the group. If the membership key is source-specific
82 * then the channel will no longer receive datagrams sent to the group from
86 * datagrams sent to the group. This can arise when datagrams are waiting to
88 * then the channel may {@link MulticastChannel#join join} the group again
92 * If the multicast group membership is already invalid then invoking this
93 * method has no effect. Once a multicast group membership is invalid,
116 * is not the same address type as the multicast group
158 public abstract InetAddress group(); method in class:MembershipKey
[all...]
H A DAsynchronousSocketChannel.java149 * AsynchronousChannelProvider} that created the group. If the group parameter
151 * default provider, and bound to the <em>default group</em>.
153 * @param group
154 * The group to which the newly constructed channel should be bound,
155 * or {@code null} for the default group
160 * If the channel group is shutdown
164 public static AsynchronousSocketChannel open(AsynchronousChannelGroup group) argument
167 AsynchronousChannelProvider provider = (group == null) ?
168 AsynchronousChannelProvider.provider() : group
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpDirEntry.java34 * 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/ojluni/src/main/java/java/util/concurrent/
H A DForkJoinWorkerThread.java245 * Returns a new group with the system ThreadGroup (the
246 * topmost, parent-less group) as parent. Uses Unsafe to
247 * traverse Thread.group and ThreadGroup.parent fields.
253 (Thread.class.getDeclaredField("group"));
256 ThreadGroup group = (ThreadGroup)
258 while (group != null) {
259 ThreadGroup parent = (ThreadGroup)u.getObject(group, gp);
261 return new ThreadGroup(group,
263 group = parent;
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadGroupTest.java32 public MyThread(ThreadGroup group, String name) argument
34 super(group, name);
73 ThreadGroup tg = new ThreadGroup("group count");
86 new ThreadGroup(tg, "test group 1");
89 new ThreadGroup(tg, "test group 2");
135 ThreadGroup group = new ThreadGroup(initialThreadGroup, "enumerateThreadArray");
137 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize);
167 ThreadGroup childGroup = new ThreadGroup(initialThreadGroup, "child group");
275 "Test group");
276 assertFalse("Test group i
302 launchFiveSecondDummyThread(ThreadGroup group) argument
370 populateGroupsWithThreads(ThreadGroup group, int threadCount) argument
376 populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java173 /* The group of this thread */
174 private ThreadGroup group; field in class:Thread
393 * @param g the Thread group
406 this.group = g;
462 * {@code (group, target, gname)} ,where {@code gname} is a newly generated
466 * @param group
467 * the thread group. If {@code null} and there is a security
468 * manager, the group is determined by {@linkplain
471 * SecurityManager.getThreadGroup()} returns {@code null}, the group
472 * is set to the current thread's thread group
482 Thread(ThreadGroup group, Runnable target) argument
518 Thread(ThreadGroup group, String name) argument
525 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
613 Thread(ThreadGroup group, Runnable target, String name) argument
691 Thread(ThreadGroup group, Runnable target, String name, long stackSize) argument
[all...]
/libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/
H A DDistroVersion.java99 String formatMajorVersion = matcher.group(1);
100 String formatMinorVersion = matcher.group(2);
101 String rulesVersion = matcher.group(3);
102 String revision = matcher.group(4);

Completed in 1858 milliseconds

123