Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/native/
Dnet_util_md.h83 #define NET_Dup2 dup2
Dio_util_md.c145 dup2(devnull, fd); in fileClose()
Dlinux_close.cpp79 rv = dup2(fd1, fd2); in closefd()
DFileDispatcherImpl.c278 if (dup2(preCloseFD, fd) < 0) { in FileDispatcherImpl_preClose0()
DUNIXProcess_md.c382 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java237 Libcore.os.dup2(markerFD, fd.getInt$()); in socketClose0()
/libcore/luni/src/main/java/android/system/
DOs.java127 …public static FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return … in dup2() method in Os
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java97 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2 in dup2() method in ForwardingOs
DOs.java72 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method
DLinux.java72 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method in Linux
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1216 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2()
2603 NATIVE_METHOD(Linux, dup2, "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;"),