/third_party/node/test/wasi/c/ |
D | poll.c | 38 fds[0] = (struct pollfd){.fd = 1, .events = POLLOUT, .revents = 0}; in main() 39 fds[1] = (struct pollfd){.fd = 2, .events = POLLOUT, .revents = 0}; in main() 43 assert(fds[0].revents == POLLOUT); in main() 44 assert(fds[1].revents == POLLOUT); in main() 47 fds[0] = (struct pollfd){.fd = 1, .events = POLLOUT, .revents = 0}; in main() 48 fds[1] = (struct pollfd){.fd = 2, .events = POLLOUT, .revents = 0}; in main() 49 fds[2] = (struct pollfd){.fd = 1, .events = POLLOUT, .revents = 0}; in main() 54 assert(fds[0].revents == POLLOUT); in main() 55 assert(fds[1].revents == POLLOUT); in main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | poll-posix.c | 95 if (f->events & POLLOUT) in pa_poll() 99 if (f->fd > maxfd && (f->events & (POLLIN|POLLOUT|POLLPRI))) in pa_poll() 133 if (f->events & POLLOUT) in pa_poll() 137 if (f->events & (POLLIN|POLLOUT|POLLPRI)) { in pa_poll() 146 if (f->events & POLLOUT) in pa_poll() 150 if (f->fd > maxfd && (f->events & (POLLIN|POLLOUT|POLLPRI))) in pa_poll() 165 if (f->fd > maxfd && (f->events & (POLLIN|POLLOUT|POLLPRI))) { in pa_poll() 223 f->revents |= POLLOUT; in pa_poll()
|
D | poll-win32.c | 206 happened |= *p_sought & (POLLOUT | POLLWRNORM | POLLWRBAND); in windows_compute_revents() 239 *p_sought &= POLLOUT | POLLWRNORM | POLLWRBAND; in windows_compute_revents() 248 return *p_sought & (POLLOUT | POLLWRNORM | POLLWRBAND); in windows_compute_revents() 285 happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought; in windows_compute_revents_socket() 341 happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought; in compute_revents() 428 if (pfd[i].events & (POLLOUT | POLLWRNORM | POLLWRBAND)) in pa_poll() 433 && (pfd[i].events & (POLLIN | POLLOUT | POLLPRI in pa_poll() 495 if (!(sought & (POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLWRBAND in pa_poll() 511 if (sought & (POLLOUT | POLLWRNORM | POLLWRBAND)) in pa_poll() 598 POLLOUT | POLLWRNORM | POLLWRBAND))) in pa_poll()
|
D | poll.h | 34 #define POLLOUT 0x004 /* Writing now will not block. */ macro
|
/third_party/libuv/src/unix/ |
D | poll.c | 48 uv__io_stop(loop, w, POLLIN | POLLOUT | UV__POLLRDHUP | UV__POLLPRI); in uv__poll_io() 59 if (events & POLLOUT) in uv__poll_io() 106 POLLIN | POLLOUT | UV__POLLRDHUP | UV__POLLPRI); in uv__poll_stop() 146 events |= POLLOUT; in uv_poll_start()
|
D | stream.c | 164 if (uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select() 207 events |= POLLOUT; in uv__stream_osx_select() 236 assert(events == (events & (POLLIN | POLLOUT))); in uv__stream_osx_select_cb() 242 if ((events & POLLOUT) && uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select_cb() 243 uv__stream_io(stream->loop, &stream->io_watcher, POLLOUT); in uv__stream_osx_select_cb() 445 assert(!uv__io_active(&stream->io_watcher, POLLIN | POLLOUT)); in uv__stream_destroy() 670 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__drain() 920 uv__io_start(stream->loop, &stream->io_watcher, POLLOUT); in uv__write() 931 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__write() 1289 uv__io_start(stream->loop, &stream->io_watcher, POLLOUT); in uv_shutdown() [all …]
|
D | kqueue.c | 174 if ((w->events & POLLOUT) == 0 && (w->pevents & POLLOUT) != 0) { in uv__io_poll() 364 if (w->pevents & POLLOUT) { in uv__io_poll() 365 revents |= POLLOUT; in uv__io_poll()
|
/third_party/curl/lib/ |
D | select.c | 281 pfd[num].events = POLLWRNORM|POLLOUT|POLLPRI; in Curl_socket_check() 307 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check() 384 ufds[i].revents |= POLLIN|POLLOUT; in Curl_poll() 399 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| in Curl_poll() 405 if(ufds[i].events & (POLLWRNORM|POLLOUT)) in Curl_poll() 436 if(ufds[i].events & POLLOUT) in Curl_poll() 437 ufds[i].revents |= POLLOUT; in Curl_poll()
|
D | select.h | 44 #define POLLOUT 0x04 macro 63 #define POLLWRNORM POLLOUT
|
/third_party/NuttX/drivers/pipes/ |
D | pipe_common.c | 101 eventset &= ~(POLLOUT | POLLIN); in pipecommon_pollnotify() 480 pipecommon_pollnotify(dev, POLLOUT); in pipecommon_read() 490 pipecommon_pollnotify(dev, POLLOUT); in pipecommon_read() 496 pipecommon_pollnotify(dev, POLLOUT); in pipecommon_read() 527 pipecommon_pollnotify(dev, POLLOUT); in pipecommon_read() 735 eventset |= POLLOUT; in pipecommon_poll() 754 if ((eventset | POLLOUT) && in pipecommon_poll()
|
/third_party/alsa-utils/axfer/ |
D | waiter-select.c | 22 # define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT) 26 # define POLLOUT_SET (POLLOUT) 89 pfd->revents |= POLLOUT; in select_wait_event()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-freertos.h | 45 #if !defined(POLLIN) && !defined(POLLOUT) 54 #define POLLOUT 0x0004 macro
|
/third_party/ltp/testcases/kernel/syscalls/poll/ |
D | poll01.c | 27 {.fd = fildes[1], .events = POLLOUT}, in verify_pollout() 37 if (outfds[0].revents != POLLOUT) { in verify_pollout()
|
/third_party/pulseaudio/src/utils/ |
D | pacmd.c | 244 (ibuf_length > 0 ? POLLOUT : 0) | in main() 259 watch_stdout->events = POLLOUT; in main() 316 } else if (watch_stdout->revents & POLLOUT) { in main() 334 } else if (watch_socket->revents & POLLOUT) { in main()
|
/third_party/alsa-lib/test/ |
D | seq-sender.c | 234 int nseqs = snd_seq_poll_descriptors_count(handle, POLLOUT|POLLIN); in event_sender() 236 snd_seq_poll_descriptors(handle, pfds, nseqs, POLLOUT|POLLIN); in event_sender() 250 if (phandle && (pfds[nseqs].revents & POLLOUT)) { in event_sender() 257 if (pfds[0].revents & POLLOUT) in event_sender()
|
/third_party/alsa-utils/seq/aseqnet/ |
D | aseqnet.c | 250 counto = seqofds_count = snd_seq_poll_descriptors_count(handle, POLLOUT); in init_seq() 258 err = snd_seq_poll_descriptors(handle, seqofds, counto, POLLOUT); in init_seq() 514 if (pollfds[sockfd_ptr].revents & (POLLIN|POLLOUT)) in do_loop() 518 if (pollfds[seqifd_ptr + i].revents & (POLLIN|POLLOUT)) { in do_loop() 526 if (pollfds[netfd_ptr + i].revents & (POLLIN|POLLOUT)) { in do_loop()
|
/third_party/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 83 .expect_revents = POLLIN | POLLOUT, 211 fds_good[0].events = POLLIN | POLLPRI | POLLOUT | POLLRDHUP; in setup() 216 fds_already_closed[0].events = POLLIN | POLLPRI | POLLOUT | POLLRDHUP; in setup()
|
/third_party/ffmpeg/libavformat/ |
D | os_support.h | 126 #define POLLOUT 0x0002 /* file descriptor is writeable */ macro 128 #define POLLWRNORM POLLOUT
|
/third_party/NuttX/fs/vfs/ |
D | fs_select.c | 48 #define POLL_OUT_SET (POLLOUT | POLLWRBAND | POLLWRNORM | POLLERR) 211 pollset[ndx].events |= (POLLOUT | POLLWRNORM); in do_select()
|
/third_party/musl/arch/mipsn32/bits/ |
D | poll.h | 1 #define POLLWRNORM POLLOUT
|
/third_party/musl/arch/mips64/bits/ |
D | poll.h | 1 #define POLLWRNORM POLLOUT
|
/third_party/musl/arch/mips/bits/ |
D | poll.h | 1 #define POLLWRNORM POLLOUT
|
/third_party/python/Lib/test/ |
D | test_poll.py | 48 p.register(wr, select.POLLOUT) 58 ready_writers = find_ready_matching(ready, select.POLLOUT) 202 pollster.register(w, select.POLLOUT)
|
D | test_devpoll.py | 42 p.register(wr, select.POLLOUT) 52 ready_writers = find_ready_matching(ready, select.POLLOUT)
|
/third_party/musl/porting/linux/user/include/ |
D | poll.h | 14 #define POLLOUT 0x004 macro
|