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.java304 FileDescriptor oldFd = fd.release$(); in closeAndSignalBlockedThreads() local
305 if (!oldFd.valid()) { in closeAndSignalBlockedThreads()
309 AsynchronousCloseMonitor.signalBlockedThreads(oldFd); in closeAndSignalBlockedThreads()
311 Libcore.os.close(oldFd); in closeAndSignalBlockedThreads()
DForwardingOs.java211 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } in dup() argument
216 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() argument
DOs.java151 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
156 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.java144 …ublic static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.du… in dup() argument
149 …tatic FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.… in dup2() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1265 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup() local
1266 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup()
1271 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup2() local
1272 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2()