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/libbrillo/brillo/streams/
Dfile_stream.cc288 int fd_flags = HANDLE_EINTR(fcntl(file_descriptor, F_GETFL)); in FromFileDescriptor() local
289 if (fd_flags < 0) { in FromFileDescriptor()
293 int file_access_mode = (fd_flags & O_ACCMODE); in FromFileDescriptor()
302 if ((fd_flags & O_NONBLOCK) == 0) { in FromFileDescriptor()
303 fd_flags |= O_NONBLOCK; in FromFileDescriptor()
304 if (HANDLE_EINTR(fcntl(file_descriptor, F_SETFL, fd_flags)) < 0) { in FromFileDescriptor()
/external/kernel-headers/original/uapi/linux/
Ddma-heap.h38 __u32 fd_flags; member
/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/autotest/client/common_lib/
Dlogging_manager.py615 fd_flags = fcntl.fcntl(self._fd, fcntl.F_GETFD)
617 fd_flags | fcntl.FD_CLOEXEC)
/external/llvm-project/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/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.cc1327 int fd_flags; in ExecDeathTestSpawnChild() local
1329 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1331 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc1335 int fd_flags; in ExecDeathTestSpawnChild() local
1337 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1339 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc1303 int fd_flags; in ExecDeathTestSpawnChild() local
1305 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1307 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc1321 int fd_flags; in ExecDeathTestSpawnChild() local
1323 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1325 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap.c489 int fd_flags = O_NONBLOCK; in msg_loop() local
493 fcntl(fd, fd_flags); in msg_loop()
/external/fmtlib/test/
Dgmock-gtest-all.cc7373 int fd_flags; in ExecDeathTestSpawnChild() local
7375 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7377 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc7872 int fd_flags; in ExecDeathTestSpawnChild() local
7874 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7876 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()