/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 | 67 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 78 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK) 88 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK) 90 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK) 92 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK) 94 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK) 101 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK) 103 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK) 105 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK) 107 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
/external/libmojo/mojo/edk/test/ |
D | test_utils_posix.cc | 23 fcntl(handle.handle, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { in BlockingWrite() 29 fcntl(handle.handle, F_SETFL, original_flags); in BlockingWrite() 44 fcntl(handle.handle, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { in BlockingRead() 50 fcntl(handle.handle, F_SETFL, original_flags); in BlockingRead()
|
/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()
|
D | fcntl08.c | 67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
|
/external/honggfuzz/examples/linux_kernel_ip/ |
D | tun.c | 158 if (fcntl(fd, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main() 161 if (fcntl(tcp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main() 164 if (fcntl(udp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main() 167 if (fcntl(sctp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main() 170 if (fcntl(udp_lite_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main()
|
/external/strace/xlat/ |
D | fcntlcmds.h | 14 #if !(defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL)) 15 # define F_SETFL 4 macro 97 XLAT(F_SETFL),
|
D | fcntlcmds.in | 6 F_SETFL 4
|
/external/curl/lib/ |
D | nonblock.c | 60 return sfcntl(sockfd, F_SETFL, flags | O_NONBLOCK); in curlx_nonblock() 61 return sfcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK)); in curlx_nonblock()
|
/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/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/libmojo/mojo/edk/embedder/ |
D | platform_channel_pair_posix.cc | 71 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); in PlatformChannelPair() 73 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); in PlatformChannelPair()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_network.c | 182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block() 184 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
|
/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/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/adhd/cras/src/common/ |
D | cras_util.c | 82 return fcntl(fd, F_SETFL, fl | O_NONBLOCK); in cras_make_fd_nonblocking() 94 return fcntl(fd, F_SETFL, fl & ~O_NONBLOCK); in cras_make_fd_blocking()
|
/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() 143 if (fcntl(fds[1], F_SETFL, O_NONBLOCK)) in CreateReportChannel()
|
/external/devlib/devlib/instrument/ |
D | acmecape.py | 7 from fcntl import fcntl, F_GETFL, F_SETFL 24 fcntl(fd, F_SETFL, flags)
|
/external/libdaemon/libdaemon/ |
D | dnonblock.c | 48 return fcntl(fd, F_SETFL, c); in daemon_nonblock()
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd01.c | 253 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main() 265 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
|
/external/libchrome/base/ |
D | sync_socket_posix.cc | 229 fcntl(handle_, F_SETFL, flags | O_NONBLOCK); in Send() 236 fcntl(handle_, F_SETFL, flags); in Send()
|
/external/libusb/libusb/os/ |
D | poll_posix.c | 41 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK); in usbi_pipe()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | netutil.cc | 62 return fcntl(fd, F_SETFL, flags) != -1; in setBlocking()
|
/external/valgrind/memcheck/tests/linux/ |
D | timerfd-syscall.c | 300 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/valgrind/auxprogs/ |
D | valgrind-listener.c | 113 res = fcntl(sd, F_SETFL, res | O_NONBLOCK); in set_nonblocking() 124 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK); in set_blocking()
|