Home
last modified time | relevance | path

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

/external/bluetooth/glib/glib/
Dgtestutils.c1589 int stdtst_pipe[2] = { -1, -1 }; in g_test_trap_fork() local
1591 if (pipe (stdout_pipe) < 0 || pipe (stderr_pipe) < 0 || pipe (stdtst_pipe) < 0) in g_test_trap_fork()
1602 close (stdtst_pipe[0]); in g_test_trap_fork()
1613 test_log_fd = stdtst_pipe[1]; in g_test_trap_fork()
1625 close (stdtst_pipe[1]); in g_test_trap_fork()
1628 while (stdout_pipe[0] >= 0 || stderr_pipe[0] >= 0 || stdtst_pipe[0] > 0) in g_test_trap_fork()
1638 if (stdtst_pipe[0] >= 0) in g_test_trap_fork()
1639 FD_SET (stdtst_pipe[0], &fds); in g_test_trap_fork()
1642 …ret = select (MAX (MAX (stdout_pipe[0], stderr_pipe[0]), stdtst_pipe[0]) + 1, &fds, NULL, NULL, &t… in g_test_trap_fork()
1660 if (stdtst_pipe[0] >= 0 && FD_ISSET (stdtst_pipe[0], &fds)) in g_test_trap_fork()
[all …]