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

1 2 3 4

  /prebuilts/go/darwin-x86/misc/cgo/testcshared/src/libgo2/
dup2.go 11 func dup2(oldfd, newfd int) error {
12 return syscall.Dup2(oldfd, newfd)
dup3.go 11 func dup2(oldfd, newfd int) error {
12 return syscall.Dup3(oldfd, newfd, 0)
  /prebuilts/go/linux-x86/misc/cgo/testcshared/src/libgo2/
dup2.go 11 func dup2(oldfd, newfd int) error {
12 return syscall.Dup2(oldfd, newfd)
dup3.go 11 func dup2(oldfd, newfd int) error {
12 return syscall.Dup3(oldfd, newfd, 0)
  /external/ltp/testcases/kernel/syscalls/dup3/
dup3_02.c 22 * if flags contain an invalid value or oldfd was equal to newfd.
50 int *oldfd; member in struct:test_case_t
76 TEST(ltp_syscall(__NR_dup3, *(test_cases[i].oldfd),
  /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/include/
pub_tool_libcfile.h 87 extern SysRes VG_(dup) ( Int oldfd );
88 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.h 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
tsan_fd.cc 225 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write) {
226 DPrintf("#%d: FdDup(%d, %d)\n", thr->tid, oldfd, newfd);
227 if (bogusfd(oldfd) || bogusfd(newfd))
230 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_posix.h 48 uptr internal_dup2(int oldfd, int newfd);
sanitizer_mac.cc 144 uptr internal_dup2(int oldfd, int newfd) {
145 return dup2(oldfd, newfd);
  /external/valgrind/coregrind/
pub_core_libcfile.h 43 extern Int VG_(safe_fd) ( Int oldfd );
m_libcfile.c 55 Int VG_(safe_fd)(Int oldfd)
61 newfd = VG_(fcntl)(oldfd, VKI_F_DUPFD, VG_(fd_hard_limit));
63 VG_(close)(oldfd);
470 SysRes VG_(dup) ( Int oldfd )
473 return VG_(do_syscall1)(__NR_dup, oldfd);
475 return VG_(do_syscall3)(__NR_fcntl, oldfd, F_DUPFD, 0);
481 SysRes VG_(dup2) ( Int oldfd, Int newfd )
484 return VG_(do_syscall2)(__NR_dup2, oldfd, newfd);
486 return VG_(do_syscall3)(__NR_fcntl, oldfd, F_DUP2FD, newfd);
    [all...]
  /libcore/ojluni/src/main/native/
net_util_md.h 53 extern int NET_Dup2(int oldfd, int newfd);
  /external/ltp/testcases/kernel/syscalls/linkat/
linkat01.c 93 int *oldfd; member in struct:test_struct
254 (*desc->oldfd, desc->oldfn, *desc->newfd, desc->newfn,
  /prebuilts/go/darwin-x86/src/syscall/
zsyscall_plan9_386.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
zsyscall_plan9_amd64.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
zsyscall_plan9_arm.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
  /prebuilts/go/linux-x86/src/syscall/
zsyscall_plan9_386.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
zsyscall_plan9_amd64.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
zsyscall_plan9_arm.go 210 func Dup(oldfd int, newfd int) (fd int, err error) {
211 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)

Completed in 994 milliseconds

1 2 3 4