Lines Matching refs:uv_stream_t
37 uv_stream_t stream;
88 static void recv_cb(uv_stream_t* handle, in recv_cb()
151 (uv_stream_t*)&ctx.channel, in connect_cb()
162 (uv_stream_t*)&ctx.channel, in connect_cb()
168 r = uv_read_start((uv_stream_t*)&ctx.channel, alloc_cb, recv_cb); in connect_cb()
301 static void read_cb(uv_stream_t* handle, in read_cb()
347 (uv_stream_t*)&ctx2.channel, in read_cb()
358 ASSERT_EQ(1, uv_is_readable((uv_stream_t*)&ctx2.channel)); in send_recv_start()
359 ASSERT_EQ(1, uv_is_writable((uv_stream_t*)&ctx2.channel)); in send_recv_start()
362 r = uv_read_start((uv_stream_t*)&ctx2.channel, alloc_cb, read_cb); in send_recv_start()
366 static void listen_cb(uv_stream_t* handle, int status) { in listen_cb()
368 ASSERT_PTR_EQ(handle, (uv_stream_t*)&ctx2.listen); in listen_cb()
371 r = uv_accept((uv_stream_t*)&ctx2.listen, (uv_stream_t*)&ctx2.channel); in listen_cb()
394 r = uv_listen((uv_stream_t*)&ctx2.listen, SOMAXCONN, listen_cb); in run_ipc_send_recv_helper()