Lines Matching refs:tcp
28 static uv_tcp_t tcp; variable
49 ASSERT_PTR_EQ((uv_tcp_t*)t, &tcp); in read_cb()
92 ASSERT_OK(uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb()
95 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb)); in connect_cb()
97 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb)); in connect_cb()
98 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, alloc_cb, NULL)); in connect_cb()
104 uv_write(&write_req, (uv_stream_t*) &tcp, &qbuf, 1, NULL); in connect_cb()
107 uv_shutdown(&shutdown_req, (uv_stream_t*) &tcp, shutdown_cb); in connect_cb()
115 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp); in tcp_close_cb()
141 uv_close((uv_handle_t*) &tcp, tcp_close_cb); in timer_cb()
166 r = uv_tcp_init(uv_default_loop(), &tcp); in TEST_IMPL()
170 &tcp, in TEST_IMPL()