Searched refs:poll_handle (Results 1 – 4 of 4) sorted by relevance
/libuv/test/ |
H A D | test-fs-poll.c | 45 static uv_fs_poll_t poll_handle; variable 106 ASSERT_PTR_EQ(handle, &poll_handle); in poll_cb() 159 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL() 179 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL() 202 uv_fs_poll_t poll_handle; in TEST_IMPL() local 221 uv_fs_poll_t poll_handle; in TEST_IMPL() local 232 ASSERT_OK(uv_fs_poll_stop(&poll_handle)); in TEST_IMPL() 245 uv_fs_poll_t poll_handle; in TEST_IMPL() local 255 ASSERT_OK(uv_fs_poll_stop(&poll_handle)); in TEST_IMPL() 270 uv_fs_poll_t poll_handle; in TEST_IMPL() local [all …]
|
H A D | test-poll.c | 59 uv_poll_t poll_handle; member 70 uv_poll_t poll_handle; member 166 context->poll_handle.data = context; in create_connection_context() 386 uv_poll_start(&context->poll_handle, 389 uv_poll_start(&context->poll_handle, 455 r = uv_poll_start(&context->poll_handle, 474 context->poll_handle.data = context; 555 r = uv_poll_start(&context->poll_handle, 642 uv_poll_t poll_handle; local 691 uv_poll_t poll_handle; local [all …]
|
H A D | test-fork.c | 133 uv_poll_t poll_handle; in TEST_IMPL() local 141 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL() 158 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL() 177 uv_poll_t poll_handle; in TEST_IMPL() local 187 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL() 188 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); in TEST_IMPL() 205 ASSERT_OK(uv_poll_stop(&poll_handle)); in TEST_IMPL() 206 uv_close((uv_handle_t*)&poll_handle, NULL); in TEST_IMPL()
|
/libuv/docs/code/uvwget/ |
H A 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()
|
Completed in 17 milliseconds