Searched refs:F_GETFL (Results 1 - 25 of 94) sorted by relevance

1234

/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_posix.c34 ret = fcntl(pipefd[1], F_GETFL);
/external/bison/lib/
H A Ddup2.c95 # ifdef F_GETFL
100 return fcntl (fd, F_GETFL) == -1 ? -1 : fd;
140 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd;
H A Dpipe2.c120 if ((fcntl_flags = fcntl (fd[1], F_GETFL, 0)) < 0
122 || (fcntl_flags = fcntl (fd[0], F_GETFL, 0)) < 0
H A Derror.c131 F_GETFL. */
134 # ifndef F_GETFL
137 return 0 <= fcntl (fd, F_GETFL);
/external/chromium_org/mojo/common/test/
H A Dmultiprocess_test_base_unittest.cc64 CHECK((fcntl(fd, F_GETFL) & O_NONBLOCK));
94 CHECK((fcntl(fd, F_GETFL) & O_NONBLOCK));
/external/dropbear/
H A Dcli-session.c115 cli_ses.stdinflags = fcntl(STDIN_FILENO, F_GETFL, 0);
117 cli_ses.stdoutflags = fcntl(STDOUT_FILENO, F_GETFL, 0);
119 cli_ses.stderrflags = fcntl(STDERR_FILENO, F_GETFL, 0);
H A Dscpmisc.c239 if (fcntl(dupfd, F_GETFL, 0) >= 0)
/external/chromium_org/base/
H A Dasync_socket_io_handler_posix.cc77 int value = fcntl(socket, F_GETFL);
/external/kernel-headers/original/asm-generic/
H A Dfcntl.h94 #define F_GETFL 3 /* get file->f_flags */ macro
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
H A DSDL_ataridevmouse.c75 r = fcntl(handle, F_GETFL, 0);
/external/chromium/net/base/
H A Dnetwork_change_notifier_netlink_linux.cc23 int flags = fcntl(fd, F_GETFL, 0);
/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc111 const int flags = fcntl(socket_, F_GETFL);
223 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK);
335 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK);
358 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK);
407 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_network.c176 int old = fcntl(s, F_GETFL, 0);
/external/libppp/src/
H A Dprompt.c423 stat = fcntl(fd, F_GETFL, 0);
462 stat = fcntl(p->fd_in, F_GETFL, 0);
482 stat = fcntl(p->fd_in, F_GETFL, 0);
495 stat = fcntl(p->fd_in, F_GETFL, 0);
H A Di4b.c194 oldflag = fcntl(p->fd, F_GETFL, 0);
225 if ((oldflag = fcntl(p->fd, F_GETFL, 0)) != -1)
411 oldflag = fcntl(p->fd, F_GETFL, 0);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_network.c176 int old = fcntl(s, F_GETFL, 0);
/external/qemu/
H A Doslib-posix.c79 f = fcntl(fd, F_GETFL);
/external/dnsmasq/src/
H A Dlog.c131 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1)
418 if ((flags = fcntl(log_fd, F_GETFL)) != -1)
/external/valgrind/main/auxprogs/
H A Dvalgrind-listener.c108 res = fcntl(sd, F_GETFL);
119 res = fcntl(sd, F_GETFL);
/external/valgrind/main/memcheck/tests/linux/
H A Dtimerfd-syscall.c300 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK);
310 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK);
/external/chromium_org/tools/android/forwarder/
H A Dforwarder.cc279 fcntl(socket, F_SETFL, fcntl(socket, F_GETFL) | O_NONBLOCK);
280 fcntl(host_socket, F_SETFL, fcntl(host_socket, F_GETFL) | O_NONBLOCK);
/external/ppp/pppd/
H A Dtty.c491 fdflags = fcntl(0, F_GETFL);
583 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1
1052 flags = fcntl(pty_master, F_GETFL);
1056 flags = fcntl(ifd, F_GETFL);
1061 flags = fcntl(ofd, F_GETFL);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dmount_node_test.cc174 // Test F_GETFL
177 ASSERT_EQ(0, handle.Fcntl(F_GETFL, &flags));
184 ASSERT_EQ(0, handle.Fcntl(F_GETFL, &flags));
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dserver_process.py148 fl = fcntl.fcntl(fd, fcntl.F_GETFL)
151 fl = fcntl.fcntl(fd, fcntl.F_GETFL)
/external/chromium/base/
H A Dmessage_pump_libevent.cc46 int flags = fcntl(fd, F_GETFL, 0);

Completed in 1756 milliseconds

1234