Searched defs:fd2 (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/native/
H A DLinuxWatchService.c134 (JNIEnv* env, jclass clazz, jint fd1, jint fd2)
141 ufds[1].fd = fd2;
133 Java_sun_nio_fs_LinuxWatchService_poll(JNIEnv* env, jclass clazz, jint fd1, jint fd2) argument
H A Dlinux_close.cpp56 * fd1 < 0 => close(fd2)
57 * fd1 >= 0 => dup2(fd1, fd2)
61 static int closefd(int fd1, int fd2) { argument
64 AsynchronousCloseMonitor::signalBlockedThreads(fd2);
72 rv = close(fd2);
74 rv = dup2(fd1, fd2);
82 * that any threads blocked in an I/O system call on fd2 will be
85 int NET_Dup2(int fd, int fd2) { argument
90 return closefd(fd, fd2);
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DLinuxWatchService.java493 private static native int poll(int fd1, int fd2) throws UnixException; argument
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java318 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { argument
319 os.socketpair(domain, type, protocol, fd1, fd2);
322 tagSocket(fd2);
H A DForwardingOs.java179 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 DLinux.java253 public native void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
H A DOs.java166 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
/libcore/luni/src/main/java/android/system/
H A DOs.java554 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

Completed in 68 milliseconds