/external/bison/lib/ |
cloexec.c | 28 /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, 47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC);
|
pipe2.c | 111 says that initially, the O_NONBLOCK and FD_CLOEXEC flags are cleared on 132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1 134 || fcntl (fd[0], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1)
|
fcntl.c | 165 FD_CLOEXEC is portable, but other flags may be present); otherwise 257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) 279 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC;
|
fcntl.in.h | 164 #ifndef FD_CLOEXEC 165 # define FD_CLOEXEC 1
|
/bionic/tests/ |
fcntl_test.cpp | 30 ASSERT_EQ(0, flags & FD_CLOEXEC); 32 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); 37 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC);
|
sys_socket_test.cpp | 126 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC);
|
/development/ndk/platforms/android-3/header-patches/include/asm-generic/ |
fcntl.h | 72 #define FD_CLOEXEC 1
|
/development/ndk/platforms/android-3/include/asm-generic/ |
fcntl.h | 83 #define FD_CLOEXEC 1
|
/development/ndk/platforms/android-L/include/asm-generic/ |
fcntl.h | 141 #define FD_CLOEXEC 1
|
/bionic/libc/kernel/uapi/asm-generic/ |
fcntl.h | 147 #define FD_CLOEXEC 1
|
/external/kernel-headers/original/uapi/asm-generic/ |
fcntl.h | 145 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
|
/external/mtpd/ |
mtpd.c | 116 fcntl(control, F_SETFD, FD_CLOEXEC); 172 fcntl(signals[0], F_SETFD, FD_CLOEXEC); 173 fcntl(signals[1], F_SETFD, FD_CLOEXEC); 298 fcntl(the_socket, F_SETFD, FD_CLOEXEC);
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
linux_netlink.c | 70 #if defined(FD_CLOEXEC) 76 if (!(flags & FD_CLOEXEC)) { 77 fcntl (linux_netlink_socket, F_SETFD, flags | FD_CLOEXEC);
|
/art/runtime/ |
zip_archive.cc | 83 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteFileSystemPosix.cpp | 87 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
/external/iptables/extensions/ |
libxt_set.h | 27 if (fcntl(sockfd, F_SETFD, FD_CLOEXEC) == -1) {
|
/external/bison/darwin-lib/ |
fcntl.h | 476 #ifndef FD_CLOEXEC 477 # define FD_CLOEXEC 1
|
/external/bison/linux-lib/ |
fcntl.h | 476 #ifndef FD_CLOEXEC 477 # define FD_CLOEXEC 1
|
/external/deqp/framework/delibs/deutil/ |
deFile.c | 128 int newFlags = (flags & DE_FILE_CLOSE_ON_EXEC) ? (oldFlags | FD_CLOEXEC) : (oldFlags & ~FD_CLOEXEC);
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
nonsfi_sandbox.cc | 55 // 1. F_SETFD + FD_CLOEXEC: libevent's epoll_init uses this. 65 return If((cmd == F_SETFD && long_arg == FD_CLOEXEC) || cmd == F_GETFL ||
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_object.cc | 172 // Only setting of FD_CLOEXEC is supported. 173 if (flags & ~FD_CLOEXEC)
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/ |
native_drm.c | 325 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/ |
native_drm.c | 144 fcntl(drmdpy->fd, F_SETFD, fcntl(drmdpy->fd, F_GETFD) | FD_CLOEXEC);
|
/external/chromium_org/third_party/webrtc/test/channel_transport/ |
udp_socket_posix.cc | 65 if(fcntl(_socket, F_SETFD, FD_CLOEXEC) == -1) 68 "Failed to set FD_CLOEXEC for socket");
|
/external/dhcpcd/ |
common.c | 115 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1)
|