Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 25 of 195) sorted by relevance

12345678

/external/bison/lib/
Dpipe2.c70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) in pipe2()
79 if (_pipe (fd, 4096, flags & ~O_NONBLOCK) < 0) in pipe2()
90 if (flags & O_NONBLOCK) in pipe2()
98 verify (O_NONBLOCK == 0); in pipe2()
116 if (flags & O_NONBLOCK) in pipe2()
121 || fcntl (fd[1], F_SETFL, fcntl_flags | O_NONBLOCK) == -1 in pipe2()
123 || fcntl (fd[0], F_SETFL, fcntl_flags | O_NONBLOCK) == -1) in pipe2()
Dfcntl.in.h231 #ifndef O_NONBLOCK
232 # define O_NONBLOCK O_NDELAY
239 # if O_NONBLOCK
243 # undef O_NONBLOCK
244 # define O_NONBLOCK 0x40000000
/external/kernel-headers/original/asm-generic/
Dfcntl.h37 #ifndef O_NONBLOCK
38 #define O_NONBLOCK 00004000 macro
88 #define O_NDELAY O_NONBLOCK
/external/e2fsprogs/lib/e2p/
Dfsetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetflags.c38 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
40 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfsetflags.c47 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
49 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
/external/chromium_org/remoting/host/
Dipc_util_posix.cc33 if (fcntl(pipe_fds[0], F_SETFL, O_NONBLOCK) == -1 || in CreateConnectedIpcChannel()
34 fcntl(pipe_fds[1], F_SETFL, O_NONBLOCK) == -1) { in CreateConnectedIpcChannel()
/external/bison/darwin-lib/
Dfcntl.h543 #ifndef O_NONBLOCK
544 # define O_NONBLOCK O_NDELAY macro
551 # if O_NONBLOCK
555 # undef O_NONBLOCK
556 # define O_NONBLOCK 0x40000000
/external/bison/linux-lib/
Dfcntl.h543 #ifndef O_NONBLOCK
544 # define O_NONBLOCK O_NDELAY macro
551 # if O_NONBLOCK
555 # undef O_NONBLOCK
556 # define O_NONBLOCK 0x40000000
/external/chromium_org/tools/android/forwarder2/
Dsocket.cc116 if (flags & O_NONBLOCK) in SetNonBlocking()
118 if (fcntl(socket_, F_SETFL, flags | O_NONBLOCK) < 0) { in SetNonBlocking()
223 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in Connect()
335 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in NonBlockingRead()
358 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in NonBlockingWrite()
407 DCHECK(fcntl(socket_, F_GETFL) & O_NONBLOCK); in WaitForEvent()
Dpipe_notifier.cc24 fcntl(sender_fd_, F_SETFL, O_NONBLOCK); in PipeNotifier()
/external/chromium_org/base/
Dasync_socket_io_handler_posix.cc78 if (!(value & O_NONBLOCK)) { in Initialize()
80 if (fcntl(socket, F_SETFL, O_NONBLOCK) == -1) { in Initialize()
Dsync_socket_posix.cc210 if (flags != -1 && (flags & O_NONBLOCK) == 0) { in Send()
213 fcntl(handle_, F_SETFL, flags | O_NONBLOCK); in Send()
218 if (flags != -1 && (flags & O_NONBLOCK) == 0) { in Send()
/external/chromium/third_party/libevent/sample/
Devent-test.c108 socket = open (fifo, O_RDWR | O_NONBLOCK, 0); in main()
110 socket = open (fifo, O_RDONLY | O_NONBLOCK, 0); in main()
/external/chromium_org/third_party/libevent/sample/
Devent-test.c108 socket = open (fifo, O_RDWR | O_NONBLOCK, 0); in main()
110 socket = open (fifo, O_RDONLY | O_NONBLOCK, 0); in main()
/external/chromium_org/mojo/common/test/
Dmultiprocess_test_base_unittest.cc64 CHECK((fcntl(fd, F_GETFL) & O_NONBLOCK)); in TEST_F()
94 CHECK((fcntl(fd, F_GETFL) & O_NONBLOCK)); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
/external/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.stderr.exp21 O_NONBLOCK test ...
44 O_NONBLOCK test ...
/external/chromium_org/mojo/system/
Dplatform_channel_posix.cc59 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); in PlatformServerChannelPosix()
60 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); in PlatformServerChannelPosix()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_network.c182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block()
184 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c182 fcntl(s, F_SETFL, old & ~O_NONBLOCK); in u_socket_block()
184 fcntl(s, F_SETFL, old | O_NONBLOCK); in u_socket_block()
/external/kernel-headers/original/linux/
Dtimerfd.h24 #define TFD_NONBLOCK O_NONBLOCK
/external/chromium_org/third_party/libusb/src/libusb/os/
Dpoll_posix.c39 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK); in usbi_pipe()
/external/chromium_org/ipc/
Dunix_domain_socket_util.cc56 if (HANDLE_EINTR(fcntl(fd, F_SETFL, O_NONBLOCK)) < 0) { in MakeUnixAddrForPath()
191 if (HANDLE_EINTR(fcntl(accept_fd, F_SETFL, O_NONBLOCK)) < 0) { in ServerAcceptConnection()
/external/kernel-headers/original/asm-mips/
Dfcntl.h14 #define O_NONBLOCK 0x0080 macro

12345678