Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 25 of 146) sorted by relevance

123456

/external/chromium_org/mojo/common/test/
Dtest_utils_posix.cc23 fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { in BlockingWrite()
29 fcntl(handle.fd, F_SETFL, original_flags); in BlockingWrite()
44 fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { in BlockingRead()
50 fcntl(handle.fd, F_SETFL, original_flags); in BlockingRead()
/external/chromium_org/remoting/host/
Dipc_util_posix.cc34 if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || in CreateConnectedIpcChannel()
35 fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { in CreateConnectedIpcChannel()
/external/bison/lib/
Dpipe2.c121 || fcntl (fd[1], F_SETFL, fcntl_flags | O_NONBLOCK) == -1 in pipe2()
123 || fcntl (fd[0], F_SETFL, fcntl_flags | O_NONBLOCK) == -1) in pipe2()
/external/bluetooth/bluedroid/osi/src/
Dsemaphore.c75 if (fcntl(semaphore->fd, F_SETFL, flags | O_NONBLOCK) == -1) { in semaphore_try_wait()
84 if (fcntl(semaphore->fd, F_SETFL, flags) == -1) in semaphore_try_wait()
/external/chromium_org/mojo/embedder/
Dplatform_channel_pair_posix.cc41 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); in PlatformChannelPair()
42 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); in PlatformChannelPair()
/external/chromium_org/sandbox/linux/services/
Dscoped_process_unittest.cc87 ASSERT_EQ(0, fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK)); in TEST()
122 ASSERT_EQ(0, fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK)); in TEST()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block()
184 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_network.c182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block()
184 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
/external/strace/xlat/
Dfcntlcmds.h16 #if defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL)
17 XLAT(F_SETFL),
Dfcntlcmds.in5 F_SETFL
/external/chromium_org/ipc/
Dunix_domain_socket_util.cc56 if (HANDLE_EINTR(fcntl(fd.get(), F_SETFL, O_NONBLOCK)) < 0) { in MakeUnixAddrForPath()
190 if (HANDLE_EINTR(fcntl(accept_fd.get(), F_SETFL, O_NONBLOCK)) < 0) { in ServerAcceptConnection()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dpoll_posix.c39 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK); in usbi_pipe()
/external/chromium_org/tools/android/forwarder2/
Dpipe_notifier.cc24 fcntl(sender_fd_, F_SETFL, O_NONBLOCK); in PipeNotifier()
/external/qemu/util/
Doslib-posix.c159 fcntl(fd, F_SETFL, f & ~O_NONBLOCK); in qemu_set_block()
166 fcntl(fd, F_SETFL, f | O_NONBLOCK); in qemu_set_nonblock()
/external/chromium_org/base/
Dsync_socket_posix.cc213 fcntl(handle_, F_SETFL, flags | O_NONBLOCK); in Send()
220 fcntl(handle_, F_SETFL, flags); in Send()
Dasync_socket_io_handler_posix.cc80 if (fcntl(socket, F_SETFL, O_NONBLOCK) == -1) { in Initialize()
/external/chromium_org/content/renderer/pepper/
Dpepper_broker_unittest.cc46 ASSERT_EQ(0, fcntl(fds[1], F_SETFL, O_NONBLOCK)); in TEST_F()
/external/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.c300 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
310 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/valgrind/main/auxprogs/
Dvalgrind-listener.c109 res = fcntl(sd, F_SETFL, res | O_NONBLOCK); in set_nonblocking()
120 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK); in set_blocking()
/external/lldb/tools/debugserver/source/
DTTYState.cpp61 result = fcntl (m_fd, F_SETFL, m_tflags); in SetTTYState()
/external/chromium_org/sandbox/linux/tests/
Dunit_tests.cc75 if (!fcntl(2, F_SETFL, O_NONBLOCK)) { in SigAlrmHandler()
183 const int fcntl_ret = fcntl(fds[0], F_SETFL, O_NONBLOCK); in RunTestInProcess()
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ataridevmouse.c84 r = fcntl(handle, F_SETFL, r); in SDL_AtariDevMouse_Open()
/external/dnsmasq/src/
Dnetlink.c244 fcntl(daemon->netlinkfd, F_SETFL, flags | O_NONBLOCK) == -1) in netlink_multicast()
257 fcntl(daemon->netlinkfd, F_SETFL, flags); in netlink_multicast()
/external/wpa_supplicant_8/src/wps/
Dhttp_server.c255 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
282 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro

123456