Home
last modified time | relevance | path

Searched refs:client_handle (Results 1 – 5 of 5) sorted by relevance

/libuv/test/
H A Dtest-tcp-oob.c32 static uv_tcp_t client_handle; variable
52 uv_close((uv_handle_t*) &client_handle, NULL); in idle_cb()
78 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &client_handle); in connect_cb()
92 ASSERT_OK(uv_fileno((uv_handle_t*) &client_handle, &fd)); in connection_cb()
94 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &client_handle, 1)); in connection_cb()
109 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &client_handle, 0)); in connection_cb()
121 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
128 ASSERT_OK(uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
131 &client_handle, in TEST_IMPL()
H A Dtest-tcp-unexpected-read.c28 static uv_tcp_t client_handle; variable
45 uv_close((uv_handle_t*) &client_handle, NULL); in timer_cb()
63 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &client_handle); in connect_cb()
99 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
104 &client_handle, in TEST_IMPL()
H A Dtest-emfile.c37 static uv_tcp_t client_handle; variable
64 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
91 &client_handle, in TEST_IMPL()
122 uv_close((uv_handle_t*) &client_handle, NULL); in connect_cb()
H A Dtest-poll-oob.c34 static uv_tcp_t client_handle; variable
63 uv_close((uv_handle_t*) &client_handle, NULL); in idle_cb()
176 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
183 ASSERT_OK(uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
H A Dbenchmark-multi-accept.c76 handle_storage_t client_handle; member
339 uv_close((uv_handle_t*) &ctx->client_handle, cl_close_cb); in cl_idle_cb()
347 ctx = container_of(handle, struct client_ctx, client_handle); in cl_close_cb()
354 ASSERT_OK(uv_tcp_init(handle->loop, (uv_tcp_t*) &ctx->client_handle)); in cl_close_cb()
356 (uv_tcp_t*) &ctx->client_handle, in cl_close_cb()
393 handle = (uv_tcp_t*) &ctx->client_handle; in test_tcp()

Completed in 24 milliseconds