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.java306 FileDescriptor oldFd = fd.release$(); in closeAndSignalBlockedThreads() local
307 if (!oldFd.valid()) { in closeAndSignalBlockedThreads()
311 AsynchronousCloseMonitor.signalBlockedThreads(oldFd); in closeAndSignalBlockedThreads()
313 Libcore.os.close(oldFd); in closeAndSignalBlockedThreads()
DForwardingOs.java214 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } in dup() argument
219 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() argument
DOs.java152 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() argument
157 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.java146 …ublic static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.du… in dup() argument
151 …tatic FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.… in dup2() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1258 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup() local
1259 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup()
1264 int oldFd = jniGetFDFromFileDescriptor(env, javaOldFd); in Linux_dup2() local
1265 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2()