Home
last modified time | relevance | path

Searched refs:stdout_str (Results 1 – 4 of 4) sorted by relevance

/third_party/glib/glib/tests/
Dspawn-singlethread.c345 char *stdout_str; in test_spawn_sync() local
348 g_spawn_sync (NULL, (char**)argv, NULL, 0, NULL, NULL, &stdout_str, NULL, &estatus, &error); in test_spawn_sync()
350 g_assert_cmpstr (joined_args_str, ==, stdout_str); in test_spawn_sync()
352 g_free (stdout_str); in test_spawn_sync()
366 char *stdout_str; in test_posix_spawn() local
377 …g_spawn_sync (NULL, (char**)argv->pdata, NULL, flags, NULL, NULL, &stdout_str, NULL, &estatus, &er… in test_posix_spawn()
379 g_assert_cmpstr (arg, ==, stdout_str); in test_posix_spawn()
381 g_free (stdout_str); in test_posix_spawn()
390 char *stdout_str; in test_spawn_script() local
397 …g_spawn_sync (NULL, (char**)argv->pdata, NULL, 0, NULL, NULL, &stdout_str, NULL, &estatus, &error); in test_spawn_script()
[all …]
Dspawn-multithreaded.c65 char *stdout_str; in test_spawn_sync_multithreaded_instance() local
75 …g_spawn_sync (NULL, (char**)argv->pdata, NULL, G_SPAWN_DEFAULT, NULL, NULL, &stdout_str, NULL, &es… in test_spawn_sync_multithreaded_instance()
77 g_assert_cmpstr (arg, ==, stdout_str); in test_spawn_sync_multithreaded_instance()
79 g_free (stdout_str); in test_spawn_sync_multithreaded_instance()
/third_party/glib/gio/tests/
Dgsubprocess.c715 char *stdout_str = NULL, *stderr_str = NULL; in on_communicate_complete() local
722 &stdout_str, &stderr_str, &data->error); in on_communicate_complete()
733 stdout_data = (guint8*)stdout_str; in on_communicate_complete()
734 stdout_len = strlen (stdout_str); in on_communicate_complete()
743 g_assert_null (stdout_str); in on_communicate_complete()
762 g_free (stdout_str); in on_communicate_complete()
948 char *stdout_str = NULL, *stderr_str = NULL; in on_communicate_cancelled_complete() local
953 &stdout_str, &stderr_str, &data->error); in on_communicate_cancelled_complete()
960 g_assert_null (stdout_str); in on_communicate_cancelled_complete()
1238 gchar *stdout_str = NULL, *stderr_str = NULL; in test_communicate_utf8_invalid() local
[all …]
/third_party/glib/glib/
Dgtestutils.c3265 GString *stdout_str; member
3332 g_string_append_len (data->stdout_str, buf, nread); in child_read()
3381 data.stdout_str = g_string_new (NULL); in wait_for_child()
3417 test_trap_last_stdout = g_string_free (data.stdout_str, FALSE); in wait_for_child()