/external/bison/lib/ |
fcntl.c | 46 /* Duplicate OLDFD into the first available slot of at least NEWFD, 50 dupfd (int oldfd, int newfd, int flags) 55 HANDLE old_handle = (HANDLE) _get_osfhandle (oldfd); 68 || (mode = setmode (oldfd, O_BINARY)) == -1) 70 /* oldfd is not open, or is an unassigned standard file 75 setmode (oldfd, mode); 143 result = _gl_register_dup (oldfd, result);
|
unistd.in.h | 321 _GL_FUNCDECL_RPL (dup, int, (int oldfd)); 322 _GL_CXXALIAS_RPL (dup, int, (int oldfd)); 324 _GL_CXXALIAS_SYS (dup, int, (int oldfd)); 337 /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if 338 NEWFD = OLDFD, otherwise close NEWFD first if it is open. 346 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); 347 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); 350 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); 352 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); 365 /* Copy the file descriptor OLDFD into file descriptor NEWFD, with th [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap_win.cc | 68 int _dup(int oldfd) { 69 return ki_dup(oldfd); 72 int _dup2(int oldfd, int newfd) { 73 return ki_dup2(oldfd, newfd);
|
kernel_intercept.h | 74 int ki_dup(int oldfd); 75 int ki_dup2(int oldfd, int newfd);
|
kernel_wrap.h | 66 int NAME(dup)(int oldfd) NOTHROW; 67 int NAME(dup2)(int oldfd, int newfd) NOTHROW;
|
kernel_intercept.cc | 176 int ki_dup(int oldfd) { 178 return s_state.kp->dup(oldfd); 181 int ki_dup2(int oldfd, int newfd) { 183 return s_state.kp->dup2(oldfd, newfd);
|
kernel_proxy.cc | 258 int KernelProxy::dup(int oldfd) { 261 Error error = AcquireHandleAndPath(oldfd, &handle, &path); 269 int KernelProxy::dup2(int oldfd, int newfd) { 271 if (oldfd == newfd) 276 Error error = AcquireHandleAndPath(oldfd, &old_handle, &old_path); [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_fd.cc | 206 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd) { 207 DPrintf("#%d: FdDup(%d, %d)\n", thr->tid, oldfd, newfd); 208 if (bogusfd(oldfd) || bogusfd(newfd)) 211 FdDesc *od = fddesc(thr, pc, oldfd);
|
tsan_interceptors.cc | [all...] |
tsan_fd.h | 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd);
|
/external/valgrind/main/include/ |
pub_tool_libcfile.h | 87 extern SysRes VG_(dup) ( Int oldfd ); 88 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
|
/libcore/luni/src/main/java/libcore/io/ |
ForwardingOs.java | 61 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } 62 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd, newFd); }
|
Os.java | 52 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; 53 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException;
|
IoBridge.java | 199 FileDescriptor oldFd = new FileDescriptor(); 200 oldFd.setInt$(intFd); 201 AsynchronousCloseMonitor.signalBlockedThreads(oldFd); 203 Libcore.os.close(oldFd);
|
Posix.java | 55 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; 56 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 104 uptr internal_dup2(int oldfd, int newfd) { 105 return dup2(oldfd, newfd);
|
sanitizer_libc.h | 84 uptr internal_dup2(int oldfd, int newfd);
|
sanitizer_linux.cc | 231 uptr internal_dup2(int oldfd, int newfd) { 233 return internal_syscall(SYSCALL(dup3), oldfd, newfd, 0); 235 return internal_syscall(SYSCALL(dup2), oldfd, newfd);
|
/external/bison/darwin-lib/ |
unistd.h | 633 _GL_FUNCDECL_RPL (dup, int, (int oldfd)); 634 _GL_CXXALIAS_RPL (dup, int, (int oldfd)); 636 _GL_CXXALIAS_SYS (dup, int, (int oldfd)); 649 /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if 650 NEWFD = OLDFD, otherwise close NEWFD first if it is open. 658 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); 659 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); 662 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); 664 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); 677 /* Copy the file descriptor OLDFD into file descriptor NEWFD, with th [all...] |
/external/bison/linux-lib/ |
unistd.h | 633 _GL_FUNCDECL_RPL (dup, int, (int oldfd)); 634 _GL_CXXALIAS_RPL (dup, int, (int oldfd)); 636 _GL_CXXALIAS_SYS (dup, int, (int oldfd)); 649 /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if 650 NEWFD = OLDFD, otherwise close NEWFD first if it is open. 658 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); 659 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); 662 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); 664 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); 677 /* Copy the file descriptor OLDFD into file descriptor NEWFD, with th [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
unistd.in.h | 156 /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if 157 NEWFD = OLDFD, otherwise close NEWFD first if it is open. 161 extern int dup2 (int oldfd, int newfd);
|
/external/valgrind/main/coregrind/ |
m_libcfile.c | 60 Int VG_(safe_fd)(Int oldfd) 66 newfd = VG_(fcntl)(oldfd, VKI_F_DUPFD, VG_(fd_hard_limit)); 68 VG_(close)(oldfd); 382 SysRes VG_(dup) ( Int oldfd ) 384 return VG_(do_syscall1)(__NR_dup, oldfd); 387 SysRes VG_(dup2) ( Int oldfd, Int newfd ) 390 return VG_(do_syscall2)(__NR_dup2, oldfd, newfd); [all...] |
pub_core_libcfile.h | 43 extern Int VG_(safe_fd) ( Int oldfd );
|
/libcore/luni/src/main/java/android/system/ |
Os.java | 80 public static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.dup(oldFd); } 85 public static FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.os.dup2(oldFd, newFd); }
|
/external/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |