Home
last modified time | relevance | path

Searched refs:UV_READABLE (Results 1 – 17 of 17) sorted by relevance

/netbsd/external/mit/libuv/dist/test/
H A Dtest-poll.c217 if (events & UV_READABLE) {
236 new_events &= ~UV_READABLE;
261 new_events &= ~UV_READABLE;
275 new_events &= ~UV_READABLE;
277 context->delayed_events = UV_READABLE;
280 context->delayed_events |= UV_READABLE;
288 context->events = UV_READABLE;
386 UV_READABLE,
511 UV_READABLE | UV_WRITABLE | UV_DISCONNECT,
553 context->events = UV_READABLE | UV_WRITABLE | UV_DISCONNECT;
[all …]
H A Dtest-poll-multiple-handles.c43 ASSERT(events == UV_READABLE); in poll_cb()
67 ASSERT(0 == uv_poll_start(&first_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
76 ASSERT(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb) == UV_EEXIST); in TEST_IMPL()
81 ASSERT(0 == uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
H A Dtest-pipe-set-fchmod.c44 r = uv_pipe_chmod(&pipe_handle, UV_READABLE); in TEST_IMPL()
66 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
78 r = uv_pipe_chmod(NULL, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
85 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
H A Dtest-poll-oob.c84 UV_READABLE | UV_WRITABLE, in poll_cb()
87 if (events & UV_READABLE) { in poll_cb()
144 UV_PRIORITIZED | UV_READABLE | UV_WRITABLE, in connection_cb()
147 UV_READABLE, in connection_cb()
H A Dtest-fork.c52 ASSERT(UV_READABLE == (events & UV_READABLE)); in socket_cb()
145 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL()
175 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL()
H A Dtest-poll-close.c60 uv_poll_start(&poll_handles[i], UV_READABLE | UV_WRITABLE, NULL); in TEST_IMPL()
H A Dtest-poll-closesocket.c45 r = uv_poll_start(&handle, UV_READABLE, poll_cb); in poll_cb()
H A Dtest-poll-close-doesnt-corrupt-stack.c99 r = uv_poll_start(&handle, UV_READABLE | UV_WRITABLE, poll_cb); in TEST_IMPL()
/netbsd/external/mit/libuv/dist/src/unix/
H A Dpoll.c56 pevents |= UV_READABLE; in uv__poll_io()
124 assert((pevents & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT | in uv_poll_start()
141 if (pevents & UV_READABLE) in uv_poll_start()
H A Dpipe.c338 if (mode != UV_READABLE && in uv_pipe_chmod()
340 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
366 if (mode & UV_READABLE) in uv_pipe_chmod()
/netbsd/external/mit/libuv/dist/src/win/
H A Dpoll.c113 if (handle->events & UV_READABLE) { in uv__fast_poll_submit_poll_req()
170 events |= UV_READABLE; in uv__fast_poll_process_poll_req()
280 if (handle->events & UV_READABLE) { in uv__slow_poll_thread_proc()
316 reported_events |= UV_READABLE; in uv__slow_poll_thread_proc()
493 assert((events & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT | in uv__poll_set()
H A Dpipe.c2577 if (mode != UV_READABLE && in uv_pipe_chmod()
2579 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
2604 if (mode & UV_READABLE) in uv_pipe_chmod()
/netbsd/external/mit/libuv/dist/docs/src/
H A Dpoll.rst55 UV_READABLE = 1,
89 `UV_READABLE`, `UV_WRITABLE`, `UV_PRIORITIZED` and `UV_DISCONNECT`. As soon
115 If one of the events `UV_READABLE` or `UV_WRITABLE` are set, the
124 available data (when `UV_READABLE` is set).
H A Dpipe.rst117 be ``UV_WRITABLE``, ``UV_READABLE`` or ``UV_WRITABLE | UV_READABLE``. This
/netbsd/external/mit/libuv/dist/docs/code/uvwget/
H A Dmain.c86 if (!status && events & UV_READABLE) flags |= CURL_CSELECT_IN; in curl_perform()
123 uv_poll_start(&curl_context->poll_handle, UV_READABLE, curl_perform); in handle_socket()
/netbsd/external/mit/libuv/dist/docs/src/guide/
H A Dutilities.rst273 ``UV_READABLE`` or ``UV_WRITABLE``. Now libuv will invoke the poll callback
/netbsd/external/mit/libuv/dist/include/
H A Duv.h821 UV_READABLE = 1, enumerator