Searched refs:fd2 (Results 1 - 9 of 9) sorted by path

/libcore/luni/src/main/java/android/system/
H A DOs.java496 public static void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type, protocol, fd1, fd2); } argument
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java291 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { argument
292 os.socketpair(domain, type, protocol, fd1, fd2);
294 tagSocket(fd2);
H A DForwardingOs.java162 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } argument
H A DOs.java155 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
H A DPosix.java239 public native void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java439 FileDescriptor fd2 = s.getFileDescriptor$();
440 assertSame(fd1, fd2);
441 int fd2Val = fd2.getInt$();
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DInheritedChannel.java230 private static native void dup2(int fd, int fd2) throws IOException; argument
/libcore/ojluni/src/main/native/
H A DInheritedChannel.c118 Java_sun_nio_ch_InheritedChannel_dup2(JNIEnv *env, jclass cla, jint fd, jint fd2) argument
120 if (dup2(fd, fd2) < 0) {
H A Dlinux_close.cpp54 * fd1 < 0 => close(fd2)
55 * fd1 >= 0 => dup2(fd1, fd2)
59 static int closefd(int fd1, int fd2) { argument
62 AsynchronousCloseMonitor::signalBlockedThreads(fd2);
70 rv = close(fd2);
72 rv = dup2(fd1, fd2);
80 * that any threads blocked in an I/O system call on fd2 will be
83 int NET_Dup2(int fd, int fd2) { argument
88 return closefd(fd, fd2);

Completed in 1677 milliseconds