Home
last modified time | relevance | path

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

12345678910>>...13

/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/strace/xlat/
Dopen_mode_flags.h2 #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK)
25 #if defined(O_NONBLOCK) || (defined(HAVE_DECL_O_NONBLOCK) && HAVE_DECL_O_NONBLOCK)
26 XLAT(O_NONBLOCK),
40 #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK)
Duffd_flags.h11 #if defined(O_NONBLOCK) || (defined(HAVE_DECL_O_NONBLOCK) && HAVE_DECL_O_NONBLOCK)
12 XLAT(O_NONBLOCK),
Dinotify_init_flags.h11 #if defined(O_NONBLOCK) || (defined(HAVE_DECL_O_NONBLOCK) && HAVE_DECL_O_NONBLOCK)
12 XLAT(O_NONBLOCK),
Ddelete_module_flags.h11 #if defined(O_NONBLOCK) || (defined(HAVE_DECL_O_NONBLOCK) && HAVE_DECL_O_NONBLOCK)
12 XLAT(O_NONBLOCK),
Dopen_mode_flags.in6 O_NONBLOCK
11 #if defined(O_NDELAY) && (O_NDELAY != O_NONBLOCK)
/external/libvncserver/examples/
D1instance.c23 str->fd=open(str->filename,O_NONBLOCK|O_RDONLY); in open_control_file()
25 str->fd=open(str->filename,O_NONBLOCK|O_WRONLY); in open_control_file()
28 str->fd=open(str->filename,O_NONBLOCK|O_RDONLY); in open_control_file()
66 str->fd=open(str->filename,O_NONBLOCK|O_RDONLY); in get_next_message()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h37 #ifndef O_NONBLOCK
38 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/external/libdaemon/libdaemon/
Ddnonblock.c41 c = a | O_NONBLOCK; in daemon_nonblock()
43 c = a & ~O_NONBLOCK; in daemon_nonblock()
/external/toybox/toys/other/
Drmmod.c27 unsigned int flags = O_NONBLOCK|O_EXCL; in rmmod_main()
39 if (toys.optflags & FLAG_w) flags &= ~O_NONBLOCK; in rmmod_main()
/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/avahi/avahi-core/
Dfdutil.c53 if (n & O_NONBLOCK) in avahi_set_nonblock()
56 return fcntl(fd, F_SETFL, n|O_NONBLOCK); in avahi_set_nonblock()
/external/curl/lib/
Dnonblock.c60 return sfcntl(sockfd, F_SETFL, flags | O_NONBLOCK); in curlx_nonblock()
62 return sfcntl(sockfd, F_SETFL, flags & (~O_NONBLOCK)); in curlx_nonblock()
/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/boringssl/src/crypto/bio/
Dsocket_helper.c95 flags &= ~O_NONBLOCK; in bio_socket_nbio()
97 flags |= O_NONBLOCK; in bio_socket_nbio()
/external/libchrome/base/
Dsync_socket_posix.cc227 if (flags != -1 && (flags & O_NONBLOCK) == 0) { in Send()
230 fcntl(handle_, F_SETFL, flags | O_NONBLOCK); in Send()
235 if (flags != -1 && (flags & O_NONBLOCK) == 0) { in Send()
/external/tlsdate/src/events/
Dtime_set.c130 if (fcntl (from_fds[0], F_SETFL, O_NONBLOCK) < 0) in setup_time_setter()
136 if (fcntl (to_fds[1], F_SETFL, O_NONBLOCK) < 0) in setup_time_setter()
/external/valgrind/memcheck/tests/linux/
Dtimerfd-syscall.stderr.exp21 O_NONBLOCK test ...
44 O_NONBLOCK test ...
/external/avahi/avahi-utils/
Dsigint.c48 if (n & O_NONBLOCK) in set_nonblock()
51 return fcntl(fd, F_SETFL, n|O_NONBLOCK); in set_nonblock()
/external/selinux/policycoreutils/newrole/
Dnewrole.c717 fd = open(ttyn, O_RDWR | O_NONBLOCK); in relabel_tty()
723 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in relabel_tty()
1252 fd = open(ttyn, O_RDWR | O_NONBLOCK); in main()
1255 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()
1259 fd = open(ttyn, O_RDWR | O_NONBLOCK); in main()
1262 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()
1266 fd = open(ttyn, O_RDWR | O_NONBLOCK); in main()
1269 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()

12345678910>>...13