Lines Matching refs:stream
108 * If we get QS it means close the stream.
109 * If we get QSS it means shutdown the stream.
170 uv_stream_t* stream;
180 stream = malloc(sizeof(uv_tcp_t));
181 ASSERT_NOT_NULL(stream);
182 r = uv_tcp_init(loop, (uv_tcp_t*)stream);
187 stream = malloc(sizeof(uv_pipe_t));
188 ASSERT_NOT_NULL(stream);
189 r = uv_pipe_init(loop, (uv_pipe_t*)stream, 0);
198 /* associate server with stream */
199 stream->data = server;
201 r = uv_accept(server, stream);
204 r = uv_read_start(stream, echo_alloc, after_read);