/external/bison/m4/ |
D | dup2.m4 | 26 #ifdef FD_CLOEXEC 27 if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) 32 #ifdef FD_CLOEXEC 33 if (fcntl (1, F_GETFD) != FD_CLOEXEC) 56 haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
|
/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket02.c | 154 if (coe & FD_CLOEXEC) { in main() 170 if ((coe & FD_CLOEXEC) == 0) { in main() 187 if (coe & FD_CLOEXEC) { in main() 207 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | pipe_select_interrupter.ipp | 47 #if defined(FD_CLOEXEC) 48 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC); 49 ::fcntl(write_descriptor_, F_SETFD, FD_CLOEXEC); 50 #endif // defined(FD_CLOEXEC)
|
/external/strace/tests/ |
D | vfork-f.c | 61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main() 67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main() 69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
|
/external/strace/tests-mx32/ |
D | vfork-f.c | 61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main() 67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main() 69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
|
/external/strace/tests-m32/ |
D | vfork-f.c | 61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main() 67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main() 69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
|
/external/strace/xlat/ |
D | fdflags.h | 11 #if defined(FD_CLOEXEC) || (defined(HAVE_DECL_FD_CLOEXEC) && HAVE_DECL_FD_CLOEXEC) 12 XLAT(FD_CLOEXEC),
|
D | fdflags.in | 1 FD_CLOEXEC
|
/external/bison/lib/ |
D | cloexec.c | 47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); in set_cloexec_flag()
|
D | pipe2.c | 132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1 in pipe2() 134 || fcntl (fd[0], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1) in pipe2()
|
D | fcntl.in.h | 164 #ifndef FD_CLOEXEC 165 # define FD_CLOEXEC 1
|
D | fcntl.c | 257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) in rpl_fcntl() 279 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; in rpl_fcntl()
|
/external/ltp/testcases/kernel/syscalls/epoll_create1/ |
D | epoll_create1_01.c | 46 if (coe & FD_CLOEXEC) in verify_epoll_create1() 56 if ((coe & FD_CLOEXEC) == 0) in verify_epoll_create1()
|
/external/ltp/testcases/kernel/syscalls/dup3/ |
D | dup3_01.c | 134 if (coe & FD_CLOEXEC) { in main() 147 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/eventfd2/ |
D | eventfd2_01.c | 140 if (coe & FD_CLOEXEC) { in main() 153 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd02.c | 151 if (coe & FD_CLOEXEC) { in main() 169 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/inotify_init/ |
D | inotify_init1_01.c | 149 if (coe & FD_CLOEXEC) { in main() 163 } else if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/pipe2/ |
D | pipe2_01.c | 154 if (coe & FD_CLOEXEC) { in main() 173 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/signalfd4/ |
D | signalfd4_01.c | 155 if (coe & FD_CLOEXEC) { in main() 173 if ((coe & FD_CLOEXEC) == 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 141 fdf_pass = ((fdf & FD_CLOEXEC) != 0) == in do_test() 145 (fdf & FD_CLOEXEC) ? "" : "not ", fdf_pass ? "OK" : "failed"); in do_test() 150 fdf & FD_CLOEXEC, closeonexec_flag & SOCK_CLOEXEC); in do_test()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 94 if (fcntl(control_pipe[0], F_SETFD, FD_CLOEXEC)) in Start() 96 if (fcntl(control_pipe[1], F_SETFD, FD_CLOEXEC)) in Start() 145 if (fcntl(fds[1], F_SETFD, FD_CLOEXEC)) in CreateReportChannel()
|
/external/mtpd/ |
D | mtpd.c | 117 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments() 173 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main() 174 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main() 303 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 58 #if defined(FD_CLOEXEC) in set_fd_cloexec_nb() 65 if (!(flags & FD_CLOEXEC)) { in set_fd_cloexec_nb() 66 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) { in set_fd_cloexec_nb()
|
/external/vboot_reference/cgpt/ |
D | cgpt_nor.c | 214 fcntl(1, F_SETFD, FD_CLOEXEC); in ReadNorFlash() 239 fcntl(1, F_SETFD, FD_CLOEXEC); in WriteNorFlash()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 11-1.c | 43 if (flags & FD_CLOEXEC) { in main()
|