Home
last modified time | relevance | path

Searched refs:oldFd (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java97 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } in dup() argument
98 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() argument
DIoBridge.java250 FileDescriptor oldFd = fd.release$(); in closeAndSignalBlockedThreads() local
251 AsynchronousCloseMonitor.signalBlockedThreads(oldFd); in closeAndSignalBlockedThreads()
253 Libcore.os.close(oldFd); in closeAndSignalBlockedThreads()
DOs.java72 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
73 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
DLinux.java72 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
73 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
/libcore/luni/src/main/java/android/system/
DOs.java123 …ublic static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.du… in dup() argument
128 …tatic FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.… in dup2() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1194 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup() local
1195 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup()
1200 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup2() local
1201 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2()