Searched refs:fcntl (Results 126 - 150 of 1281) sorted by relevance

1234567891011>>

/external/dhcpcd/
H A Dcommon.c44 #include <fcntl.h>
114 if ((flags = fcntl(fd, F_GETFD, 0)) == -1 ||
115 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1)
117 syslog(LOG_ERR, "fcntl: %m");
128 if ((flags = fcntl(fd, F_GETFL, 0)) == -1 ||
129 fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1)
131 syslog(LOG_ERR, "fcntl: %m");
/external/valgrind/main/auxprogs/
H A Dvalgrind-listener.c49 #include <fcntl.h>
108 res = fcntl(sd, F_GETFL);
109 res = fcntl(sd, F_SETFL, res | O_NONBLOCK);
111 perror("fcntl failed");
119 res = fcntl(sd, F_GETFL);
120 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK);
122 perror("fcntl failed");
/external/valgrind/main/memcheck/tests/linux/
H A Dtimerfd-syscall.c31 #include <fcntl.h>
300 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/ipc/
H A Dunix_domain_socket_util.cc8 #include <fcntl.h>
56 if (HANDLE_EINTR(fcntl(fd, F_SETFL, O_NONBLOCK)) < 0) {
57 PLOG(ERROR) << "fcntl(O_NONBLOCK)";
191 if (HANDLE_EINTR(fcntl(accept_fd, F_SETFL, O_NONBLOCK)) < 0) {
192 PLOG(ERROR) << "fcntl(O_NONBLOCK) " << accept_fd;
/external/chromium_org/build/android/
H A Dsurface_stats.py48 import fcntl, termios, struct namespace
52 fcntl.ioctl(0, termios.TIOCGWINSZ,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dplatforminfo.py106 import fcntl namespace
109 packed = fcntl.ioctl(sys.stderr.fileno(), termios.TIOCGWINSZ, '\0' * 8)
/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc8 #include <fcntl.h>
206 const int kFlags = fcntl(socket_, F_GETFL);
208 fcntl(socket_, F_SETFL, kFlags | O_NONBLOCK);
213 PRESERVE_ERRNO_HANDLE_EINTR(fcntl(socket_, F_SETFL, kFlags));
219 PRESERVE_ERRNO_HANDLE_EINTR(fcntl(socket_, F_SETFL, kFlags));
227 PRESERVE_ERRNO_HANDLE_EINTR(fcntl(socket_, F_SETFL, kFlags));
233 PRESERVE_ERRNO_HANDLE_EINTR(fcntl(socket_, F_SETFL, kFlags));
236 fcntl(socket_, F_SETFL, kFlags);
/external/bison/lib/
H A Derror.c88 # include <fcntl.h>
99 /* The gnulib override of fcntl is not needed in this file. */
100 # undef fcntl macro
130 There is no fcntl, and the gnulib replacement fcntl does not support
135 # error Please port fcntl to your platform
137 return 0 <= fcntl (fd, F_GETFL);
H A Dfopen.c41 #include <fcntl.h>
/external/blktrace/
H A Dverify_blkparse.c3 #include <fcntl.h>
/external/chromium/base/
H A Ddir_reader_linux.h10 #include <fcntl.h>
/external/chromium/chrome/browser/
H A Dprocess_singleton_mac.cc6 #include <fcntl.h>
/external/chromium/third_party/libevent/sample/
H A Dtime-test.c21 #include <fcntl.h>
/external/chromium/third_party/libevent/test/
H A Dtest-eof.c21 #include <fcntl.h>
H A Dtest-time.c18 #include <fcntl.h>
H A Dtest-weof.c21 #include <fcntl.h>
/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dv4llookup.cc12 #include <fcntl.h>
/external/chromium_org/base/files/
H A Ddir_reader_linux.h9 #include <fcntl.h>
/external/chromium_org/chrome/browser/
H A Dprocess_singleton_mac.cc6 #include <fcntl.h>
/external/chromium_org/chromeos/process_proxy/
H A Dprocess_proxy.h8 #include <fcntl.h>
/external/chromium_org/net/disk_cache/flash/
H A Dstorage.cc7 #include <fcntl.h>
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
H A Dfile_utils.cc9 #include <fcntl.h>
/external/chromium_org/rlz/lib/
H A Drecursive_cross_process_lock_posix.cc7 #include <fcntl.h>
/external/chromium_org/sandbox/linux/suid/
H A Dprocess_util_linux.c12 #include <fcntl.h>
/external/chromium_org/third_party/WebKit/Source/core/
H A DWebCorePrefixMac.h38 #include <fcntl.h>

Completed in 493 milliseconds

1234567891011>>