Home
last modified time | relevance | path

Searched refs:stdout_fd (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/include/
Dtst_cmd.h32 int stdout_fd,
51 int stdout_fd, in tst_cmd_fds() argument
56 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
70 int stdout_fd, in tst_cmd_fds() argument
75 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
/third_party/ltp/lib/
Dtst_cmd.c49 int stdout_fd, in tst_cmd_fds_() argument
89 if (stdout_fd != -1) { in tst_cmd_fds_()
91 dup2(stdout_fd, STDOUT_FILENO); in tst_cmd_fds_()
136 int stdout_fd = -1; in tst_cmd_() local
141 stdout_fd = open(stdout_path, in tst_cmd_()
144 if (stdout_fd == -1) in tst_cmd_()
160 rc = tst_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, flags); in tst_cmd_()
162 if ((stdout_fd != -1) && (close(stdout_fd) == -1)) in tst_cmd_()
/third_party/glib/gio/
Dgsubprocesslauncher.c165 self->stdout_fd = -1; in g_subprocess_launcher_init()
364 gint stdin_fd = -1, stdout_fd = -1, stderr_fd = -1; in g_subprocess_launcher_set_flags() local
368 stdout_fd = self->stdout_fd; in g_subprocess_launcher_set_flags()
376 verify_disposition ("stdout", flags & ALL_STDOUT_FLAGS, stdout_fd, stdout_path) && in g_subprocess_launcher_set_flags()
487 if (verify_disposition ("stdout", self->flags & ALL_STDOUT_FLAGS, self->stdout_fd, path)) in g_subprocess_launcher_set_stdout_file_path()
524 assign_fd (&self->stdout_fd, fd); in g_subprocess_launcher_take_stdout_fd()
651 if (self->stdout_fd != -1) in g_subprocess_launcher_close()
652 close (self->stdout_fd); in g_subprocess_launcher_close()
653 self->stdout_fd = -1; in g_subprocess_launcher_close()
Dgsubprocesslauncher-private.h39 gint stdout_fd; member
Dgsubprocess.c303 gint stdin_fd = -1, stdout_fd = -1, stderr_fd = -1; in initable_init() local
347 if (self->launcher->stdout_fd != -1) in initable_init()
348 stdout_fd = self->launcher->stdout_fd; in initable_init()
351stdout_fd = close_fds[1] = unix_open_file (self->launcher->stdout_path, O_CREAT | O_WRONLY, error); in initable_init()
352 if (stdout_fd == -1) in initable_init()
402 stdin_fd, stdout_fd, stderr_fd, in initable_init()
Dgdesktopappinfo.h186 gint stdout_fd,
Dgdesktopappinfo.c2745 gint stdout_fd, in g_desktop_app_info_launch_uris_with_spawn() argument
2859 stdout_fd, in g_desktop_app_info_launch_uris_with_spawn()
3038 gint stdout_fd, in g_desktop_app_info_launch_uris_internal() argument
3059 stdin_fd, stdout_fd, stderr_fd, error); in g_desktop_app_info_launch_uris_internal()
3303 gint stdout_fd, in g_desktop_app_info_launch_uris_as_manager_with_fds() argument
3316 stdout_fd, in g_desktop_app_info_launch_uris_as_manager_with_fds()
/third_party/glib/glib/
Dgspawn.c189 gint stdout_fd,
870 gint stdout_fd, in g_spawn_async_with_pipes_and_fds() argument
891 g_return_val_if_fail (stdout_pipe_out == NULL || stdout_fd < 0, FALSE); in g_spawn_async_with_pipes_and_fds()
913 stdout_fd, in g_spawn_async_with_pipes_and_fds()
951 gint stdout_fd, in g_spawn_async_with_fds() argument
956 g_return_val_if_fail (stdout_fd < 0 || in g_spawn_async_with_fds()
981 stdout_fd, in g_spawn_async_with_fds()
1558 gint stdout_fd, in do_exec() argument
1593 if (!((stdout_fd >= 0 || stdout_to_null) && stdin_fd == 1) && in do_exec()
1608 if (stdout_fd >= 0) in do_exec()
[all …]
Dgspawn-win32.c547 gint stdout_fd, in fork_exec() argument
573 g_assert (stdout_pipe_out == NULL || stdout_fd < 0); in fork_exec()
593 stdout_fd = stdout_pipe[1]; in fork_exec()
605 if (stdin_fd == -1 && stdout_fd == -1 && stderr_fd == -1 && in fork_exec()
689 if (stdout_fd != -1) in fork_exec()
691 _g_sprintf (args[ARG_STDOUT], "%d", stdout_fd); in fork_exec()
1217 gint stdout_fd, in g_spawn_async_with_fds() argument
1243 stdout_fd, in g_spawn_async_with_fds()
1258 gint stdout_fd, in g_spawn_async_with_pipes_and_fds() argument
1279 g_return_val_if_fail (stdout_pipe_out == NULL || stdout_fd < 0, FALSE); in g_spawn_async_with_pipes_and_fds()
[all …]
Dgspawn.h224 gint stdout_fd,
245 gint stdout_fd,
Dgtestutils.c3361 int stdout_fd, gboolean echo_stdout, in wait_for_child() argument
3382 data.stdout_io = g_io_channel_unix_new (stdout_fd); in wait_for_child()
3621 int stdout_fd, stderr_fd; in g_test_trap_subprocess() local
3669 &pid, NULL, &stdout_fd, &stderr_fd, in g_test_trap_subprocess()
3678 stdout_fd, !!(test_flags & G_TEST_SUBPROCESS_INHERIT_STDOUT), in g_test_trap_subprocess()
/third_party/ltp/lib/tests/
Dtrerrno.c43 int fd, stdout_fd; in main() local
50 stdout_fd = dup(fileno(stdout)); in main()
63 TEST(dup2(stdout_fd, fileno(stdout))); in main()
/third_party/flutter/skia/third_party/externals/wuffs/example/zcat/
Dzcat.c132 const int stdout_fd = 1; in decode() local
133 ignore_return_value(write(stdout_fd, dst_buffer, dst.meta.wi)); in decode()
/third_party/libuv/test/
Drunner-unix.c83 int stdout_fd; in process_start() local
112 stdout_fd = fileno(stdout_file); in process_start()
/third_party/python/Lib/test/
Dtest_embed.py1518 stdout_fd = self.STDOUT_FD
1519 stdout_fd_copy = os.dup(stdout_fd)
1528 os.dup2(wfd, stdout_fd)
1530 printer = self.create_printer(stdout_fd)
1533 os.dup2(stdout_fd_copy, stdout_fd)
Dtest_curses.py67 stdout_fd = sys.__stdout__.fileno()
68 curses.setupterm(fd=stdout_fd)
73 stdout_fd = sys.__stdout__.fileno()
80 dup_fd = os.dup(stdout_fd)
82 self.addCleanup(os.dup2, dup_fd, stdout_fd)
101 os.dup2(tmp.fileno(), stdout_fd)
/third_party/mbedtls/tests/suites/
Dhost_test.function526 int stdout_fd = -1;
696 stdout_fd = redirect_output( stdout, "/dev/null" );
697 if( stdout_fd == -1 )
716 if( !option_verbose && restore_output( stdout, stdout_fd ) )
/third_party/flutter/skia/third_party/externals/wuffs/example/gifplayer/
Dgifplayer.c134 const int stdout_fd = 1; variable