/external/libmicrohttpd/src/microspdy/ |
D | io_raw.c | 64 int fd_flags; in SPDYF_raw_new_session() local 69 fd_flags = fcntl (session->socket_fd, F_GETFL); in SPDYF_raw_new_session() 70 if ( -1 == fd_flags in SPDYF_raw_new_session() 71 || 0 != fcntl (session->socket_fd, F_SETFL, fd_flags | O_NONBLOCK)) in SPDYF_raw_new_session()
|
/external/fio/engines/ |
D | binject.c | 26 int *fd_flags; member 113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject"); in fio_binject_getevents() 115 bd->fd_flags[i] = -1; in fio_binject_getevents() 159 if (bd->fd_flags[i] == -1) in fio_binject_getevents() 162 if (fcntl(bf->fd, F_SETFL, bd->fd_flags[i]) < 0) in fio_binject_getevents() 384 free(bd->fd_flags); in fio_binject_cleanup() 406 bd->fd_flags = malloc(sizeof(int) * td->o.nr_files); in fio_binject_init() 407 memset(bd->fd_flags, 0, sizeof(int) * td->o.nr_files); in fio_binject_init()
|
D | sg.c | 27 int *fd_flags; member 82 sd->fd_flags[i] = fio_set_fd_nonblocking(f->fd, "sg"); in fio_sgio_getevents() 84 sd->fd_flags[i] = -1; in fio_sgio_getevents() 149 if (sd->fd_flags[i] == -1) in fio_sgio_getevents() 152 if (fcntl(f->fd, F_SETFL, sd->fd_flags[i]) < 0) in fio_sgio_getevents() 316 free(sd->fd_flags); in fio_sgio_cleanup() 335 sd->fd_flags = malloc(sizeof(int) * td->o.nr_files); in fio_sgio_init() 336 memset(sd->fd_flags, 0, sizeof(int) * td->o.nr_files); in fio_sgio_init()
|
/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/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/dhcpcd-6.8.2/ |
D | control.c | 153 control_handle1(struct dhcpcd_ctx *ctx, int lfd, unsigned int fd_flags) in control_handle1() argument 179 l->flags = fd_flags; in control_handle1()
|
/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/gtest/src/ |
D | gtest-death-test.cc | 1024 int fd_flags; in ExecDeathTestSpawnChild() local 1026 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1028 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-death-test.cc | 1024 int fd_flags; in ExecDeathTestSpawnChild() local 1026 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1028 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/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/opencv3/modules/ts/src/ |
D | ts_gtest.cpp | 7559 int fd_flags; in ExecDeathTestSpawnChild() local 7561 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 7563 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 7518 int fd_flags; in ExecDeathTestSpawnChild() local 7520 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 7522 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/ |
D | gtest-all.cc | 7518 int fd_flags; in ExecDeathTestSpawnChild() local 7520 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 7522 fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|