Home
last modified time | relevance | path

Searched refs:stdout_pipe (Results 1 – 11 of 11) sorted by relevance

/third_party/grpc/src/python/grpcio_tests/tests/
D_runner.py153 stdout_pipe = CaptureFile(sys.stdout.fileno())
163 stdout_pipe.write_bypass(
165 signal_number, stdout_pipe.output(), stderr_pipe.output()))
170 stdout_pipe.write_bypass('Stopping tests short...')
172 stdout_pipe.write_bypass(result_out.getvalue())
173 stdout_pipe.write_bypass('\ninterrupted stdout:\n{}\n'.format(
174 stdout_pipe.output().decode()))
209 with stdout_pipe, stderr_pipe:
220 result.set_output(augmented_case.case, stdout_pipe.output(),
230 stdout_pipe.close()
/third_party/libuv/docs/code/uvtee/
Dmain.c16 uv_pipe_t stdout_pipe; variable
49 uv_close((uv_handle_t *)&stdout_pipe, NULL); in read_stdin()
53 write_data((uv_stream_t *)&stdout_pipe, nread, *buf, on_stdout_write); in read_stdin()
68 uv_pipe_init(loop, &stdout_pipe, 0); in main()
69 uv_pipe_open(&stdout_pipe, 1); in main()
/third_party/skia/third_party/externals/tint/src/utils/io/
Dcommand_posix.cc151 Pipe stdout_pipe; in Exec() local
154 if (!stdin_pipe || !stdout_pipe || !stderr_pipe) { in Exec()
183 stdout_pipe.write.Close(); in Exec()
199 poll_fds[0].fd = stdout_pipe.read; in Exec()
213 auto n = read(stdout_pipe.read, buf, sizeof(buf)); in Exec()
241 (dup2(stdout_pipe.write, STDOUT_FILENO) == -1) || in Exec()
249 stdout_pipe.Close(); in Exec()
Dcommand_windows.cc151 Pipe stdout_pipe(true); in Exec() local
154 if (!stdin_pipe || !stdout_pipe || !stderr_pipe) { in Exec()
173 si.hStdOutput = stdout_pipe.write; in Exec()
200 stdout_pipe.write.Close(); in Exec()
219 StreamReadThreadArgs stdout_read_args{stdout_pipe.read, {}}; in Exec()
/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc307 int stdout_pipe[2]; in Start() local
310 GOOGLE_CHECK(pipe(stdout_pipe) != -1); in Start()
320 dup2(stdout_pipe[1], STDOUT_FILENO); in Start()
324 close(stdout_pipe[0]); in Start()
325 close(stdout_pipe[1]); in Start()
354 close(stdout_pipe[1]); in Start()
357 child_stdout_ = stdout_pipe[0]; in Start()
/third_party/glib/glib/
Dgspawn-win32.c569 int stdout_pipe[2] = { -1, -1 }; in fork_exec() local
591 if (!make_pipe (stdout_pipe, error)) in fork_exec()
593 stdout_fd = stdout_pipe[1]; in fork_exec()
880 close_and_invalidate (&stdout_pipe[1]); in fork_exec()
886 *stdout_pipe_out = stdout_pipe[0]; in fork_exec()
909 if (stdout_pipe[0] != -1) in fork_exec()
910 close (stdout_pipe[0]); in fork_exec()
911 if (stdout_pipe[1] != -1) in fork_exec()
912 close (stdout_pipe[1]); in fork_exec()
Dgspawn.c2002 gint stdout_pipe[2] = { -1, -1 }; in fork_exec() local
2023 if (!g_unix_open_pipe (stdout_pipe, pipe_flags, error)) in fork_exec()
2025 child_close_fds[n_child_close_fds++] = stdout_pipe[0]; in fork_exec()
2026 stdout_fd = stdout_pipe[1]; in fork_exec()
2435 close_and_invalidate (&stdout_pipe[1]); in fork_exec()
2442 *stdout_pipe_out = steal_fd (&stdout_pipe[0]); in fork_exec()
2471 close_and_invalidate (&stdout_pipe[0]); in fork_exec()
2472 close_and_invalidate (&stdout_pipe[1]); in fork_exec()
Dgtestutils.c3472 int stdout_pipe[2] = { -1, -1 }; in g_test_trap_fork() local
3477 if (pipe (stdout_pipe) < 0 || pipe (stderr_pipe) < 0) in g_test_trap_fork()
3490 close (stdout_pipe[0]); in g_test_trap_fork()
3498 …if (safe_dup2 (stdout_pipe[1], 1) < 0 || safe_dup2 (stderr_pipe[1], 2) < 0 || (fd0 >= 0 && safe_du… in g_test_trap_fork()
3505 if (stdout_pipe[1] >= 3) in g_test_trap_fork()
3506 close (stdout_pipe[1]); in g_test_trap_fork()
3526 close (stdout_pipe[1]); in g_test_trap_fork()
3530 stdout_pipe[0], !(test_trap_flags & G_TEST_TRAP_SILENCE_STDOUT), in g_test_trap_fork()
/third_party/glib/gio/
Dgsubprocess.c167 GInputStream *stdout_pipe; member
454 self->stdout_pipe = platform_input_stream_from_spawn_fd (pipe_fds[1]); in initable_init()
469 g_clear_object (&self->stdout_pipe); in g_subprocess_finalize()
650 return subprocess->stdout_pipe; in g_subprocess_get_stdout_pipe()
1460 if (subprocess->stdout_pipe) in g_subprocess_communicate_internal()
1463 g_output_stream_splice_async ((GOutputStream*)state->stdout_buf, subprocess->stdout_pipe, in g_subprocess_communicate_internal()
/third_party/glib/gio/tests/
Dgapplication.c24 gint stdout_pipe;
64 check_data (child->stdout_pipe, child->expected_stdout);
65 close (child->stdout_pipe);
112 &data->stdout_pipe,
126 fd.fd = data->stdout_pipe;
/third_party/python/Lib/test/
Dtest_subprocess.py910 for stdout_pipe in (False, True):
915 if stdout_pipe: