/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Groupable.java | 30 * asynchronous channel group. 34 AsynchronousChannelGroupImpl group(); method in interface:Groupable
|
H A D | LinuxAsynchronousChannelProvider.java | 67 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 D | MembershipRegistry.java | 41 // 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 D | MembershipKeyImpl.java | 42 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 D | AsynchronousServerSocketChannelImpl.java | 69 AsynchronousServerSocketChannelImpl(AsynchronousChannelGroupImpl group) { argument 70 super(group.provider());
|
H A D | Invoker.java | 46 // 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...] |
H A D | UnixAsynchronousServerSocketChannelImpl.java | 148 public AsynchronousChannelGroupImpl group() { method in class:UnixAsynchronousServerSocketChannelImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | MulticastChannel.java | 39 * 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 D | MembershipKey.java | 34 * 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 D | AsynchronousServerSocketChannel.java | 125 * 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 D | AsynchronousSocketChannel.java | 149 * 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/java/nio/file/attribute/ |
H A D | PosixFileAttributes.java | 55 * Returns the group owner of the file. 57 * @return the file group owner 61 GroupPrincipal group(); method in interface:PosixFileAttributes
|
H A D | UserPrincipalLookupService.java | 31 * 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 D | PosixFileAttributeView.java | 39 * 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/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...] |
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
H A D | AsynchronousChannelProvider.java | 170 * Constructs a new asynchronous channel group with a fixed thread pool. 177 * @return A new asynchronous channel group 190 * Constructs a new asynchronous channel group with the given thread pool. 198 * @return A new asynchronous channel group 211 * @param group 212 * The group to which the channel is bound, or {@code null} to 213 * bind to the default group 218 * If the provider that created the group differs from this provider 220 * The group is shutdown 225 (AsynchronousChannelGroup group) throw 224 openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) argument 243 openAsynchronousSocketChannel(AsynchronousChannelGroup group) argument [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixUserPrincipals.java | 136 // lookup user or group name 174 // lookup group name 175 static GroupPrincipal lookupGroup(String group) argument 178 int gid = lookupName(group, true); 179 return new Group(gid, group);
|
H A D | UnixFileAttributeViews.java | 134 private static final String GROUP_NAME = "group"; 198 builder.add(GROUP_NAME, attrs.group()); 272 throw new IOException("'owner' parameter can't be a group"); 283 public void setGroup(GroupPrincipal group) argument 286 if (group == null) 288 if (!(group instanceof UnixUserPrincipals.Group)) 290 int gid = ((UnixUserPrincipals.Group)group).gid();
|
H A D | UnixFileAttributes.java | 58 private volatile GroupPrincipal group; field in class:UnixFileAttributes 204 public GroupPrincipal group() { method in class:UnixFileAttributes 205 if (group == null) { 207 if (group == null) { 208 group = UnixUserPrincipals.fromGid(st_gid); 212 return group;
|
H A D | UnixSecureDirectoryStream.java | 553 throw new IOException("'owner' parameter can't be a group"); 559 public void setGroup(GroupPrincipal group) argument 562 if (!(group instanceof UnixUserPrincipals.Group)) 564 int gid = ((UnixUserPrincipals.Group)group).gid();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockDatagramChannel.java | 120 public MembershipKey join(InetAddress group, NetworkInterface interf) { argument 125 public MembershipKey join(InetAddress group, NetworkInterface interf, InetAddress source) argument
|
/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); 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 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);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | Executors.java | 349 * priority permitted in the thread group. New threads have names 547 private final ThreadGroup group; field in class:Executors.DefaultThreadFactory 553 group = (s != null) ? s.getThreadGroup() : 561 Thread t = new Thread(group, r,
|
/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...] |