/external/strace/xlat/ |
H A D | fcntlcmds.in | 6 F_SETFL 4
|
H A 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),
|
/external/libdaemon/libdaemon/ |
H A D | dnonblock.c | 48 return fcntl(fd, F_SETFL, c);
|
/external/python/cpython2/Lib/test/ |
H A 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, o [all...] |
/external/curl/lib/ |
H A D | nonblock.c | 60 return sfcntl(sockfd, F_SETFL, flags | O_NONBLOCK); 61 return sfcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK));
|
/external/libmojo/mojo/edk/test/ |
H A D | test_utils_posix.cc | 23 fcntl(handle.handle, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { 29 fcntl(handle.handle, F_SETFL, original_flags); 44 fcntl(handle.handle, F_SETFL, original_flags & (~O_NONBLOCK)) != 0) { 50 fcntl(handle.handle, F_SETFL, original_flags);
|
/external/libusb/libusb/os/ |
H A D | poll_posix.c | 41 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK);
|
/external/python/cpython3/Lib/test/ |
H A 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, o [all...] |
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
H A D | netutil.cc | 62 return fcntl(fd, F_SETFL, flags) != -1;
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl01.c | 6 * Test F_DUPFD, F_SETFL cmds of fcntl 16 * 2. Checking F_SETFL cmd with each valid flag (O_NDELAY, O_APPEND). 102 if (fcntl(fd[2], F_SETFL, O_NDELAY) == -1) 111 if (fcntl(fd[2], F_SETFL, O_APPEND) == -1) 120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) 130 if (fcntl(fd[2], F_SETFL, 0) == -1)
|
H A D | fcntl08.c | 67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK));
|
/external/honggfuzz/examples/linux_kernel_ip/ |
H A D | tun.c | 158 if (fcntl(fd, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { 159 pfatal("fcntl(fd, F_SETFL, O_NONBLOCK|O_RDWR)"); 161 if (fcntl(tcp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { 162 pfatal("fcntl(tcp_sock, F_SETFL, O_NONBLOCK|O_RDWR)"); 164 if (fcntl(udp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { 165 pfatal("fcntl(udp_sock, F_SETFL, O_NONBLOCK|O_RDWR)"); 167 if (fcntl(sctp_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { 168 pfatal("fcntl(sctp_sock, F_SETFL, O_NONBLOCK|O_RDWR)"); 170 if (fcntl(udp_lite_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { 171 pfatal("fcntl(udp_lite_sock, F_SETFL, O_NONBLOC [all...] |
/external/libmojo/mojo/edk/embedder/ |
H A D | platform_channel_pair_posix.cc | 71 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); 73 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0);
|
/external/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_rewrite_test.c | 109 show_prompt("fcntl(F_SETFL, ~O_APPEND)"); 110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); 153 show_prompt("fcntl(F_SETFL, ~O_APPEND)"); 154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND));
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_network.c | 182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); 184 fcntl(s, F_SETFL, old | O_NONBLOCK);
|
/external/android-clat/ |
H A D | tun.c | 77 return fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | keyboard_device.py | 42 fcntl.fcntl(fd, fcntl.F_SETFL, os.O_NONBLOCK)
|
/external/devlib/devlib/instrument/ |
H A D | acmecape.py | 7 from fcntl import fcntl, F_GETFL, F_SETFL namespace 24 fcntl(fd, F_SETFL, flags)
|
/external/boringssl/src/crypto/bio/ |
H A D | socket_helper.c | 100 return fcntl(sock, F_SETFL, flags) == 0;
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 104 #define F_SETFL 4 /* set file->f_flags */ macro
|
/external/libmicrohttpd/src/microspdy/ |
H A D | io_raw.c | 71 || 0 != fcntl (session->socket_fd, F_SETFL, fd_flags | O_NONBLOCK))
|
/external/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill02.c | 727 || (fcntl(pipe1_fd[0], F_SETFL, O_NDELAY) == -1)) { 733 || (fcntl(pipe2_fd[0], F_SETFL, O_NDELAY) == -1)) { 739 || (fcntl(pipeA_fd[0], F_SETFL, O_NDELAY) == -1)) { 745 || (fcntl(pipeB_fd[0], F_SETFL, O_NDELAY) == -1)) {
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile07.c | 150 if (fcntl(out_fd, F_SETFL, O_WRONLY | O_NONBLOCK) < 0) {
|
/external/toybox/toys/net/ |
H A D | microcom.c | 70 if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY))
|
/external/libmojo/mojo/edk/system/ |
H A D | broker_posix.cc | 75 flags = fcntl(sync_channel_.get().handle, F_SETFL, flags & ~O_NONBLOCK);
|