HomeSort by relevance Sort by last modified time
    Searched refs:F_SETFL (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/strace/xlat/
fcntlcmds.in 6 F_SETFL 4
fcntlcmds.h 14 #if !(defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL))
15 # define F_SETFL 4
97 XLAT(F_SETFL),
  /external/libdaemon/libdaemon/
dnonblock.c 48 return fcntl(fd, F_SETFL, c);
  /external/python/cpython2/Lib/test/
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
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_fcntl.py 68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
80 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK)
92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK)
93 self.assertRaises(TypeError, fcntl.fcntl, 'spam', fcntl.F_SETFL, os.O_NONBLOCK)
94 self.assertRaises(TypeError, fcntl.fcntl, F('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
97 fcntl.F_SETFL, os.O_NONBLOCK)
99 fcntl.F_SETFL, os.O_NONBLOCK)
101 fcntl.F_SETFL, os.O_NONBLOCK)
103 fcntl.F_SETFL, os.O_NONBLOCK
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_fcntl.py 68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
80 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK)
92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK)
93 self.assertRaises(TypeError, fcntl.fcntl, 'spam', fcntl.F_SETFL, os.O_NONBLOCK)
94 self.assertRaises(TypeError, fcntl.fcntl, F('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
97 fcntl.F_SETFL, os.O_NONBLOCK)
99 fcntl.F_SETFL, os.O_NONBLOCK)
101 fcntl.F_SETFL, os.O_NONBLOCK)
103 fcntl.F_SETFL, os.O_NONBLOCK
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
80 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK)
92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK)
93 self.assertRaises(TypeError, fcntl.fcntl, 'spam', fcntl.F_SETFL, os.O_NONBLOCK)
94 self.assertRaises(TypeError, fcntl.fcntl, F('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
97 fcntl.F_SETFL, os.O_NONBLOCK)
99 fcntl.F_SETFL, os.O_NONBLOCK)
101 fcntl.F_SETFL, os.O_NONBLOCK)
103 fcntl.F_SETFL, os.O_NONBLOCK
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
80 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK)
92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK)
93 self.assertRaises(TypeError, fcntl.fcntl, 'spam', fcntl.F_SETFL, os.O_NONBLOCK)
94 self.assertRaises(TypeError, fcntl.fcntl, F('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
97 fcntl.F_SETFL, os.O_NONBLOCK)
99 fcntl.F_SETFL, os.O_NONBLOCK)
101 fcntl.F_SETFL, os.O_NONBLOCK)
103 fcntl.F_SETFL, os.O_NONBLOCK
    [all...]
  /external/curl/lib/
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/
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/
poll_posix.c 41 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK);
  /external/python/cpython3/Lib/test/
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
    [all...]
  /external/conscrypt/common/src/jni/main/cpp/conscrypt/
netutil.cc 62 return fcntl(fd, F_SETFL, flags) != -1;
  /external/ltp/testcases/kernel/syscalls/fcntl/
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)
fcntl08.c 67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK));
  /system/bt/osi/src/
semaphore.cc 82 if (fcntl(semaphore->fd, F_SETFL, flags | O_NONBLOCK) == -1) {
92 if (fcntl(semaphore->fd, F_SETFL, flags) == -1)
  /external/honggfuzz/examples/linux_kernel_ip/
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_NONBLOCK|O_RDWR)")
    [all...]
  /cts/suite/audio_quality/lib/src/
ClientSocket.cpp 88 if (fcntl(mSocket, F_SETFL, flOriginal | O_NONBLOCK) == -1) {
134 fcntl(mSocket, F_SETFL, flOriginal); // now blocking again
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_fcntl.py 71 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
83 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
  /external/libmojo/mojo/edk/embedder/
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/
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/
u_network.c 182 fcntl(s, F_SETFL, old & ~O_NONBLOCK);
184 fcntl(s, F_SETFL, old | O_NONBLOCK);
  /system/update_engine/payload_consumer/
file_descriptor.cc 110 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags | O_DIRECT) == -1) {
118 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags) == -1) {
  /bootable/recovery/minadbd/
fuse_adb_provider_test.cpp 37 fcntl(host_socket, F_SETFL, O_NONBLOCK);
  /device/google/cuttlefish_common/guest/hals/gps/
gps_thread.h 60 fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);

Completed in 1107 milliseconds

1 2 3 4 5 6 7 8 91011>>