Home
last modified time | relevance | path

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

1234

/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/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/openssl/crypto/rand/
Drand_unix.c226 #ifdef O_NONBLOCK in RAND_poll()
227 |O_NONBLOCK in RAND_poll()
/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/bluetooth/glib/gio/
Dgcancellable.c182 #ifdef O_NONBLOCK in set_fd_nonblocking()
183 fcntl_flags |= O_NONBLOCK; in set_fd_nonblocking()
/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/e2fsprogs/include/nonunix/
Dunistd.h11 #define O_NONBLOCK 0 macro
/external/oprofile/daemon/
Dopd_pipe.c41 fifo = open(op_pipe_file, O_RDONLY | O_NONBLOCK); in opd_open_pipe()
/external/qemu/block/
Draw-posix.c593 fcntl(s->rfd, F_SETFL, O_NONBLOCK); in posix_aio_init()
594 fcntl(s->wfd, F_SETFL, O_NONBLOCK); in posix_aio_init()
1043 s->fd = open(bs->filename, s->open_flags & ~O_NONBLOCK); in fd_open()
1192 ret = raw_open_common(bs, filename, flags, O_NONBLOCK); in floppy_open()
1244 fd = open(bs->filename, s->open_flags | O_NONBLOCK); in floppy_eject()
1285 return raw_open_common(bs, filename, flags, O_NONBLOCK); in cdrom_open()
/external/dnsmasq/src/
Dlog.c132 fcntl(log_fd, F_SETFL, flags | O_NONBLOCK); in log_reopen()
419 fcntl(log_fd, F_SETFL, flags & ~O_NONBLOCK); in flush_log()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/
DSDL_syscdrom.c79 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive()
248 return(open(SDL_cdlist[drive], (O_RDONLY|O_EXCL|O_NONBLOCK), 0)); in SDL_SYS_CDOpen()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/
DSDL_syscdrom.c76 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive()
239 return(open(SDL_cdlist[drive], (O_RDONLY|O_EXCL|O_NONBLOCK), 0)); in SDL_SYS_CDOpen()
/external/libpcap/
Dpcap.c604 if (fdflags & O_NONBLOCK) in pcap_getnonblock_fd()
636 fdflags |= O_NONBLOCK; in pcap_setnonblock_fd()
638 fdflags &= ~O_NONBLOCK; in pcap_setnonblock_fd()
/external/qemu/
Dmigration-exec.c76 if (fcntl(s->fd, F_SETFD, O_NONBLOCK) == -1) { in exec_start_outgoing_migration()
/external/quake/quake/src/WinQuake/
Dsnd_sun.cpp86 if (fcntl(audio_fd, F_SETFL, O_NONBLOCK) < 0) { in SNDDMA_Init()
/external/bluetooth/bluez/test/
Dattest.c85 fd = open(device, O_RDWR | O_NOCTTY | O_NONBLOCK); in open_device()
/external/qemu/audio/
Desdaudio.c225 fcntl(esd->fd, F_SETFL, flags | O_NONBLOCK); in qesd_init_out()
379 fcntl(esd->fd, F_SETFL, flags | O_NONBLOCK); in qesd_init_in()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/
DSDL_syscdrom.c200 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive()
340 return(open(SDL_cdlist[drive], O_RDONLY | O_NONBLOCK | O_EXCL, 0)); in SDL_SYS_CDOpen()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/
DSDL_syscdrom.c132 cdfd = open(drive, (O_RDONLY|O_NONBLOCK), 0); in CheckDrive()
397 return(open(SDL_cdlist[drive], (O_RDONLY|O_NONBLOCK), 0)); in SDL_SYS_CDOpen()

1234