Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-poll-multiple-handles.c43 ASSERT_EQ(events, UV_READABLE); in poll_cb()
71 ASSERT_OK(uv_poll_start(&first_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
80 ASSERT_EQ(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb), in TEST_IMPL()
86 ASSERT_OK(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
H A Dtest-poll.c218 if (events & UV_READABLE) {
237 new_events &= ~UV_READABLE;
262 new_events &= ~UV_READABLE;
276 new_events &= ~UV_READABLE;
278 context->delayed_events = UV_READABLE;
281 context->delayed_events |= UV_READABLE;
289 context->events = UV_READABLE;
387 UV_READABLE,
512 UV_READABLE | UV_WRITABLE | UV_DISCONNECT,
554 context->events = UV_READABLE | UV_WRITABLE | UV_DISCONNECT;
[all …]
H A Dtest-pipe-set-fchmod.c45 r = uv_pipe_chmod(&pipe_handle, UV_READABLE); in TEST_IMPL()
68 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
80 r = uv_pipe_chmod(NULL, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
87 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()
148 UV_PRIORITIZED | UV_READABLE | UV_WRITABLE, in connection_cb()
151 UV_READABLE, in connection_cb()
H A Dtest-poll-close.c60 uv_poll_start(&poll_handles[i], UV_READABLE | UV_WRITABLE, NULL); in TEST_IMPL()
H A Dtest-fork.c56 ASSERT_EQ(UV_READABLE, (events & UV_READABLE)); in socket_cb()
158 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL()
188 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); 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()
/libuv/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.c457 if (mode != UV_READABLE && in uv_pipe_chmod()
459 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
473 if (mode & UV_READABLE) in uv_pipe_chmod()
/libuv/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()
492 assert((events & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT | in uv__poll_set()
H A Dpipe.c2655 if (mode != UV_READABLE && in uv_pipe_chmod()
2657 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
2682 if (mode & UV_READABLE) in uv_pipe_chmod()
/libuv/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()
/libuv/docs/src/
H A Dpoll.rst55 UV_READABLE = 1,
89 `UV_READABLE`, `UV_WRITABLE`, `UV_PRIORITIZED` and `UV_DISCONNECT`. As soon
117 If one of the events `UV_READABLE` or `UV_WRITABLE` are set, the
126 available data (when `UV_READABLE` is set).
H A Dpipe.rst161 be ``UV_WRITABLE``, ``UV_READABLE`` or ``UV_WRITABLE | UV_READABLE``. This
/libuv/docs/src/guide/
H A Dutilities.rst273 ``UV_READABLE`` or ``UV_WRITABLE``. Now libuv will invoke the poll callback
/libuv/include/
H A Duv.h893 UV_READABLE = 1, enumerator

Completed in 32 milliseconds