Home
last modified time | relevance | path

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

/third_party/libuv/test/
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;
287 uv_poll_start(&context->poll_handle, UV_READABLE, connection_poll_cb);
288 context->events = UV_READABLE;
386 UV_READABLE,
509 connection_context->events = UV_READABLE | UV_WRITABLE | UV_DISCONNECT;
[all …]
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()
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()
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()
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()
Dtest-poll-close.c60 uv_poll_start(&poll_handles[i], UV_READABLE | UV_WRITABLE, NULL); in TEST_IMPL()
Dtest-poll-closesocket.c45 r = uv_poll_start(&handle, UV_READABLE, poll_cb); in poll_cb()
Dtest-poll-close-doesnt-corrupt-stack.c99 r = uv_poll_start(&handle, UV_READABLE | UV_WRITABLE, poll_cb); in TEST_IMPL()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_libuv.cc58 GPR_ASSERT((poll_events_ & UV_READABLE) == 0); in RegisterForOnReadableLocked()
60 poll_events_ |= UV_READABLE; in RegisterForOnReadableLocked()
137 if (events & UV_READABLE) { in ares_uv_poll_cb_locked()
141 polled_fd->poll_events_ &= ~UV_READABLE; in ares_uv_poll_cb_locked()
/third_party/libuv/src/unix/
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()
Dpipe.c336 if (mode != UV_READABLE && in uv_pipe_chmod()
338 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
364 if (mode & UV_READABLE) in uv_pipe_chmod()
/third_party/libuv/src/win/
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()
Dpipe.c2525 if (mode != UV_READABLE && in uv_pipe_chmod()
2527 mode != (UV_WRITABLE | UV_READABLE)) in uv_pipe_chmod()
2552 if (mode & UV_READABLE) in uv_pipe_chmod()
/third_party/libuv/docs/code/uvwget/
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()
/third_party/curl/docs/examples/
Dmulti-uv.c138 if(events & UV_READABLE) in curl_perform()
191 events |= UV_READABLE; in handle_socket()
/third_party/libuv/docs/src/
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).
Dpipe.rst117 be ``UV_WRITABLE``, ``UV_READABLE`` or ``UV_WRITABLE | UV_READABLE``. This
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c111 if (revents & UV_READABLE) { in lws_io_cb()
641 int current_events = w->actual_events & (UV_READABLE | UV_WRITABLE); in elops_io_uv()
669 current_events |= UV_READABLE; in elops_io_uv()
677 current_events &= ~UV_READABLE; in elops_io_uv()
679 if (!(current_events & (UV_READABLE | UV_WRITABLE))) in elops_io_uv()
/third_party/node/deps/uvwasi/src/
Dpoll_oneoff.c179 event->events = UV_DISCONNECT | UV_READABLE; in uvwasi__poll_oneoff_state_add_fdevent()
Duvwasi.c2433 else if ((fdevent->revents & (UV_READABLE | UV_WRITABLE)) != 0) in uvwasi_poll_oneoff()
/third_party/node/src/
Dpipe_wrap.cc100 NODE_DEFINE_CONSTANT(constants, UV_READABLE); in Initialize()
Dcares_wrap.cc99 events & UV_READABLE ? task->sock : ARES_SOCKET_BAD, in ares_poll_cb()
140 (read ? UV_READABLE : 0) | (write ? UV_WRITABLE : 0), in ares_sockstate_cb()
/third_party/node/lib/
Dnet.js1487 mode |= PipeConstants.UV_READABLE;
/third_party/libuv/docs/src/guide/
Dutilities.rst273 ``UV_READABLE`` or ``UV_WRITABLE``. Now libuv will invoke the poll callback
/third_party/libuv/include/
Duv.h821 UV_READABLE = 1, enumerator