Home
last modified time | relevance | path

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

123456

/external/kernel-headers/original/asm-generic/
Dfcntl.h27 #ifndef O_NONBLOCK
28 #define O_NONBLOCK 00004000 macro
52 #define O_NDELAY O_NONBLOCK
/external/e2fsprogs/lib/e2p/
Dfsetversion.c32 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetversion.c32 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfsetflags.c45 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
47 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetflags.c36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
38 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
/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/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.stderr.exp21 O_NONBLOCK test ...
44 O_NONBLOCK test ...
Dtimerfd-syscall.c300 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
310 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/bluetooth/glib/glib/
Dgiounix.c375 #ifdef O_NONBLOCK in g_io_unix_set_flags()
376 fcntl_flags |= O_NONBLOCK; in g_io_unix_set_flags()
412 #ifdef O_NONBLOCK in g_io_unix_get_flags()
413 if (fcntl_flags & O_NONBLOCK) in g_io_unix_get_flags()
/external/dhcpcd/
Dbpf.c64 fd = open(_PATH_BPF, O_RDWR | O_NONBLOCK); in open_socket()
72 fd = open(device, O_RDWR | O_NONBLOCK); in open_socket()
/external/kernel-headers/original/asm-mips/
Dfcntl.h14 #define O_NONBLOCK 0x0080 macro
Dsocket.h111 #define SOCK_NONBLOCK O_NONBLOCK
/external/chromium/net/tools/flip_server/
Dcreate_listener.cc78 if (fcntl_return & O_NONBLOCK) in SetNonBlocking()
81 fcntl_return = fcntl(fd, F_SETFL, fcntl_return | O_NONBLOCK); in SetNonBlocking()
/external/openssl/crypto/rand/
Drand_unix.c266 #ifdef O_NONBLOCK in RAND_poll()
267 |O_NONBLOCK in RAND_poll()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dserver_process.py82 fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
85 fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/
DSDL_dspaudio.c58 #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK)
191 flags &= ~O_NONBLOCK; in DSP_OpenAudio()
/external/e2fsprogs/include/nonunix/
Dunistd.h11 #define O_NONBLOCK 0 macro
/external/bluetooth/glib/gio/
Dgcancellable.c182 #ifdef O_NONBLOCK in set_fd_nonblocking()
183 fcntl_flags |= O_NONBLOCK; in set_fd_nonblocking()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dv4llookup.cc40 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK); in CheckIsV4L2Device()
/external/oprofile/daemon/
Dopd_pipe.c42 fifo = open(op_pipe_file, O_RDONLY | O_NONBLOCK); in opd_open_pipe()
/external/valgrind/main/auxprogs/
Dvalgrind-listener.c109 res = fcntl(sd, F_SETFL, res | O_NONBLOCK); in set_nonblocking()
120 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK); in set_blocking()
/external/wpa_supplicant_8/src/wps/
Dhttp_server.c245 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
272 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
/external/wpa_supplicant_8/src/crypto/
Drandom.c211 fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_pool_ready()
396 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_init()
/external/ppp/pppd/
Dtty.c568 real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR, 0); in connect_tty()
584 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0) in connect_tty()
1054 || fcntl(pty_master, F_SETFL, flags | O_NONBLOCK) == -1)
1058 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
1063 || fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
/external/qemu/block/
Draw-posix.c907 s->fd = open(bs->filename, s->open_flags & ~O_NONBLOCK); in fd_open()
1037 ret = raw_open_common(bs, filename, flags, O_NONBLOCK); in floppy_open()
1058 fd = open(filename, O_RDONLY | O_NONBLOCK); in floppy_probe_device()
1106 fd = open(bs->filename, s->open_flags | O_NONBLOCK); in floppy_eject()
1149 return raw_open_common(bs, filename, flags, O_NONBLOCK); in cdrom_open()
1160 fd = open(filename, O_RDONLY | O_NONBLOCK); in cdrom_probe_device()

123456