Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 107) sorted by relevance

12345

/external/bison/lib/
Ddup2.c95 # ifdef F_GETFL in rpl_dup2()
100 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
140 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; in dup2()
Dpipe2.c120 if ((fcntl_flags = fcntl (fd[1], F_GETFL, 0)) < 0 in pipe2()
122 || (fcntl_flags = fcntl (fd[0], F_GETFL, 0)) < 0 in pipe2()
Derror.c134 # ifndef F_GETFL in is_open()
137 return 0 <= fcntl (fd, F_GETFL); in is_open()
/external/chromium_org/tools/android/forwarder2/
Dsocket.cc113 const int flags = fcntl(socket_, F_GETFL); in SetNonBlocking()
226 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in Connect()
325 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in NonBlockingRead()
348 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in NonBlockingWrite()
397 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in WaitForEvent()
/external/chromium_org/mojo/common/test/
Dtest_utils_posix.cc21 int original_flags = fcntl(handle.fd, F_GETFL); in BlockingWrite()
42 int original_flags = fcntl(handle.fd, F_GETFL); in BlockingRead()
/external/strace/xlat/
Dfcntlcmds.h13 #if defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL)
14 XLAT(F_GETFL),
Dfcntlcmds.in4 F_GETFL
/external/chromium_org/third_party/libusb/src/libusb/os/
Dpoll_posix.c34 ret = fcntl(pipefd[1], F_GETFL); in usbi_pipe()
/external/qemu/util/
Doslib-posix.c158 f = fcntl(fd, F_GETFL); in qemu_set_block()
165 f = fcntl(fd, F_GETFL); in qemu_set_nonblock()
/external/valgrind/main/auxprogs/
Dvalgrind-listener.c108 res = fcntl(sd, F_GETFL); in set_nonblocking()
119 res = fcntl(sd, F_GETFL); in set_blocking()
/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/lldb/tools/debugserver/source/
DTTYState.cpp37 m_tflags = fcntl (fd, F_GETFL, 0); in GetTTYState()
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_ataridevmouse.c75 r = fcntl(handle, F_GETFL, 0); in SDL_AtariDevMouse_Open()
/external/chromium_org/third_party/boringssl/src/crypto/bio/
Dsocket_helper.c87 int flags = fcntl(sock, F_GETFL, 0); in bio_socket_nbio()
/external/ppp/pppd/
Dtty.c491 fdflags = fcntl(0, F_GETFL); in tty_check_options()
583 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 in connect_tty()
1052 flags = fcntl(pty_master, F_GETFL);
1056 flags = fcntl(ifd, F_GETFL);
1061 flags = fcntl(ofd, F_GETFL);
/external/chromium_org/base/
Dasync_socket_io_handler_posix.cc77 int value = fcntl(socket, F_GETFL); in Initialize()
/external/chromium_org/third_party/cython/src/Cython/Includes/posix/
Dfcntl.pxd8 enum: F_GETFL
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/external/bluetooth/bluedroid/osi/src/
Dsemaphore.c70 int flags = fcntl(semaphore->fd, F_GETFL); in semaphore_try_wait()
/external/dnsmasq/src/
Dlog.c131 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1) in log_reopen()
418 if ((flags = fcntl(log_fd, F_GETFL)) != -1) in flush_log()
/external/chromium_org/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc303 .CASES((F_GETFL, F_GETFD), Error(ENOENT)) in EvaluateSyscall()
320 ASSERT_SYSCALL_RESULT(-ENOENT, fcntl, sock_fd.get(), F_GETFL); in BPF_TEST_C()
/external/chromium_org/tools/android/forwarder/
Dforwarder.cc279 fcntl(socket, F_SETFL, fcntl(socket, F_GETFL) | O_NONBLOCK); in ServerThread()
280 fcntl(host_socket, F_SETFL, fcntl(host_socket, F_GETFL) | O_NONBLOCK); in ServerThread()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_network.c176 int old = fcntl(s, F_GETFL, 0); in u_socket_block()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c176 int old = fcntl(s, F_GETFL, 0); in u_socket_block()
/external/lldb/source/Host/common/
DTerminal.cpp143 m_tflags = ::fcntl (fd, F_GETFL, 0); in Save()

12345