Lines Matching refs:tcp_client
36 static uv_tcp_t tcp_client; variable
106 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_client); in read_cb2()
114 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2); in connect_cb()
115 do_write(&tcp_client); in connect_cb()
117 do_close(&tcp_client); in connect_cb()
124 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in write_cb()
131 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp_client); in close_cb()
140 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_client); in shutdown_cb()
187 static void do_connect(uv_loop_t* loop, uv_tcp_t* tcp_client) { in do_connect() argument
193 r = uv_tcp_init(loop, tcp_client); in do_connect()
197 tcp_client, in do_connect()
217 do_connect(loop, &tcp_client); in TEST_IMPL()
244 do_connect(loop, &tcp_client); in TEST_IMPL()
271 do_connect(loop, &tcp_client); in TEST_IMPL()
298 do_connect(loop, &tcp_client); in TEST_IMPL()
325 do_connect(loop, &tcp_client); in TEST_IMPL()