Searched refs:dup2 (Results 1 – 12 of 12) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | InheritedChannel.java | 62 dup2(devnull, 0); in detachIOStreams() 63 dup2(devnull, 1); in detachIOStreams() 64 dup2(devnull, 2); in detachIOStreams() 230 private static native void dup2(int fd, int fd2) throws IOException; in dup2() method in InheritedChannel
|
/libcore/ojluni/src/main/native/ |
D | InheritedChannel.c | 120 if (dup2(fd, fd2) < 0) { in Java_sun_nio_ch_InheritedChannel_dup2() 170 NATIVE_METHOD(InheritedChannel, dup2, "(II)V"),
|
D | io_util_md.c | 128 dup2(devnull, fd); in fileClose()
|
D | net_util_md.h | 77 #define NET_Dup2 dup2
|
D | linux_close.cpp | 72 rv = dup2(fd1, fd2); in closefd()
|
D | FileDispatcherImpl.c | 248 if (dup2(preCloseFD, fd) < 0) { in FileDispatcherImpl_preClose0()
|
D | UNIXProcess_md.c | 377 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 64 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() method in ForwardingOs
|
D | Os.java | 55 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method
|
D | Posix.java | 58 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method in Posix
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 95 …public static FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return … in dup2() method in Os
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 828 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Posix_dup2() 1975 NATIVE_METHOD(Posix, dup2, "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;"),
|