Searched refs:F_SETFL (Results 1 - 25 of 182) sorted by relevance

12345678

/external/strace/xlat/
H A Dfcntlcmds.in6 F_SETFL 4
H A Dfcntlcmds.h14 #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 Ddnonblock.c48 return fcntl(fd, F_SETFL, c);
/external/python/cpython2/Lib/test/
H A Dtest_fcntl.py73 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 Dnonblock.c60 return sfcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
61 return sfcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK));
/external/libmojo/mojo/edk/test/
H A Dtest_utils_posix.cc23 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 Dpoll_posix.c41 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK);
/external/python/cpython3/Lib/test/
H A Dtest_fcntl.py67 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 Dnetutil.cc62 return fcntl(fd, F_SETFL, flags) != -1;
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl01.c6 * 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 Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK));
/external/honggfuzz/examples/linux_kernel_ip/
H A Dtun.c158 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 Dplatform_channel_pair_posix.cc71 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 Dtomoyo_rewrite_test.c109 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 Du_network.c182 fcntl(s, F_SETFL, old & ~O_NONBLOCK);
184 fcntl(s, F_SETFL, old | O_NONBLOCK);
/external/android-clat/
H A Dtun.c77 return fcntl(fd, F_SETFL, flags | O_NONBLOCK);
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dkeyboard_device.py42 fcntl.fcntl(fd, fcntl.F_SETFL, os.O_NONBLOCK)
/external/devlib/devlib/instrument/
H A Dacmecape.py7 from fcntl import fcntl, F_GETFL, F_SETFL namespace
24 fcntl(fd, F_SETFL, flags)
/external/boringssl/src/crypto/bio/
H A Dsocket_helper.c100 return fcntl(sock, F_SETFL, flags) == 0;
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h104 #define F_SETFL 4 /* set file->f_flags */ macro
/external/libmicrohttpd/src/microspdy/
H A Dio_raw.c71 || 0 != fcntl (session->socket_fd, F_SETFL, fd_flags | O_NONBLOCK))
/external/ltp/testcases/kernel/syscalls/kill/
H A Dkill02.c727 || (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 Dsendfile07.c150 if (fcntl(out_fd, F_SETFL, O_WRONLY | O_NONBLOCK) < 0) {
/external/toybox/toys/net/
H A Dmicrocom.c70 if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY))
/external/libmojo/mojo/edk/system/
H A Dbroker_posix.cc75 flags = fcntl(sync_channel_.get().handle, F_SETFL, flags & ~O_NONBLOCK);

Completed in 662 milliseconds

12345678