Lines Matching refs:fdopt
201 uv_stdio_container_t fdopt; in uv__stdio_create() local
203 fdopt = options->stdio[i]; in uv__stdio_create()
205 fdopt.flags = UV_IGNORE; in uv__stdio_create()
208 switch (fdopt.flags & (UV_IGNORE | UV_CREATE_PIPE | UV_INHERIT_FD | in uv__stdio_create()
235 uv_pipe_t* parent_pipe = (uv_pipe_t*) fdopt.data.stream; in uv__stdio_create()
240 assert(fdopt.data.stream->type == UV_NAMED_PIPE); in uv__stdio_create()
241 assert(!(fdopt.data.stream->flags & UV_HANDLE_CONNECTION)); in uv__stdio_create()
242 assert(!(fdopt.data.stream->flags & UV_HANDLE_PIPESERVER)); in uv__stdio_create()
247 fdopt.flags); in uv__stdio_create()
261 err = uv__duplicate_fd(loop, fdopt.data.fd, &child_handle); in uv__stdio_create()
265 if (fdopt.data.fd <= 2 && err == ERROR_INVALID_HANDLE) { in uv__stdio_create()
310 uv_stream_t* stream = fdopt.data.stream; in uv__stdio_create()