Lines Matching refs:stdio_count

275                                    int stdio_count,  in uv__process_child_init()  argument
311 for (fd = 0; fd < stdio_count; fd++) { in uv__process_child_init()
316 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
318 pipes[fd][1] = fcntl(use_fd, F_DUPFD, stdio_count); in uv__process_child_init()
329 for (fd = 0; fd < stdio_count; fd++) { in uv__process_child_init()
365 if (close_fd >= stdio_count) in uv__process_child_init()
532 int stdio_count, in uv__spawn_set_posix_spawn_file_actions() argument
563 for (fd = 0; fd < stdio_count; fd++) { in uv__spawn_set_posix_spawn_file_actions()
567 use_fd = stdio_count; in uv__spawn_set_posix_spawn_file_actions()
568 for (fd2 = 0; fd2 < stdio_count; fd2++) { in uv__spawn_set_posix_spawn_file_actions()
588 for (fd = 0; fd < stdio_count; fd++) { in uv__spawn_set_posix_spawn_file_actions()
622 for (fd = 0; fd < stdio_count; fd++) { in uv__spawn_set_posix_spawn_file_actions()
624 if (use_fd < stdio_count) in uv__spawn_set_posix_spawn_file_actions()
767 int stdio_count, in uv__spawn_and_init_child_posix_spawn() argument
783 stdio_count, in uv__spawn_and_init_child_posix_spawn()
807 int stdio_count, in uv__spawn_and_init_child_fork() argument
832 uv__process_child_init(options, stdio_count, pipes, error_fd); in uv__spawn_and_init_child_fork()
850 int stdio_count, in uv__spawn_and_init_child() argument
876 stdio_count, in uv__spawn_and_init_child()
916 err = uv__spawn_and_init_child_fork(options, stdio_count, pipes, signal_pipe[1], pid); in uv__spawn_and_init_child()
962 int stdio_count; in uv_spawn()
982 stdio_count = options->stdio_count; in uv_spawn()
983 if (stdio_count < 3) in uv_spawn()
984 stdio_count = 3; in uv_spawn()
988 if (stdio_count > (int) ARRAY_SIZE(pipes_storage)) in uv_spawn()
989 pipes = uv__malloc(stdio_count * sizeof(*pipes)); in uv_spawn()
994 for (i = 0; i < stdio_count; i++) { in uv_spawn()
999 for (i = 0; i < options->stdio_count; i++) { in uv_spawn()
1010 exec_errorno = uv__spawn_and_init_child(loop, options, stdio_count, pipes, &pid); in uv_spawn()
1046 for (i = 0; i < options->stdio_count; i++) { in uv_spawn()
1064 for (i = 0; i < stdio_count; i++) { in uv_spawn()
1065 if (i < options->stdio_count) in uv_spawn()