Searched refs:poll_handle (Results 1 – 7 of 7) sorted by relevance
/third_party/libuv/test/ |
D | test-fs-poll.c | 45 static uv_fs_poll_t poll_handle; variable 106 ASSERT(handle == &poll_handle); in poll_cb() 159 ASSERT(0 == uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL() 160 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100)); in TEST_IMPL() 179 ASSERT(0 == uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL() 181 ASSERT(UV_EINVAL == uv_fs_poll_getpath(&poll_handle, buf, &len)); in TEST_IMPL() 182 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL() 184 ASSERT(0 == uv_fs_poll_getpath(&poll_handle, buf, &len)); in TEST_IMPL() 189 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL() 202 uv_fs_poll_t poll_handle; in TEST_IMPL() local [all …]
|
D | test-poll.c | 58 uv_poll_t poll_handle; member 69 uv_poll_t poll_handle; member 163 r = uv_poll_init_socket(uv_default_loop(), &context->poll_handle, sock); in create_connection_context() 165 context->poll_handle.data = context; in create_connection_context() 201 uv_close((uv_handle_t*) &context->poll_handle, connection_close_cb); in destroy_connection_context() 286 uv_poll_start(&context->poll_handle, UV_WRITABLE, connection_poll_cb); 287 uv_poll_start(&context->poll_handle, UV_READABLE, connection_poll_cb); 385 uv_poll_start(&context->poll_handle, 388 uv_poll_start(&context->poll_handle, 454 r = uv_poll_start(&context->poll_handle, [all …]
|
D | test-fork.c | 124 uv_poll_t poll_handle; in TEST_IMPL() local 132 ASSERT(0 == uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL() 145 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL() 164 uv_poll_t poll_handle; in TEST_IMPL() local 174 ASSERT(0 == uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL() 175 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL() 188 ASSERT(0 == uv_poll_stop(&poll_handle)); in TEST_IMPL() 189 uv_close((uv_handle_t*)&poll_handle, NULL); in TEST_IMPL()
|
/third_party/node/deps/uvwasi/src/ |
D | poll_oneoff.c | 163 uv_poll_t* poll_handle; in uvwasi__poll_oneoff_state_add_fdevent() local 198 event->poll_handle = dup->poll_handle; in uvwasi__poll_oneoff_state_add_fdevent() 214 poll_handle = &state->poll_handles[state->handle_cnt]; in uvwasi__poll_oneoff_state_add_fdevent() 215 r = uv_poll_init(&state->loop, poll_handle, event->wrap->fd); in uvwasi__poll_oneoff_state_add_fdevent() 224 r = uv_poll_start(poll_handle, in uvwasi__poll_oneoff_state_add_fdevent() 229 uv_close((uv_handle_t*) poll_handle, NULL); in uvwasi__poll_oneoff_state_add_fdevent() 233 uv_handle_set_data((uv_handle_t*) poll_handle, in uvwasi__poll_oneoff_state_add_fdevent() 235 event->poll_handle = poll_handle; in uvwasi__poll_oneoff_state_add_fdevent()
|
D | poll_oneoff.h | 14 uv_poll_t* poll_handle; member
|
/third_party/libuv/docs/code/uvwget/ |
D | main.c | 12 uv_poll_t poll_handle; member 23 int r = uv_poll_init_socket(loop, &context->poll_handle, sockfd); in create_curl_context() 25 context->poll_handle.data = context; in create_curl_context() 36 uv_close((uv_handle_t*) &context->poll_handle, curl_close_cb); in destroy_curl_context() 123 uv_poll_start(&curl_context->poll_handle, UV_READABLE, curl_perform); in handle_socket() 126 uv_poll_start(&curl_context->poll_handle, UV_WRITABLE, curl_perform); in handle_socket() 130 uv_poll_stop(&((curl_context_t*)socketp)->poll_handle); in handle_socket()
|
/third_party/curl/docs/examples/ |
D | multi-uv.c | 47 uv_poll_t poll_handle; member 59 uv_poll_init_socket(loop, &context->poll_handle, sockfd); in create_curl_context() 60 context->poll_handle.data = context; in create_curl_context() 73 uv_close((uv_handle_t *) &context->poll_handle, curl_close_cb); in destroy_curl_context() 195 uv_poll_start(&curl_context->poll_handle, events, curl_perform); in handle_socket() 199 uv_poll_stop(&((curl_context_t*)socketp)->poll_handle); in handle_socket()
|