Home
last modified time | relevance | path

Searched refs:newfd (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixAsynchronousServerSocketChannelImpl.java162 FileDescriptor newfd = new FileDescriptor(); in onEvent() local
167 int n = accept(this.fd, newfd, isaa); in onEvent()
190 child = finishAccept(newfd, isaa[0], acceptAcc); in onEvent()
226 private AsynchronousSocketChannel finishAccept(FileDescriptor newfd, in finishAccept() argument
233 ch = new UnixAsynchronousSocketChannelImpl(port, newfd, remote); in finishAccept()
235 nd.close(newfd); in finishAccept()
297 FileDescriptor newfd = new FileDescriptor(); in implAccept() local
303 int n = accept(this.fd, newfd, isaa); in implAccept()
341 child = finishAccept(newfd, isaa[0], null); in implAccept()
363 private int accept(FileDescriptor ssfd, FileDescriptor newfd, in accept() argument
[all …]
DServerSocketChannelImpl.java241 FileDescriptor newfd = new FileDescriptor(); in accept() local
250 n = accept(this.fd, newfd, isaa); in accept()
264 IOUtil.configureBlocking(newfd, true); in accept()
266 sc = new SocketChannelImpl(provider(), newfd, isa); in accept()
418 private int accept(FileDescriptor ssfd, FileDescriptor newfd, in accept() argument
422 return accept0(ssfd, newfd, isaa); in accept()
432 private native int accept0(FileDescriptor ssfd, FileDescriptor newfd, in accept0() argument
/libcore/ojluni/src/main/native/
DServerSocketChannelImpl.c88 jint newfd; in Java_sun_nio_ch_ServerSocketChannelImpl_accept0() local
108 newfd = accept(ssfd, sa, &sa_len); in Java_sun_nio_ch_ServerSocketChannelImpl_accept0()
109 if (newfd >= 0) { in Java_sun_nio_ch_ServerSocketChannelImpl_accept0()
118 if (newfd < 0) { in Java_sun_nio_ch_ServerSocketChannelImpl_accept0()
128 (*env)->SetIntField(env, newfdo, fd_fdID, newfd); in Java_sun_nio_ch_ServerSocketChannelImpl_accept0()
Dnet_util_md.h60 extern int NET_Dup2(int oldfd, int newfd);
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java201 FileDescriptor newfd = Libcore.os.accept(fd, peerAddress); in socketAccept() local
203 s.fd.setInt$(newfd.getInt$()); in socketAccept()