Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/io/
DIoBridge.java199 FileDescriptor oldFd = new FileDescriptor(); in closeAndSignalBlockedThreads() local
200 oldFd.setInt$(intFd); in closeAndSignalBlockedThreads()
201 AsynchronousCloseMonitor.signalBlockedThreads(oldFd); in closeAndSignalBlockedThreads()
203 Libcore.os.close(oldFd); in closeAndSignalBlockedThreads()
DForwardingOs.java61 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } in dup() argument
62 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() argument
DOs.java52 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
53 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
DPosix.java55 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
56 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
/libcore/luni/src/main/java/android/system/
DOs.java80 …ublic static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.du… in dup() argument
85 …tatic FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.… in dup2() argument
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp532 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Posix_dup() local
533 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Posix_dup()
538 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Posix_dup2() local
539 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Posix_dup2()