Home
last modified time | relevance | path

Searched refs:F_GETFD (Results 1 – 25 of 55) sorted by relevance

123

/external/bison/lib/
Dfcntl.c194 int flags = fcntl (fd, F_GETFD); in rpl_fcntl()
256 int flags = fcntl (result, F_GETFD); in rpl_fcntl()
270 case F_GETFD: in rpl_fcntl()
Dpipe2.c131 if ((fcntl_flags = fcntl (fd[1], F_GETFD, 0)) < 0 in pipe2()
133 || (fcntl_flags = fcntl (fd[0], F_GETFD, 0)) < 0 in pipe2()
Dfcntl.in.h183 #ifndef F_GETFD
184 # define F_GETFD 2
Dcloexec.c43 int flags = fcntl (desc, F_GETFD, 0); in set_cloexec_flag()
/external/valgrind/main/memcheck/tests/
Dfile_locking.c49 flags = fcntl(fd, F_GETFD); in open_lock_and_map()
/external/kernel-headers/original/asm-generic/
Dfcntl.h92 #define F_GETFD 1 /* get close_on_exec */ macro
/external/bison/darwin-lib/
Dfcntl.h495 #ifndef F_GETFD
496 # define F_GETFD 2 macro
/external/bison/linux-lib/
Dfcntl.h495 #ifndef F_GETFD
496 # define F_GETFD 2 macro
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteFileSystemPosix.cpp87 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in chromiumOpen()
/external/qemu/
Doslib-posix.c87 f = fcntl(fd, F_GETFD); in qemu_set_cloexec()
/external/bison/m4/
Ddup2.m433 if (fcntl (1, F_GETFD) != FD_CLOEXEC)
Dfcntl.m410 # - supports F_GETFD
/external/dhcpcd/
Dcommon.c114 if ((flags = fcntl(fd, F_GETFD, 0)) == -1 || in set_cloexec()
/external/e2fsprogs/lib/et/
Derror_message.c230 flags = fcntl(fd, F_GETFD); in init_debug()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_netlink.c71 flags = fcntl (linux_netlink_socket, F_GETFD); in set_fd_cloexec_nb()
/external/chromium/chrome/browser/nacl_host/
Dnacl_process_host.cc37 int flags = fcntl(fd, F_GETFD); in SetCloseOnExec()
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc165 ErrorCode::OP_EQUAL, F_GETFD, in RestrictFcntlCommands()
/external/chromium_org/third_party/sqlite/
Dsystem-sqlite.patch122 + osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
253 - osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
319 osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
518 + osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
651 - osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
717 osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
/external/strace/
Ddesc.c58 { F_GETFD, "F_GETFD" },
383 case F_GETFD: in sys_fcntl()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dkernel_proxy_test.cc93 ASSERT_EQ(0, ki_fcntl_wrapper(fd, F_GETFD)); in TEST_F()
99 ASSERT_EQ(FD_CLOEXEC, ki_fcntl_wrapper(fd, F_GETFD)); in TEST_F()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
Dnative_drm.c325 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in native_create_display()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c325 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in native_create_display()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c144 fcntl(drmdpy->fd, F_SETFD, fcntl(drmdpy->fd, F_GETFD) | FD_CLOEXEC); in drm_handle_device()
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c144 fcntl(drmdpy->fd, F_SETFD, fcntl(drmdpy->fd, F_GETFD) | FD_CLOEXEC); in drm_handle_device()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
Dx11_screen.c275 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in x11_screen_enable_dri2()

123