Home
last modified time | relevance | path

Searched refs:newFd (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java98 … FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd… in dup2() argument
DOs.java73 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
DLinux.java73 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() argument
/libcore/luni/src/main/java/android/system/
DOs.java128 …eDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.os.dup2(o… in dup2() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1195 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup() local
1196 return (newFd != -1) ? jniCreateFileDescriptor(env, newFd) : NULL; in Linux_dup()
1199 static jobject Linux_dup2(JNIEnv* env, jobject, jobject javaOldFd, jint newFd) { in Linux_dup2() argument
1201 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2()