/external/python/cpython2/Lib/test/ |
D | test_fcntl.py | 73 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 85 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK) 92 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK) 94 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK) 96 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK) 98 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK) 105 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK) 107 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK) 109 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK) 111 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK) 103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK) 105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK) 107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK) 109 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK) 116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK) 118 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK) 120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK) 122 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 102 if (fcntl(fd[2], F_SETFL, O_NDELAY) == -1) in main() 111 if (fcntl(fd[2], F_SETFL, O_APPEND) == -1) in main() 120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main() 130 if (fcntl(fd[2], F_SETFL, 0) == -1) in main()
|
/external/curl/lib/ |
D | nonblock.c | 61 return sfcntl(sockfd, F_SETFL, flags | O_NONBLOCK); in curlx_nonblock() 62 return sfcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK)); in curlx_nonblock()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | endpoint_pair_posix.cc | 48 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 50 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | endpoint_pair_posix.cc | 45 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 47 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
|
/external/perfetto/src/base/ |
D | pipe.cc | 58 PERFETTO_CHECK(fcntl(*p.rd, F_SETFL, cur_flags | O_NONBLOCK) == 0); in Create() 64 PERFETTO_CHECK(fcntl(*p.wr, F_SETFL, cur_flags | O_NONBLOCK) == 0); in Create()
|
/external/mesa3d/src/util/ |
D | os_socket.c | 76 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in os_socket_block() 78 fcntl(s, F_SETFL, old | O_NONBLOCK); in os_socket_block()
|
/external/libcups/scheduler/ |
D | cups-exec.c | 117 fcntl(3, F_SETFL, O_NDELAY); in main() 118 fcntl(4, F_SETFL, O_NDELAY); in main()
|
/external/strace/xlat/ |
D | fcntlcmds.h | 34 #if defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL) 36 static_assert((F_SETFL) == (4), "F_SETFL != 4"); 39 # define F_SETFL 4 403 XLAT(F_SETFL),
|
/external/libcups/backend/ |
D | testbackend.c | 176 fcntl(back_fds[0], F_SETFL, fcntl(back_fds[0], F_GETFL) | O_NONBLOCK); in main() 177 fcntl(back_fds[1], F_SETFL, fcntl(back_fds[1], F_GETFL) | O_NONBLOCK); in main() 180 fcntl(side_fds[0], F_SETFL, fcntl(side_fds[0], F_GETFL) | O_NONBLOCK); in main() 181 fcntl(side_fds[1], F_SETFL, fcntl(side_fds[1], F_GETFL) | O_NONBLOCK); in main()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill02.c | 727 || (fcntl(pipe1_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup() 733 || (fcntl(pipe2_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup() 739 || (fcntl(pipeA_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup() 745 || (fcntl(pipeB_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
|
/external/grpc-grpc/test/core/end2end/fixtures/ |
D | h2_fd.cc | 46 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 48 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_network.c | 189 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block() 191 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_rewrite_test.c | 110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test() 154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | pipe_select_interrupter.ipp | 43 ::fcntl(read_descriptor_, F_SETFL, O_NONBLOCK); 45 ::fcntl(write_descriptor_, F_SETFL, O_NONBLOCK);
|
/external/grpc-grpc/test/core/iomgr/ |
D | tcp_posix_test.cc | 69 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 71 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_sockets() 106 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in create_inet_sockets() 108 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in create_inet_sockets() 352 GPR_ASSERT(fcntl(fd, F_SETFL, flags & ~O_NONBLOCK) == 0); in drain_socket_blocking() 377 GPR_ASSERT(fcntl(fd, F_SETFL, flags | O_NONBLOCK) == 0); in drain_socket_blocking()
|
D | fd_posix_test.cc | 74 GPR_ASSERT(fcntl(fd, F_SETFL, flags | O_NONBLOCK) == 0); in create_test_socket() 204 fcntl(fd, F_SETFL, flags | O_NONBLOCK); in listen_cb() 453 GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); in test_grpc_fd_change() 455 GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); in test_grpc_fd_change()
|
/external/crosvm/seccomp/x86_64/ |
D | gpu_device.policy | 52 arg1 == F_SETFL 80 # fcntl: arg1 == F_SETFD || arg1 == F_GETFL || arg1 == F_SETFL (merged above)
|
/external/rust/crates/mio/src/sys/unix/uds/ |
D | mod.rs | 95 syscall!(fcntl(fds[0], libc::F_SETFL, libc::O_NONBLOCK))?; 97 syscall!(fcntl(fds[1], libc::F_SETFL, libc::O_NONBLOCK))?;
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_nonblock.c | 117 error = fcntl(lstn_sk, F_SETFL, sflag | O_NONBLOCK); in main() 137 error = fcntl(sk, F_SETFL, sflag | O_NONBLOCK); in main()
|
/external/iperf3/src/ |
D | net.c | 91 if (fcntl(s, F_SETFL, flags | O_NONBLOCK) == -1) in timeout_connect() 112 if (timeout != -1 && fcntl(s, F_SETFL, flags) == -1) in timeout_connect() 472 if (fcntl(fd, F_SETFL, newflags) < 0) { in setnonblocking()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | netutil.cc | 61 return fcntl(fd, F_SETFL, flags) != -1; in setBlocking()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 99 if (fcntl(control_pipe[0], F_SETFL, O_NONBLOCK)) in Start() 146 if (fcntl(fds[1], F_SETFL, O_NONBLOCK)) in CreateReportChannel()
|
/external/adhd/cras/src/common/ |
D | cras_util.c | 83 return fcntl(fd, F_SETFL, fl | O_NONBLOCK); in cras_make_fd_nonblocking() 95 return fcntl(fd, F_SETFL, fl & ~O_NONBLOCK); in cras_make_fd_blocking()
|