Searched refs:poll_handle (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-fs-poll.c45 static uv_fs_poll_t poll_handle; variable
106 ASSERT(handle == &poll_handle);
159 ASSERT(0 == uv_fs_poll_init(loop, &poll_handle));
160 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100));
179 ASSERT(0 == uv_fs_poll_init(loop, &poll_handle));
181 ASSERT(UV_EINVAL == uv_fs_poll_getpath(&poll_handle, buf, &len));
182 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100));
184 ASSERT(0 == uv_fs_poll_getpath(&poll_handle, buf, &len));
189 uv_close((uv_handle_t*) &poll_handle, close_cb);
202 uv_fs_poll_t poll_handle; local
223 uv_fs_poll_t poll_handle; local
249 uv_fs_poll_t poll_handle; local
276 uv_fs_poll_t poll_handle; local
[all...]
H A Dtest-poll.c58 uv_poll_t poll_handle; member in struct:connection_context_s
69 uv_poll_t poll_handle; member in struct:server_context_s
163 r = uv_poll_init_socket(uv_default_loop(), &context->poll_handle, sock);
165 context->poll_handle.data = context;
201 uv_close((uv_handle_t*) &context->poll_handle, connection_close_cb);
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,
637 uv_poll_t poll_handle; local
657 uv_poll_t poll_handle; local
679 uv_poll_t poll_handle; local
[all...]
H A Dtest-fork.c124 uv_poll_t poll_handle; local
132 ASSERT(0 == uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0]));
145 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb));
164 uv_poll_t poll_handle; local
174 ASSERT(0 == uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0]));
175 ASSERT(0 == uv_poll_start(&poll_handle, UV_READABLE, socket_cb));
188 ASSERT(0 == uv_poll_stop(&poll_handle));
189 uv_close((uv_handle_t*)&poll_handle, NULL);
/netbsd-current/external/mit/libuv/dist/docs/code/uvwget/
H A Dmain.c12 uv_poll_t poll_handle; member in struct:curl_context_s
23 int r = uv_poll_init_socket(loop, &context->poll_handle, sockfd);
25 context->poll_handle.data = context;
36 uv_close((uv_handle_t*) &context->poll_handle, curl_close_cb);
123 uv_poll_start(&curl_context->poll_handle, UV_READABLE, curl_perform);
126 uv_poll_start(&curl_context->poll_handle, UV_WRITABLE, curl_perform);
130 uv_poll_stop(&((curl_context_t*)socketp)->poll_handle);

Completed in 369 milliseconds