Home
last modified time | relevance | path

Searched refs:stdout_buf (Results 1 – 8 of 8) sorted by relevance

/third_party/glib/glib/tests/
Dspawn-multithreaded.c95 GString *stdout_buf; member
127 g_string_append_len (data->stdout_buf, buf, (gssize) bytes_read); in on_child_stdout()
133 g_string_append_len (data->stdout_buf, buf, (gssize) bytes_read); in on_child_stdout()
180 data.stdout_buf = g_string_new (0); in test_spawn_async_multithreaded_instance()
197 g_assert_cmpstr (data.stdout_buf->str, ==, arg); in test_spawn_async_multithreaded_instance()
198 g_string_free (data.stdout_buf, TRUE); in test_spawn_async_multithreaded_instance()
Dspawn-singlethread.c63 GString *stdout_buf; member
95 g_string_append_len (data->stdout_buf, buf, (gssize) bytes_read); in on_child_stdout()
143 data.stdout_buf = g_string_new (0); in test_spawn_async()
160 g_assert_cmpstr (data.stdout_buf->str, ==, arg); in test_spawn_async()
161 g_string_free (data.stdout_buf, TRUE); in test_spawn_async()
268 data.stdout_buf = g_string_new (0); in test_spawn_async_with_fds()
298 g_assert_cmpstr (data.stdout_buf->str, ==, arg); in test_spawn_async_with_fds()
301 g_string_free (data.stdout_buf, TRUE); in test_spawn_async_with_fds()
/third_party/glib/gio/
Dgsubprocess.c1285 GMemoryOutputStream *stdout_buf; member
1316 source == state->stdout_buf || in g_subprocess_communicate_made_progress()
1322 if (source == state->stdout_buf || in g_subprocess_communicate_made_progress()
1390 g_clear_object (&state->stdout_buf); in g_subprocess_communicate_state_free()
1462 state->stdout_buf = (GMemoryOutputStream*)g_memory_output_stream_new_resizable (); in g_subprocess_communicate_internal()
1463 g_output_stream_splice_async ((GOutputStream*)state->stdout_buf, subprocess->stdout_pipe, in g_subprocess_communicate_internal()
1547 GBytes **stdout_buf, in g_subprocess_communicate() argument
1563 success = g_subprocess_communicate_finish (subprocess, result, stdout_buf, stderr_buf, error); in g_subprocess_communicate()
1607 GBytes **stdout_buf, in g_subprocess_communicate_finish() argument
1625 if (stdout_buf) in g_subprocess_communicate_finish()
[all …]
Dgsubprocess.h127 GBytes **stdout_buf,
140 GBytes **stdout_buf,
148 char **stdout_buf,
161 char **stdout_buf,
/third_party/glib/gio/tests/
Dgsubprocess.c871 gchar *stdout_buf = NULL, *stderr_buf = NULL; in on_test_communicate_cancelled_idle() local
880 &stdout_buf, &stderr_buf, &data->error); in on_test_communicate_cancelled_idle()
889 g_assert_null (stdout_buf); in on_test_communicate_cancelled_idle()
1100 gchar *stdout_buf, *stderr_buf; in test_communicate_utf8() local
1113 g_subprocess_communicate_utf8 (proc, stdin_buf, cancellable, &stdout_buf, &stderr_buf, &error); in test_communicate_utf8()
1117 g_assert_cmpstr (stdout_buf, ==, "# hello world" LINEEND); in test_communicate_utf8()
1119 g_assert_null (stdout_buf); in test_communicate_utf8()
1124 g_free (stdout_buf); in test_communicate_utf8()
1175 gchar *stdout_buf; in test_communicate_nothing() local
1186 g_subprocess_communicate_utf8 (proc, "", cancellable, &stdout_buf, NULL, &error); in test_communicate_nothing()
[all …]
/third_party/toybox/toys/pending/
Dvi.c1499 char stdout_buf[BUFSIZ]; in vi_main() local
1522 setbuf(stdout, stdout_buf); in vi_main()
/third_party/toybox/porting/liteos_a/toys/posix/
Dps.c1328 char stdout_buf[BUFSIZ]; in top_common() local
1334 setbuf(stdout, stdout_buf); in top_common()
/third_party/toybox/toys/posix/
Dps.c1471 char stdout_buf[BUFSIZ]; in top_common() local
1477 setbuf(stdout, stdout_buf); in top_common()