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

1 2 3 4 5

  /external/valgrind/none/tests/
fdleak_fcntl.c 13 (void) DO( fcntl(s1, F_DUPFD, s1) );
  /external/strace/xlat/
fcntlcmds.in 2 F_DUPFD 0
fcntlcmds.h 2 #if !(defined(F_DUPFD) || (defined(HAVE_DECL_F_DUPFD) && HAVE_DECL_F_DUPFD))
3 # define F_DUPFD 0
93 XLAT(F_DUPFD),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dup2.c 27 if (fcntl(fd1, F_DUPFD, fd2) < 0)
  /external/python/cpython2/Python/
dup2.c 27 if (fcntl(fd1, F_DUPFD, fd2) < 0)
  /external/python/cpython3/Python/
dup2.c 27 if (fcntl(fd1, F_DUPFD, fd2) < 0)
  /external/clang/test/Sema/
warn-type-safety.c 122 #define F_DUPFD 10
127 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD;
134 fcntl(0, F_DUPFD, 10); // no-warning
138 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' type tag that requires 'int'}}
142 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning
143 fcntl(0, b + F_DUPFD, 10); // no-warning
144 fcntl(0, (b, F_DUPFD), 10); // expected-warning {{expression result unused}}
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl02.c 35 * Basic test for fcntl(2) using F_DUPFD argument.
56 TEST(fcntl(fd, F_DUPFD, min_fd));
59 tst_res(TFAIL | TTERRNO, "fcntl(%s, F_DUPFD, %i) failed",
65 tst_res(TFAIL, "fcntl(%s, F_DUPFD, %i) returned %ld < %i",
69 tst_res(TPASS, "fcntl(%s, F_DUPFD, %i) returned %ld",
fcntl01.c 6 * Test F_DUPFD, F_SETFL cmds of fcntl
13 * 1. Testing F_DUPFD cmd with arg less than, equal to, and greater
75 if ((fd[2] = fcntl(fd[1], F_DUPFD, 1)) == -1)
82 if ((fd[4] = fcntl(fd[1], F_DUPFD, fd2[3])) < 0)
89 if ((fd[8] = fcntl(fd[1], F_DUPFD, fd2[5])) < 0)
fcntl12.c 25 * Testcase to test that fcntl() sets EMFILE for F_DUPFD command.
29 * getdtablesize() system call. Then attempt to use the F_DUPFD command
86 if (fcntl(1, F_DUPFD, 1) != -1) {
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
fcntl.h 92 #define F_DUPFD 0 ///< duplicate file descriptor
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
fcntl.h 91 #define F_DUPFD 0 /* dup */
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 83 #define F_DUPFD 0
  /bionic/tests/headers/posix/
fcntl_h.c 34 MACRO(F_DUPFD);
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 100 #define F_DUPFD 0 /* dup */
  /external/wayland/src/
wayland-os.c 86 newfd = fcntl(fd, F_DUPFD, minfd);
  /external/strace/
fcntl.c 102 case F_DUPFD:
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/
fcntl.h 72 #define F_DUPFD 0 /* Duplicate file descriptor. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
fcntl.h 77 #define F_DUPFD 0 /* Duplicate file descriptor. */
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
fcntlmodule.c 457 #ifdef F_DUPFD
458 if (ins(d, "F_DUPFD", (long)F_DUPFD)) return -1;
  /external/minijail/linux-x86/
libconstants.gen.c 539 #ifdef F_DUPFD
540 { "F_DUPFD", (unsigned long) F_DUPFD },
541 #endif // F_DUPFD
    [all...]
  /external/python/cpython2/Modules/
fcntlmodule.c 459 #ifdef F_DUPFD
460 if (ins(d, "F_DUPFD", (long)F_DUPFD)) return -1;
  /external/python/cpython3/Modules/
fcntlmodule.c 462 #ifdef F_DUPFD
463 if (PyModule_AddIntMacro(m, F_DUPFD)) return -1;
  /external/python/cpython2/Lib/plat-irix5/
FILE.py 170 F_DUPFD = 0
  /system/core/debuggerd/tombstoned/
intercept_manager.cpp 111 int moved_fd = fcntl(rcv_fd.get(), F_DUPFD, 512);

Completed in 1386 milliseconds

1 2 3 4 5