Home
last modified time | relevance | path

Searched refs:POLLOUT (Results 1 - 25 of 154) sorted by relevance

1234567

/third_party/node/test/wasi/c/
H A Dpoll.c38 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/
H A Dpoll-posix.c95 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()
H A Dpoll-win32.c206 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 | POLLWRNOR in pa_poll()
[all...]
/third_party/curl/lib/
H A Dselect.c224 pfd[num].events = POLLWRNORM|POLLOUT|POLLPRI; in Curl_socket_check()
250 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check()
331 ufds[i].revents |= POLLIN|POLLOUT; in Curl_poll()
346 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| in Curl_poll()
352 if(ufds[i].events & (POLLWRNORM|POLLOUT)) in Curl_poll()
387 if(ufds[i].events & POLLOUT) in Curl_poll()
388 ufds[i].revents |= POLLOUT; in Curl_poll()
H A Dselect.h45 #define POLLOUT 0x04 macro
64 #define POLLWRNORM POLLOUT
/third_party/libuv/src/unix/
H A Dpoll.c48 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()
H A Dstream.c175 if (uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select()
218 events |= POLLOUT; in uv__stream_osx_select()
247 assert(events == (events & (POLLIN | POLLOUT))); in uv__stream_osx_select_cb()
253 if ((events & POLLOUT) && uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select_cb()
254 uv__stream_io(stream->loop, &stream->io_watcher, POLLOUT); in uv__stream_osx_select_cb()
456 assert(!uv__io_active(&stream->io_watcher, POLLIN | POLLOUT)); in uv__stream_destroy()
632 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__drain()
884 uv__io_start(stream->loop, &stream->io_watcher, POLLOUT); in uv__write()
895 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__write()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dpoll.c48 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()
H A Dstream.c165 if (uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select()
208 events |= POLLOUT; in uv__stream_osx_select()
237 assert(events == (events & (POLLIN | POLLOUT))); in uv__stream_osx_select_cb()
243 if ((events & POLLOUT) && uv__io_active(&stream->io_watcher, POLLOUT)) in uv__stream_osx_select_cb()
244 uv__stream_io(stream->loop, &stream->io_watcher, POLLOUT); in uv__stream_osx_select_cb()
446 assert(!uv__io_active(&stream->io_watcher, POLLIN | POLLOUT)); in uv__stream_destroy()
664 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__drain()
918 uv__io_start(stream->loop, &stream->io_watcher, POLLOUT); in uv__write()
928 uv__io_stop(stream->loop, &stream->io_watcher, POLLOUT); in uv__write()
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-freertos.h39 * protected by the same test as used here... if POLLIN / POLLOUT already exist
45 #if !defined(POLLIN) && !defined(POLLOUT)
54 #define POLLOUT 0x0004 macro
/third_party/alsa-utils/axfer/
H A Dwaiter-select.c22 # define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT)
26 # define POLLOUT_SET (POLLOUT)
89 pfd->revents |= POLLOUT; in select_wait_event()
/third_party/NuttX/drivers/pipes/
H A Dpipe_common.c101 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()
728 /* Notify the POLLOUT event if the pipe is not full, but only if in pipecommon_poll()
735 eventset |= POLLOUT; in pipecommon_poll()
752 /* Change POLLOUT to POLLERR, if no readers and policy 0. */ in pipecommon_poll()
754 if ((eventset | POLLOUT) && in pipecommon_poll()
/third_party/ltp/testcases/kernel/syscalls/poll/
H A Dpoll01.c9 * Check that poll() works for POLLOUT and POLLIN and that revents is set
27 {.fd = fildes[1], .events = POLLOUT}, in verify_pollout()
33 tst_res(TFAIL | TTERRNO, "poll() POLLOUT failed"); in verify_pollout()
37 if (outfds[0].revents != POLLOUT) { in verify_pollout()
38 tst_res(TFAIL | TTERRNO, "poll() failed to set POLLOUT"); in verify_pollout()
42 tst_res(TPASS, "poll() POLLOUT"); in verify_pollout()
/third_party/alsa-lib/test/
H A Dseq-sender.c234 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/pulseaudio/src/utils/
H A Dpacmd.c245 (ibuf_length > 0 ? POLLOUT : 0) | in main()
260 watch_stdout->events = POLLOUT; in main()
317 } else if (watch_stdout->revents & POLLOUT) { in main()
335 } else if (watch_socket->revents & POLLOUT) { in main()
/third_party/alsa-utils/seq/aseqnet/
H A Daseqnet.c250 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/NuttX/fs/vfs/
H A Dfs_select.c48 #define POLL_OUT_SET (POLLOUT | POLLWRBAND | POLLWRNORM | POLLERR)
211 pollset[ndx].events |= (POLLOUT | POLLWRNORM); in do_select()
/third_party/node/deps/cares/src/lib/
H A Dares_event_poll.c88 pollfd[i].events |= POLLOUT; in ares_evsys_poll_wait()
118 if (pollfd[i].revents & POLLOUT) { in ares_evsys_poll_wait()
/third_party/rust/crates/libc/src/unix/newlib/espidf/
H A Dmod.rs71 pub const POLLOUT: ::c_short = 1 << 3; consts
72 pub const POLLWRNORM: ::c_short = POLLOUT;
/third_party/rust/crates/nix/test/
H A Dtest_poll.rs82 pfd.set_events(PollFlags::POLLOUT); in test_pollfd_events()
83 assert_eq!(pfd.events(), PollFlags::POLLOUT); in test_pollfd_events()
/third_party/musl/arch/mips/bits/
H A Dpoll.h1 #define POLLWRNORM POLLOUT
/third_party/musl/arch/mips64/bits/
H A Dpoll.h1 #define POLLWRNORM POLLOUT
/third_party/musl/arch/mipsn32/bits/
H A Dpoll.h1 #define POLLWRNORM POLLOUT
/third_party/ltp/testcases/kernel/syscalls/ppoll/
H A Dppoll01.c83 .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/python/Lib/test/
H A Dtest_poll.py51 p.register(wr, select.POLLOUT)
61 ready_writers = find_ready_matching(ready, select.POLLOUT)
205 pollster.register(w, select.POLLOUT)

Completed in 12 milliseconds

1234567