/external/clang/test/Sema/ |
D | warn-type-safety.c | 120 #define F_DUPFD 10 macro 125 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD; 132 fcntl(0, F_DUPFD, 10); // no-warning in test_argument_with_type_tag() 136 …fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specifie… in test_argument_with_type_tag() 140 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion() 141 fcntl(0, b + F_DUPFD, 10); // no-warning in test_tag_expresssion() 142 fcntl(0, (b, F_DUPFD), 10); // expected-warning {{expression result unused}} in test_tag_expresssion()
|
/external/bison/m4/ |
D | fcntl.m4 | 8 # - supports F_DUPFD correctly 26 dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target 27 dnl haiku alpha 2 F_DUPFD has wrong errno 28 AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], 34 if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; 48 AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD
|
/external/bison/lib/ |
D | dup2.c | 119 # ifndef F_DUPFD 144 # ifdef F_DUPFD in dup2() 145 result = fcntl (fd, F_DUPFD, desired_fd); in dup2()
|
D | fcntl.c | 178 case F_DUPFD: in rpl_fcntl() 185 case F_DUPFD: in rpl_fcntl() 246 result = rpl_fcntl (fd, F_DUPFD, target); in rpl_fcntl() 253 result = rpl_fcntl (fd, F_DUPFD, target); in rpl_fcntl()
|
D | dup-safer.c | 33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
D | dup-safer-flag.c | 36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD, in dup_safer_flag()
|
D | fcntl.in.h | 179 #ifndef F_DUPFD 180 # define F_DUPFD 1
|
/external/valgrind/main/none/tests/ |
D | fdleak_fcntl.c | 13 DO( fcntl(s1, F_DUPFD, s1) ); in main()
|
/external/kernel-headers/original/asm-generic/ |
D | fcntl.h | 91 #define F_DUPFD 0 /* dup */ macro
|
/external/bison/darwin-lib/ |
D | fcntl.h | 491 #ifndef F_DUPFD 492 # define F_DUPFD 1 macro
|
/external/bison/linux-lib/ |
D | fcntl.h | 491 #ifndef F_DUPFD 492 # define F_DUPFD 1 macro
|
/external/strace/ |
D | desc.c | 57 { F_DUPFD, "F_DUPFD" }, 320 case F_SETOWN: case F_DUPFD: in sys_fcntl() 369 case F_DUPFD: in sys_fcntl()
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions.cc | 171 ErrorCode::OP_EQUAL, F_DUPFD, in RestrictFcntlCommands()
|
/external/mksh/src/ |
D | main.c | 1151 if ((rv = fcntl(fd, F_DUPFD, FDBASE)) < 0) { in tty_init_fd() 1380 nfd = fcntl(shl_dbg_fd, F_DUPFD, FDBASE); in initio() 1419 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 && in savefd()
|
D | shf.c | 72 nfd = fcntl(fd, F_DUPFD, FDBASE); in shf_open()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | scalar.c | 277 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF); in main() 986 SY(__NR_fcntl64, -1, F_DUPFD, x0); FAILx(EBADF); in main()
|
/external/valgrind/main/memcheck/tests/darwin/ |
D | scalar.c | 868 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF); in main() 1566 SY(__NR_fcntl64, -1, F_DUPFD, x0); FAILx(EBADF); in main()
|
/external/valgrind/main/include/vki/ |
D | vki-darwin.h | 271 #define VKI_F_DUPFD F_DUPFD
|
/external/chromium_org/third_party/lcov/ |
D | descriptions.tests | 52 Test F_DUPFD, F_SETFL cmds of fcntl 54 Basic test for fcntl(2) using F_DUPFD argument. 78 Testcase to test that fcntl() sets EMFILE for F_DUPFD command.
|
/external/bison/ |
D | configure | 20579 if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
|