fcntl 77 base/async_socket_io_handler_posix.cc int value = fcntl(socket, F_GETFL); fcntl 80 base/async_socket_io_handler_posix.cc if (fcntl(socket, F_SETFL, O_NONBLOCK) == -1) { fcntl 2488 base/file_util_unittest.cc ASSERT_EQ(0, fcntl(fds[0], F_SETFL, O_NONBLOCK)); fcntl 50 base/files/file_posix.cc return (fcntl(file, F_GETFL) & O_APPEND) != 0; fcntl 84 base/files/file_posix.cc if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) fcntl 413 base/memory/shared_memory_unittest.cc EXPECT_EQ(O_RDONLY, fcntl(handle.fd, F_GETFL) & O_ACCMODE) fcntl 47 base/message_loop/message_pump_libevent.cc int flags = fcntl(fd, F_GETFL, 0); fcntl 50 base/message_loop/message_pump_libevent.cc return fcntl(fd, F_SETFL, flags | O_NONBLOCK); fcntl 50 base/platform_file_posix.cc return (fcntl(file, F_GETFL) & O_APPEND) != 0; fcntl 84 base/platform_file_posix.cc if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) fcntl 209 base/sync_socket_posix.cc const long flags = fcntl(handle_, F_GETFL, NULL); fcntl 213 base/sync_socket_posix.cc fcntl(handle_, F_SETFL, flags | O_NONBLOCK); fcntl 220 base/sync_socket_posix.cc fcntl(handle_, F_SETFL, flags); fcntl 109 chrome/browser/importer/firefox_profile_lock_posix.cc if (fcntl(lock_fd_, F_GETLK, &testlock) == -1) { fcntl 113 chrome/browser/importer/firefox_profile_lock_posix.cc } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { fcntl 111 chrome/browser/process_singleton_linux.cc int flags = fcntl(fd, F_GETFL, 0); fcntl 116 chrome/browser/process_singleton_linux.cc return fcntl(fd, F_SETFL, flags | O_NONBLOCK); fcntl 122 chrome/browser/process_singleton_linux.cc int flags = fcntl(fd, F_GETFD, 0); fcntl 127 chrome/browser/process_singleton_linux.cc return fcntl(fd, F_SETFD, flags | FD_CLOEXEC); fcntl 70 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_GE(fcntl(server_sock_fd, F_SETFL, O_NONBLOCK), 0); fcntl 378 chromeos/dbus/fake_bluetooth_device_client.cc args = fcntl(fds[1], F_GETFL, NULL); fcntl 385 chromeos/dbus/fake_bluetooth_device_client.cc if (fcntl(fds[1], F_SETFL, args) < 0) { fcntl 192 components/nacl/browser/nacl_process_host.cc int flags = fcntl(fd, F_GETFD); fcntl 194 components/nacl/browser/nacl_process_host.cc int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); fcntl 46 content/renderer/pepper/pepper_broker_unittest.cc ASSERT_EQ(0, fcntl(fds[1], F_SETFL, O_NONBLOCK)); fcntl 70 device/hid/hid_connection_linux.cc if (fcntl(device_file.GetPlatformFile(), F_SETFL, fcntl 71 device/hid/hid_connection_linux.cc fcntl(device_file.GetPlatformFile(), F_GETFL) | O_NONBLOCK)) { fcntl 218 ipc/ipc_channel_posix.cc if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || fcntl 219 ipc/ipc_channel_posix.cc fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { fcntl 254 ipc/ipc_channel_posix.cc int value = fcntl(local_pipe, F_GETFL); fcntl 152 ipc/ipc_channel_posix_unittest.cc ASSERT_GE(fcntl(socket_fd, F_SETFL, O_NONBLOCK), 0); fcntl 220 ipc/ipc_channel_posix_unittest.cc ASSERT_GE(fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK), 0); fcntl 56 ipc/unix_domain_socket_util.cc if (HANDLE_EINTR(fcntl(fd.get(), F_SETFL, O_NONBLOCK)) < 0) { fcntl 190 ipc/unix_domain_socket_util.cc if (HANDLE_EINTR(fcntl(accept_fd.get(), F_SETFL, O_NONBLOCK)) < 0) { fcntl 27 mojo/common/test/multiprocess_test_helper_unittest.cc return fcntl(handle.fd, F_GETFL) & O_NONBLOCK; fcntl 20 mojo/common/test/test_utils_posix.cc int original_flags = fcntl(handle.fd, F_GETFL); fcntl 22 mojo/common/test/test_utils_posix.cc fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { fcntl 28 mojo/common/test/test_utils_posix.cc fcntl(handle.fd, F_SETFL, original_flags); fcntl 41 mojo/common/test/test_utils_posix.cc int original_flags = fcntl(handle.fd, F_GETFL); fcntl 43 mojo/common/test/test_utils_posix.cc fcntl(handle.fd, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { fcntl 49 mojo/common/test/test_utils_posix.cc fcntl(handle.fd, F_SETFL, original_flags); fcntl 41 mojo/embedder/platform_channel_pair_posix.cc PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); fcntl 42 mojo/embedder/platform_channel_pair_posix.cc PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); fcntl 322 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->fcntl(d, request, args); fcntl 110 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int fcntl(int fd, int request, va_list args); fcntl 213 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc TEST_F(KernelWrapTest, fcntl) { fcntl 215 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fcntl(kDummyInt, kDummyInt2, _)) fcntl 217 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt3, fcntl(kDummyInt, kDummyInt2, buffer)); fcntl 31 native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h MOCK_METHOD3(fcntl, int(int, int, va_list)); fcntl 1398 net/base/net_util.cc int flags = fcntl(fd, F_GETFL, 0); fcntl 1401 net/base/net_util.cc return fcntl(fd, F_SETFL, flags | O_NONBLOCK); fcntl 930 net/proxy/proxy_config_service_linux.cc int flags = fcntl(inotify_fd_, F_GETFL); fcntl 931 net/proxy/proxy_config_service_linux.cc if (fcntl(inotify_fd_, F_SETFL, flags | O_NONBLOCK) < 0) { fcntl 83 net/third_party/nss/ssl/sslmutex.c flags = fcntl(fd, F_GETFL, 0); fcntl 90 net/third_party/nss/ssl/sslmutex.c err = fcntl(fd, F_SETFL, flags); fcntl 225 net/tools/epoll_server/epoll_server.cc return fcntl(fd, F_GETFL, 0); fcntl 492 net/tools/epoll_server/epoll_server.h return fcntl(fd, F_SETFL, flags | O_NONBLOCK); fcntl 64 net/tools/flip_server/create_listener.cc int fcntl_return = fcntl(fd, F_GETFL, 0); fcntl 71 net/tools/flip_server/create_listener.cc fcntl_return = fcntl(fd, F_SETFL, fcntl_return | O_NONBLOCK); fcntl 73 net/tools/flip_server/flip_in_mem_edsm_server.cc fcntl(0, F_SETFL, O_NONBLOCK); fcntl 33 remoting/host/ipc_util_posix.cc if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || fcntl 34 remoting/host/ipc_util_posix.cc fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { fcntl 73 remoting/host/linux/audio_pipe_reader.cc fcntl(pipe_fd_, F_SETPIPE_SZ, kPipeBufferSizeBytes)); fcntl 402 sandbox/linux/services/broker_process_unittest.cc ret = fcntl(fd, F_GETFL); fcntl 410 sandbox/linux/services/broker_process_unittest.cc ret = fcntl(fd, F_GETFD); fcntl 419 sandbox/linux/services/broker_process_unittest.cc ret = fcntl(fd, F_GETFL); fcntl 86 sandbox/linux/services/scoped_process_unittest.cc ASSERT_EQ(0, fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK)); fcntl 121 sandbox/linux/services/scoped_process_unittest.cc ASSERT_EQ(0, fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK)); fcntl 72 sandbox/linux/tests/unit_tests.cc if (!fcntl(2, F_SETFL, O_NONBLOCK)) { fcntl 159 sandbox/linux/tests/unit_tests.cc const int fcntl_ret = fcntl(fds[0], F_SETFL, O_NONBLOCK); fcntl 90 third_party/libevent/epoll.c if (fcntl(x, F_SETFD, 1) == -1) \ fcntl 171 third_party/libevent/evutil.c if (fcntl(fd, F_SETFL, O_NONBLOCK) == -1) { fcntl 2698 third_party/libevent/http.c if (fcntl(fd, F_SETFD, 1) == -1) { fcntl 88 third_party/libevent/signal.c if (fcntl(x, F_SETFD, 1) == -1) \ fcntl 282 third_party/libevent/test/regress.c if (fcntl(pair[0], F_SETFL, O_NONBLOCK) == -1) fcntl 285 third_party/libevent/test/regress.c if (fcntl(pair[1], F_SETFL, O_NONBLOCK) == -1) fcntl 326 third_party/libevent/test/regress_dns.c fcntl(sock, F_SETFL, O_NONBLOCK); fcntl 970 third_party/libusb/src/libusb/os/darwin_usb.c fcntl (priv->fds[1], F_SETFD, O_NONBLOCK); fcntl 71 third_party/libusb/src/libusb/os/linux_netlink.c flags = fcntl (linux_netlink_socket, F_GETFD); fcntl 77 third_party/libusb/src/libusb/os/linux_netlink.c fcntl (linux_netlink_socket, F_SETFD, flags | FD_CLOEXEC); fcntl 81 third_party/libusb/src/libusb/os/linux_netlink.c flags = fcntl (linux_netlink_socket, F_GETFL); fcntl 87 third_party/libusb/src/libusb/os/linux_netlink.c fcntl (linux_netlink_socket, F_SETFL, flags | O_NONBLOCK); fcntl 88 third_party/libusb/src/libusb/os/linux_udev.c r = fcntl(udev_monitor_fd, F_GETFL); fcntl 93 third_party/libusb/src/libusb/os/linux_udev.c r = fcntl(udev_monitor_fd, F_SETFL, r | O_NONBLOCK); fcntl 34 third_party/libusb/src/libusb/os/poll_posix.c ret = fcntl(pipefd[1], F_GETFL); fcntl 39 third_party/libusb/src/libusb/os/poll_posix.c ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK); fcntl 903 third_party/libxml/src/nanohttp.c if ((status = fcntl(s, F_GETFL, 0)) != -1) { fcntl 911 third_party/libxml/src/nanohttp.c status = fcntl(s, F_SETFL, status); fcntl 24471 third_party/sqlite/amalgamation/sqlite3.c { "fcntl", (sqlite3_syscall_ptr)fcntl, 0 }, fcntl 330 third_party/sqlite/src/src/os_unix.c { "fcntl", (sqlite3_syscall_ptr)fcntl, 0 }, fcntl 56 third_party/talloc/libreplace/replace.c return fcntl(f, F_FREESP, &fl); fcntl 1866 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, fcntl, int, f, fcntl 1782 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, fcntl, int, f, fcntl 279 tools/android/forwarder/forwarder.cc fcntl(socket, F_SETFL, fcntl(socket, F_GETFL) | O_NONBLOCK); fcntl 280 tools/android/forwarder/forwarder.cc fcntl(host_socket, F_SETFL, fcntl(host_socket, F_GETFL) | O_NONBLOCK); fcntl 106 tools/android/forwarder2/daemon.cc const int ret = HANDLE_EINTR(fcntl(fd, F_GETLK, &lock_info)); fcntl 24 tools/android/forwarder2/pipe_notifier.cc fcntl(sender_fd_, F_SETFL, O_NONBLOCK); fcntl 113 tools/android/forwarder2/socket.cc const int flags = fcntl(socket_, F_GETFL); fcntl 120 tools/android/forwarder2/socket.cc if (fcntl(socket_, F_SETFL, flags | O_NONBLOCK) < 0) { fcntl 226 tools/android/forwarder2/socket.cc DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); fcntl 325 tools/android/forwarder2/socket.cc DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); fcntl 348 tools/android/forwarder2/socket.cc DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); fcntl 397 tools/android/forwarder2/socket.cc DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); fcntl 26 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc int flags = fcntl(fd, F_GETFL, 0); fcntl 29 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc return fcntl(fd, F_SETFL, flags | O_NONBLOCK);