/external/clang/test/Sema/ |
D | warn-type-safety.c | 122 #define F_DUPFD 10 macro 127 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD; 134 fcntl(0, F_DUPFD, 10); // no-warning in test_argument_with_type_tag() 138 …fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specifie… in test_argument_with_type_tag() 142 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion() 143 fcntl(0, b + F_DUPFD, 10); // no-warning in test_tag_expresssion() 144 fcntl(0, (b, F_DUPFD), 10); // expected-warning {{expression result unused}} in test_tag_expresssion()
|
/external/llvm-project/clang/test/Sema/ |
D | warn-type-safety.c | 126 #define F_DUPFD 10 macro 131 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD; 138 fcntl(0, F_DUPFD, 10); // no-warning in test_argument_with_type_tag() 142 …fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specifie… in test_argument_with_type_tag() 146 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion() 147 fcntl(0, b + F_DUPFD, 10); // no-warning in test_tag_expresssion() 148 fcntl(0, (b, F_DUPFD), 10); // expected-warning {{expression result unused}} in test_tag_expresssion()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 75 if ((fd[2] = fcntl(fd[1], F_DUPFD, 1)) == -1) in main() 82 if ((fd[4] = fcntl(fd[1], F_DUPFD, fd2[3])) < 0) in main() 89 if ((fd[8] = fcntl(fd[1], F_DUPFD, fd2[5])) < 0) in main()
|
D | fcntl02.c | 28 TEST(fcntl(fd, F_DUPFD, min_fd)); in verify_fcntl()
|
D | fcntl12.c | 86 if (fcntl(1, F_DUPFD, 1) != -1) { in main()
|
D | fcntl15.c | 405 if ((fd_B = fcntl(fd_A, F_DUPFD, 0)) < 0) { in run_test()
|
/external/strace/xlat/ |
D | fcntlcmds.h | 6 #if defined(F_DUPFD) || (defined(HAVE_DECL_F_DUPFD) && HAVE_DECL_F_DUPFD) 8 static_assert((F_DUPFD) == (0), "F_DUPFD != 0"); 11 # define F_DUPFD 0 399 XLAT(F_DUPFD),
|
D | fcntlcmds.in | 2 F_DUPFD 0
|
/external/python/cpython3/Python/ |
D | dup2.c | 27 if (fcntl(fd1, F_DUPFD, fd2) < 0) in dup2()
|
/external/python/cpython2/Python/ |
D | dup2.c | 27 if (fcntl(fd1, F_DUPFD, fd2) < 0) in dup2()
|
/external/rust/crates/nix/src/ |
D | fcntl.rs | 326 F_DUPFD(RawFd), enumerator 357 F_DUPFD(RawFd), enumerator 370 F_DUPFD(rawfd) => libc::fcntl(fd, libc::F_DUPFD, rawfd), in fcntl()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 100 #define F_DUPFD 0 /* dup */ macro
|
/external/wayland/src/ |
D | wayland-os.c | 86 newfd = fcntl(fd, F_DUPFD, minfd); in wl_os_dupfd_cloexec()
|
/external/mesa3d/src/util/ |
D | os_file.c | 62 newfd = fcntl(fd, F_DUPFD, minfd); in os_dupfd_cloexec()
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 459 #ifdef F_DUPFD in all_ins() 460 if (ins(d, "F_DUPFD", (long)F_DUPFD)) return -1; in all_ins()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 489 #ifdef F_DUPFD in all_ins() 490 if (PyModule_AddIntMacro(m, F_DUPFD)) return -1; in all_ins()
|
/external/python/cpython2/Lib/plat-irix5/ |
D | FILE.py | 170 F_DUPFD = 0 variable
|
/external/strace/ |
D | fcntl.c | 101 case F_DUPFD: in print_fcntl()
|
/external/strace/tests-mx32/ |
D | fcntl-common.c | 342 { 0, ARG_STR(F_DUPFD), ARG_STR(0) }, in test_fcntl_others()
|
/external/strace/tests/ |
D | fcntl-common.c | 342 { 0, ARG_STR(F_DUPFD), ARG_STR(0) }, in test_fcntl_others()
|
/external/strace/tests-m32/ |
D | fcntl-common.c | 342 { 0, ARG_STR(F_DUPFD), ARG_STR(0) }, in test_fcntl_others()
|
/external/mesa3d/src/drm-shim/ |
D | drm_shim.c | 552 if (shim_fd && (cmd == F_DUPFD || cmd == F_DUPFD_CLOEXEC)) in fcntl()
|
/external/python/cpython2/Lib/plat-irix6/ |
D | FILE.py | 581 F_DUPFD = 0 variable
|
/external/mksh/src/ |
D | main.c | 1256 if ((rv = fcntl(fd, F_DUPFD, FDBASE)) < 0) { in tty_init_fd() 1516 nfd = fcntl(shl_dbg_fd, F_DUPFD, FDBASE); in initio() 1555 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 && in savefd()
|
/external/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 411 pub const F_DUPFD: ::c_int = 0; constant 417 pub const F_DUPFD_CLOEXEC: ::c_int = ::F_DUPFD;
|