Searched refs:the_pipe (Results 1 - 3 of 3) sorted by relevance
/third_party/pulseaudio/src/daemon/ |
H A D | cpulimit.c | 71 static int the_pipe[2] = {-1, -1}; variable 138 (void) pa_write(the_pipe[1], &c, sizeof(c), NULL); in signal_handler() 164 pa_assert(fd == the_pipe[0]); in callback() 168 (void) pa_read(the_pipe[0], &c, sizeof(c), NULL); in callback() 179 pa_assert(the_pipe[0] == -1); in pa_cpu_limit_init() 180 pa_assert(the_pipe[1] == -1); in pa_cpu_limit_init() 186 if (pa_pipe_cloexec(the_pipe) < 0) { in pa_cpu_limit_init() 191 pa_make_fd_nonblock(the_pipe[0]); in pa_cpu_limit_init() 192 pa_make_fd_nonblock(the_pipe[1]); in pa_cpu_limit_init() 195 io_event = api->io_new(m, the_pipe[ in pa_cpu_limit_init() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 2-2.c | 53 static int the_pipe[2]; variable 73 close(the_pipe[0]); in sigterm_handler() 74 dup2(the_pipe[1], STDOUT); in sigterm_handler() 75 close(the_pipe[1]); in sigterm_handler() 131 if (pipe(the_pipe)) { in main() 156 close(the_pipe[1]); in main() 157 dup2(the_pipe[0], STDIN); in main() 158 close(the_pipe[0]); in main()
|
H A D | 2-1.c | 53 static int the_pipe[2]; variable 73 close(the_pipe[0]); in sigterm_handler() 74 dup2(the_pipe[1], STDOUT); in sigterm_handler() 75 close(the_pipe[1]); in sigterm_handler() 128 if (pipe(the_pipe)) { in main() 153 close(the_pipe[1]); in main() 154 dup2(the_pipe[0], STDIN); in main() 155 close(the_pipe[0]); in main()
|
Completed in 2 milliseconds