HomeSort by relevance Sort by last modified time
    Searched refs:oldfd (Results 1 - 25 of 25) sorted by null

  /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/valgrind/main/include/
pub_tool_libcfile.h 87 extern SysRes VG_(dup) ( Int oldfd );
88 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
  /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.h 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd);
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...]
  /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...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_libc.h 84 uptr internal_dup2(int oldfd, int newfd);
sanitizer_mac.cc 104 uptr internal_dup2(int oldfd, int newfd) {
105 return dup2(oldfd, newfd);
sanitizer_win.cc 342 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/valgrind/main/coregrind/
pub_core_libcfile.h 43 extern Int VG_(safe_fd) ( Int oldfd );
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...]
  /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/compiler-rt/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-generic.c     [all...]
syswrap-linux.c     [all...]
  /external/valgrind/main/memcheck/tests/x86-linux/
scalar.stderr.exp 474 Syscall param dup(oldfd) contains uninitialised byte(s)
655 Syscall param dup2(oldfd) contains uninitialised byte(s)
    [all...]
  /frameworks/base/services/backup/java/com/android/server/backup/
BackupManagerService.java 4054 int oldfd = output.getFd(); local
    [all...]

Completed in 747 milliseconds