Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/native/
Dlinux_close.cpp59 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()
DInheritedChannel.c118 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/
DBlockGuardOs.java291 …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()
DForwardingOs.java162 …ol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, pr… in socketpair() argument
DOs.java155 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
DPosix.java239 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DInheritedChannel.java230 private static native void dup2(int fd, int fd2) throws IOException; in dup2() argument
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java439 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/
DOs.java496 …FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type… in socketpair() argument