Home
last modified time | relevance | path

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

/external/ltp/pan/
Dltp-pan.c913 int errpipe[2]; /* way to communicate to parent that the tag */ in run_child() local
944 if (pipe(errpipe) < 0) { in run_child()
970 close(errpipe[0]); in run_child()
971 close(errpipe[1]); in run_child()
977 close(errpipe[0]); in run_child()
978 fcntl(errpipe[1], F_SETFD, 1); /* close the pipe if we succeed */ in run_child()
1000 WRITE_OR_DIE(errpipe[1], &errlen, in run_child()
1002 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
1011 WRITE_OR_DIE(errpipe[1], &errlen, in run_child()
1013 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
[all …]
/external/igt-gpu-tools/runner/
Dexecutor.c916 int errpipe[2] = { -1, -1 }; in execute_next_entry() local
941 if (pipe(outpipe) || pipe(errpipe)) { in execute_next_entry()
983 errfd = errpipe[1]; in execute_next_entry()
985 close(errpipe[0]); in execute_next_entry()
996 errfd = errpipe[0]; in execute_next_entry()
998 close(errpipe[1]); in execute_next_entry()
999 outpipe[1] = errpipe[1] = -1; in execute_next_entry()
1010 close(errpipe[0]); in execute_next_entry()
1011 close(errpipe[1]); in execute_next_entry()
/external/igt-gpu-tools/lib/
Digt_core.c2545 int errpipe[2] = { -1, -1 }; in igt_system() local
2551 if (pipe(errpipe) < 0) in igt_system()
2563 close(errpipe[0]); in igt_system()
2567 if (dup2(errpipe[1], STDERR_FILENO) < 0) in igt_system()
2580 close(errpipe[1]); in igt_system()
2582 while (outpipe[0] >= 0 || errpipe[0] >= 0) { in igt_system()
2584 log_output(&errpipe[0], IGT_LOG_WARN); in igt_system()
2593 close(errpipe[0]); in igt_system()
2594 close(errpipe[1]); in igt_system()