Home
last modified time | relevance | path

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

/third_party/libuv/test/
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(req->handle == (uv_stream_t*) &client_handle); in connect_cb()
92 ASSERT(0 == uv_fileno((uv_handle_t*) &client_handle, &fd)); in connection_cb()
94 ASSERT(0 == uv_stream_set_blocking((uv_stream_t*) &client_handle, 1)); in connection_cb()
109 ASSERT(0 == uv_stream_set_blocking((uv_stream_t*) &client_handle, 0)); in connection_cb()
121 ASSERT(0 == uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
128 ASSERT(0 == uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
131 &client_handle, in TEST_IMPL()
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(req->handle == (uv_stream_t*) &client_handle); in connect_cb()
99 ASSERT(0 == uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
104 &client_handle, in TEST_IMPL()
Dtest-emfile.c37 static uv_tcp_t client_handle; variable
64 ASSERT(0 == uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
83 &client_handle, in TEST_IMPL()
114 uv_close((uv_handle_t*) &client_handle, NULL); in connect_cb()
Dtest-poll-oob.c34 static uv_tcp_t client_handle; variable
63 uv_close((uv_handle_t*) &client_handle, NULL); in idle_cb()
172 ASSERT(0 == uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
179 ASSERT(0 == uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
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(0 == 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()
/third_party/node/src/
Dconnection_wrap.cc47 Local<Value> client_handle; in OnConnection() local
67 client_handle = client_obj; in OnConnection()
69 client_handle = Undefined(env->isolate()); in OnConnection()
72 Local<Value> argv[] = { Integer::New(env->isolate(), status), client_handle }; in OnConnection()