Home
last modified time | relevance | path

Searched refs:fd_flags (Results 1 – 15 of 15) sorted by relevance

/external/scapy/scapy/arch/bpf/
Dsupersocket.py39 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/
Dcgpt_nor.c212 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/
Drun_command.cc25 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/
Dfile_stream.cc298 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/
Dcommand_executer.py120 fd_flags = fcntl.fcntl(fd, fcntl.F_GETFL)
121 fcntl.fcntl(fd, fcntl.F_SETFL, fd_flags | os.O_NONBLOCK)
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c730 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/
Dgtest-death-test.cc1042 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/
Dgtest-death-test.cc1042 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/
Dgtest-death-test.cc1042 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/
Dlogging_manager.py599 fd_flags = fcntl.fcntl(self._fd, fcntl.F_GETFD)
601 fd_flags | fcntl.FD_CLOEXEC)
/external/google-breakpad/src/testing/gtest/src/
Dgtest-death-test.cc1029 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/
Dgtest-death-test.cc1258 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/
Dgtest-death-test.cc1317 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/
Dtest_sockmap.c476 int fd_flags = O_NONBLOCK; in msg_loop() local
481 fcntl(fd, fd_flags); in msg_loop()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc7876 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()