Searched refs:fd2 (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | linux_close.cpp | 59 static int closefd(int fd1, int fd2) { in closefd() argument 62 AsynchronousCloseMonitor::signalBlockedThreads(fd2); in closefd() 70 rv = close(fd2); in closefd() 72 rv = dup2(fd1, fd2); in closefd() 83 int NET_Dup2(int fd, int fd2) { in NET_Dup2() argument 88 return closefd(fd, fd2); in NET_Dup2()
|
D | InheritedChannel.c | 118 Java_sun_nio_ch_InheritedChannel_dup2(JNIEnv *env, jclass cla, jint fd, jint fd2) in Java_sun_nio_ch_InheritedChannel_dup2() argument 120 if (dup2(fd, fd2) < 0) { in Java_sun_nio_ch_InheritedChannel_dup2()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 291 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument 292 os.socketpair(domain, type, protocol, fd1, fd2); in socketpair() 294 tagSocket(fd2); in socketpair()
|
D | ForwardingOs.java | 162 …ol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, pr… in socketpair() argument
|
D | Os.java | 155 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
|
D | Posix.java | 239 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | InheritedChannel.java | 230 private static native void dup2(int fd, int fd2) throws IOException; in dup2() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | SocketTest.java | 439 FileDescriptor fd2 = s.getFileDescriptor$(); in testFileDescriptorStaysSame() local 440 assertSame(fd1, fd2); in testFileDescriptorStaysSame() 441 int fd2Val = fd2.getInt$(); in testFileDescriptorStaysSame()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 496 …FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type… in socketpair() argument
|