Lines Matching refs:uv_stream_t
38 static void do_write(uv_stream_t*);
51 static uv_stream_t* server;
171 static void read_cb(uv_stream_t* stream, ssize_t bytes, const uv_buf_t* buf) { in read_cb()
198 do_write((uv_stream_t*) req->handle); in write_cb()
202 static void do_write(uv_stream_t* stream) { in do_write()
236 do_write((uv_stream_t*) &tcp_write_handles[i]); in connect_cb()
238 do_write((uv_stream_t*) &pipe_write_handles[i]); in connect_cb()
277 static void connection_cb(uv_stream_t* s, int status) { in connection_cb()
278 uv_stream_t* stream; in connection_cb()
285 stream = (uv_stream_t*)malloc(sizeof(uv_tcp_t)); in connection_cb()
289 stream = (uv_stream_t*)malloc(sizeof(uv_pipe_t)); in connection_cb()
385 server = (uv_stream_t*)&tcpServer; in HELPER_IMPL()
390 r = uv_listen((uv_stream_t*)&tcpServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()
407 server = (uv_stream_t*)&pipeServer; in HELPER_IMPL()
412 r = uv_listen((uv_stream_t*)&pipeServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()