Home
last modified time | relevance | path

Searched refs:stderr_fd (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/include/
Dtst_cmd.h33 int stderr_fd,
52 int stderr_fd, in tst_cmd_fds() argument
56 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
71 int stderr_fd, in tst_cmd_fds() argument
75 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
/third_party/ltp/testcases/lib/
Dtst_rod.c21 int stderr_fd = 0; in main() local
110 int stderr_fd = dup(2); in main() local
112 if (stderr_fd < 0) { in main()
128 WRITE_STRING(stderr_fd, "Failed to dup2 stderr\n"); in main()
139 if (stderr_fd) { in main()
140 WRITE_STRING(stderr_fd, "Failed to popen /bin/sh\n"); in main()
/third_party/ltp/lib/
Dtst_cmd.c50 int stderr_fd, in tst_cmd_fds_() argument
94 if (stderr_fd != -1) { in tst_cmd_fds_()
96 dup2(stderr_fd, STDERR_FILENO); in tst_cmd_fds_()
137 int stderr_fd = -1; in tst_cmd_() local
151 stderr_fd = open(stderr_path, in tst_cmd_()
154 if (stderr_fd == -1) in tst_cmd_()
160 rc = tst_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, flags); in tst_cmd_()
167 if ((stderr_fd != -1) && (close(stderr_fd) == -1)) in tst_cmd_()
/third_party/glib/gio/
Dgsubprocesslauncher.c166 self->stderr_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
369 stderr_fd = self->stderr_fd; in g_subprocess_launcher_set_flags()
377 verify_disposition ("stderr", flags & ALL_STDERR_FLAGS, stderr_fd, stderr_path)) in g_subprocess_launcher_set_flags()
553 if (verify_disposition ("stderr", self->flags & ALL_STDERR_FLAGS, self->stderr_fd, path)) in g_subprocess_launcher_set_stderr_file_path()
589 assign_fd (&self->stderr_fd, fd); in g_subprocess_launcher_take_stderr_fd()
655 if (self->stderr_fd != -1) in g_subprocess_launcher_close()
656 close (self->stderr_fd); in g_subprocess_launcher_close()
657 self->stderr_fd = -1; in g_subprocess_launcher_close()
Dgsubprocess.c303 gint stdin_fd = -1, stdout_fd = -1, stderr_fd = -1; in initable_init() local
366 stderr_fd = 1; in initable_init()
369 if (self->launcher->stderr_fd != -1) in initable_init()
370 stderr_fd = self->launcher->stderr_fd; in initable_init()
373stderr_fd = close_fds[2] = unix_open_file (self->launcher->stderr_path, O_CREAT | O_WRONLY, error); in initable_init()
374 if (stderr_fd == -1) in initable_init()
402 stdin_fd, stdout_fd, stderr_fd, in initable_init()
Dgsubprocesslauncher-private.h42 gint stderr_fd; member
Dgdesktopappinfo.h187 gint stderr_fd,
Dgdesktopappinfo.c2746 gint stderr_fd, in g_desktop_app_info_launch_uris_with_spawn() argument
2860 stderr_fd, in g_desktop_app_info_launch_uris_with_spawn()
3039 gint stderr_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()
3304 gint stderr_fd, in g_desktop_app_info_launch_uris_as_manager_with_fds() argument
3317 stderr_fd, in g_desktop_app_info_launch_uris_as_manager_with_fds()
/third_party/glib/glib/
Dgspawn.c190 gint stderr_fd,
871 gint stderr_fd, in g_spawn_async_with_pipes_and_fds() argument
892 g_return_val_if_fail (stderr_pipe_out == NULL || stderr_fd < 0, FALSE); in g_spawn_async_with_pipes_and_fds()
914 stderr_fd, in g_spawn_async_with_pipes_and_fds()
952 gint stderr_fd, in g_spawn_async_with_fds() argument
958 g_return_val_if_fail (stderr_fd < 0 || in g_spawn_async_with_fds()
982 stderr_fd, in g_spawn_async_with_fds()
1559 gint stderr_fd, in do_exec() argument
1594 !((stderr_fd >= 0 || stderr_to_null) && stdin_fd == 2)) in do_exec()
1616 !((stderr_fd >= 0 || stderr_to_null) && stdout_fd == 2)) in do_exec()
[all …]
Dgspawn-win32.c548 gint stderr_fd, in fork_exec() argument
574 g_assert (stderr_pipe_out == NULL || stderr_fd < 0); in fork_exec()
600 stderr_fd = stderr_pipe[1]; in fork_exec()
605 if (stdin_fd == -1 && stdout_fd == -1 && stderr_fd == -1 && in fork_exec()
703 if (stderr_fd != -1) in fork_exec()
705 _g_sprintf (args[ARG_STDERR], "%d", stderr_fd); in fork_exec()
1218 gint stderr_fd, in g_spawn_async_with_fds() argument
1224 g_return_val_if_fail (stderr_fd == -1 || in g_spawn_async_with_fds()
1244 stderr_fd, in g_spawn_async_with_fds()
1259 gint stderr_fd, in g_spawn_async_with_pipes_and_fds() argument
[all …]
Dgspawn.h225 gint stderr_fd,
246 gint stderr_fd,
Dgtestutils.c3362 int stderr_fd, gboolean echo_stderr, in wait_for_child() argument
3393 data.stderr_io = g_io_channel_unix_new (stderr_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()
3679 stderr_fd, !!(test_flags & G_TEST_SUBPROCESS_INHERIT_STDERR), in g_test_trap_subprocess()
/third_party/python/Lib/test/libregrtest/
Dsetup.py22 stderr_fd = sys.__stderr__.fileno()
28 stderr_fd = None
31 faulthandler.enable(all_threads=True, file=stderr_fd)
40 faulthandler.register(signum, chain=True, file=stderr_fd)
/third_party/flutter/skia/third_party/externals/wuffs/example/zcat/
Dzcat.c155 const int stderr_fd = 2; in fail() local
156 ignore_return_value(write(stderr_fd, msg, strnlen(msg, 4095))); in fail()
157 ignore_return_value(write(stderr_fd, "\n", 1)); in fail()
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dbench-c-deflate-fragmentation.c343 const int stderr_fd = 2; in fail() local
344 write(stderr_fd, msg, strnlen(msg, 4095)); in fail()
345 write(stderr_fd, "\n", 1); in fail()