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

1 2 3 4 5 6 7 8 9

  /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/compiler-rt/test/tsan/
fd_dup_race.cc 7 // dup2(oldfd, newfd) races with close(newfd).
fd_dup_norace2.cc 8 // dup2(oldfd, newfd) races with read(newfd).
  /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/ltp/include/
tst_safe_macros.h 54 int oldfd)
58 rval = dup(oldfd);
61 "dup(%i) failed", oldfd);
66 #define SAFE_DUP(oldfd) \
67 safe_dup(__FILE__, __LINE__, (oldfd))
  /external/compiler-rt/lib/tsan/rtl/
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...]
tsan_fd.h 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
  /external/valgrind/include/
pub_tool_libcfile.h 87 extern SysRes VG_(dup) ( Int oldfd );
88 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
  /external/valgrind/coregrind/
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 )
485 The only real difference is when oldfd == newfd.
488 if (oldfd == newfd) {
489 if (VG_(fcntl)(oldfd, VKI_F_GETFL, 0) == -1
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_posix.h 48 uptr internal_dup2(int oldfd, int newfd);
  /libcore/luni/src/main/java/libcore/io/
ForwardingOs.java 75 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); }
76 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd, newFd); }
  /external/ltp/testcases/kernel/syscalls/linkat/
linkat01.c 91 int *oldfd; member in struct:test_struct
244 (*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)
  /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...]

Completed in 375 milliseconds

1 2 3 4 5 6 7 8 9