| /src/external/mit/libuv/dist/test/ |
| test-fs-poll.c | 45 static uv_fs_poll_t poll_handle; variable 106 ASSERT_PTR_EQ(handle, &poll_handle); 159 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); 160 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100)); 179 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); 181 ASSERT_EQ(UV_EINVAL, uv_fs_poll_getpath(&poll_handle, buf, &len)); 182 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); 184 ASSERT_OK(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 221 uv_fs_poll_t poll_handle; local 245 uv_fs_poll_t poll_handle; local 270 uv_fs_poll_t poll_handle; local [all...] |
| test-fork.c | 133 uv_poll_t poll_handle; local 141 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); 158 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); 177 uv_poll_t poll_handle; local 187 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); 188 ASSERT_OK(uv_poll_start(&poll_handle, UV_READABLE, socket_cb)); 205 ASSERT_OK(uv_poll_stop(&poll_handle)); 206 uv_close((uv_handle_t*)&poll_handle, NULL);
|
| test-poll.c | 59 uv_poll_t poll_handle; member in struct:connection_context_s 70 uv_poll_t poll_handle; member in struct:server_context_s 164 r = uv_poll_init_socket(uv_default_loop(), &context->poll_handle, sock); 166 context->poll_handle.data = context; 202 uv_close((uv_handle_t*) &context->poll_handle, connection_close_cb); 287 uv_poll_start(&context->poll_handle, UV_WRITABLE, connection_poll_cb); 288 uv_poll_start(&context->poll_handle, UV_READABLE, connection_poll_cb); 386 uv_poll_start(&context->poll_handle, 389 uv_poll_start(&context->poll_handle, 455 r = uv_poll_start(&context->poll_handle, 642 uv_poll_t poll_handle; local 691 uv_poll_t poll_handle; local 713 uv_poll_t poll_handle; local [all...] |
| /src/external/mit/libuv/dist/docs/code/uvwget/ |
| main.c | 12 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);
|