Searched refs:fd2 (Results 1 - 9 of 9) sorted by path
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 496 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 D | BlockGuardOs.java | 291 @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 D | ForwardingOs.java | 162 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 D | Os.java | 155 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
|
H A D | Posix.java | 239 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 D | SocketTest.java | 439 FileDescriptor fd2 = s.getFileDescriptor$(); 440 assertSame(fd1, fd2); 441 int fd2Val = fd2.getInt$();
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | InheritedChannel.java | 230 private static native void dup2(int fd, int fd2) throws IOException; argument
|
/libcore/ojluni/src/main/native/ |
H A D | InheritedChannel.c | 118 Java_sun_nio_ch_InheritedChannel_dup2(JNIEnv *env, jclass cla, jint fd, jint fd2) argument 120 if (dup2(fd, fd2) < 0) {
|
H A D | linux_close.cpp | 54 * 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