Lines Matching defs:stream
234 uv_pipe_t* parent_pipe = (uv_pipe_t*) fdopt.data.stream;
237 /* Create a new, connected pipe pair. stdio[i]. stream should point to
239 assert(fdopt.data.stream->type == UV_NAMED_PIPE);
240 assert(!(fdopt.data.stream->flags & UV_HANDLE_CONNECTION));
241 assert(!(fdopt.data.stream->flags & UV_HANDLE_PIPESERVER));
306 /* Use an existing stream as the stdio handle for the child. */
309 uv_stream_t* stream = fdopt.data.stream;
311 /* Leech the handle out of the stream. */
312 if (stream->type == UV_TTY) {
313 stream_handle = ((uv_tty_t*) stream)->handle;
315 } else if (stream->type == UV_NAMED_PIPE &&
316 stream->flags & UV_HANDLE_CONNECTION) {
317 stream_handle = ((uv_pipe_t*) stream)->handle;
326 /* The handle is already closed, or not yet created, or the stream