/external/scapy/scapy/arch/bpf/ |
D | supersocket.py | 39 fd_flags = None variable in _L2bpfSocket 146 if self.fd_flags is None: 148 self.fd_flags = fcntl.fcntl(self.ins, fcntl.F_GETFL) 155 new_fd_flags = self.fd_flags | os.O_NONBLOCK 157 new_fd_flags = self.fd_flags & ~os.O_NONBLOCK 161 self.fd_flags = new_fd_flags
|
/external/vboot_reference/cgpt/ |
D | cgpt_nor.c | 212 int fd_flags = fcntl(1, F_GETFD); in ReadNorFlash() local 223 fcntl(1, F_SETFD, fd_flags); in ReadNorFlash() 237 int fd_flags = fcntl(1, F_GETFD); in WriteNorFlash() local 250 fcntl(1, F_SETFD, fd_flags); in WriteNorFlash()
|
/external/perf_data_converter/src/quipper/ |
D | run_command.cc | 25 int fd_flags = fcntl(fd, F_GETFD); in CloseFdOnExec() local 26 if (fd_flags == -1) { in CloseFdOnExec() 30 if (fcntl(fd, F_SETFD, fd_flags | FD_CLOEXEC)) { in CloseFdOnExec()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 298 int fd_flags = HANDLE_EINTR(fcntl(file_descriptor, F_GETFL)); in FromFileDescriptor() local 299 if (fd_flags < 0) { in FromFileDescriptor() 303 int file_access_mode = (fd_flags & O_ACCMODE); in FromFileDescriptor() 312 if ((fd_flags & O_NONBLOCK) == 0) { in FromFileDescriptor() 313 fd_flags |= O_NONBLOCK; in FromFileDescriptor() 314 if (HANDLE_EINTR(fcntl(file_descriptor, F_SETFL, fd_flags)) < 0) { in FromFileDescriptor()
|
/external/toolchain-utils/automation/common/ |
D | command_executer.py | 120 fd_flags = fcntl.fcntl(fd, fcntl.F_GETFL) 121 fcntl.fcntl(fd, fcntl.F_SETFL, fd_flags | os.O_NONBLOCK)
|
/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 730 int fd_flags; in unixfd_open() local 734 fd_flags = fcntl(fd, F_GETFD); in unixfd_open() 735 if (fd_flags == -1) in unixfd_open() 739 if (fd_flags & O_RDWR) in unixfd_open() 741 if (fd_flags & O_EXCL) in unixfd_open() 744 if (fd_flags & O_DIRECT) in unixfd_open()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 1042 int fd_flags; in ExecDeathTestSpawnChild() local 1044 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1046 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-death-test.cc | 1042 int fd_flags; in ExecDeathTestSpawnChild() local 1044 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1046 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 1042 int fd_flags; in ExecDeathTestSpawnChild() local 1044 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1046 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/autotest/client/common_lib/ |
D | logging_manager.py | 599 fd_flags = fcntl.fcntl(self._fd, fcntl.F_GETFD) 601 fd_flags | fcntl.FD_CLOEXEC)
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-death-test.cc | 1029 int fd_flags; in ExecDeathTestSpawnChild() local 1031 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1033 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-death-test.cc | 1258 int fd_flags; in ExecDeathTestSpawnChild() local 1260 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1262 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/googletest/googletest/src/ |
D | gtest-death-test.cc | 1317 int fd_flags; in ExecDeathTestSpawnChild() local 1319 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1321 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 476 int fd_flags = O_NONBLOCK; in msg_loop() local 481 fcntl(fd, fd_flags); in msg_loop()
|
/external/epid-sdk/ext/gtest/ |
D | gtest-all.cc | 7876 int fd_flags; in ExecDeathTestSpawnChild() local 7878 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 7880 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|