Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsactl/
Dinit_utils_run.c36 int outpipe[2] = {-1, -1}; in run_program0() local
73 if (pipe(outpipe) != 0) { in run_program0()
96 if (outpipe[READ_END] > 0) in run_program0()
97 close(outpipe[READ_END]); in run_program0()
105 if (outpipe[WRITE_END] < 0) in run_program0()
112 if (outpipe[WRITE_END] > 0) { in run_program0()
113 dup2(outpipe[WRITE_END], STDOUT_FILENO); in run_program0()
114 close(outpipe[WRITE_END]); in run_program0()
130 if (outpipe[READ_END] > 0 || errpipe[READ_END] > 0) { in run_program0()
135 if (outpipe[WRITE_END] > 0) in run_program0()
[all …]
/third_party/eudev/src/udev/
Dudev-event.c712 int outpipe[2] = {-1, -1}; in udev_event_spawn() local
725 if (pipe2(outpipe, O_NONBLOCK) != 0) { in udev_event_spawn()
755 if (outpipe[READ_END] >= 0) { in udev_event_spawn()
756 close(outpipe[READ_END]); in udev_event_spawn()
757 outpipe[READ_END] = -1; in udev_event_spawn()
767 outpipe[WRITE_END], errpipe[WRITE_END]); in udev_event_spawn()
776 if (outpipe[WRITE_END] >= 0) { in udev_event_spawn()
777 close(outpipe[WRITE_END]); in udev_event_spawn()
778 outpipe[WRITE_END] = -1; in udev_event_spawn()
788 outpipe[READ_END], errpipe[READ_END], in udev_event_spawn()
[all …]
/third_party/glib/glib/
Dgspawn-win32.c933 gint outpipe = -1; in g_spawn_sync() local
975 standard_output ? &outpipe : NULL, in g_spawn_sync()
988 if (outpipe >= 0) in g_spawn_sync()
991 outchannel = g_io_channel_win32_new_fd (outpipe); in g_spawn_sync()
1015 while (!failed && (outpipe >= 0 || errpipe >= 0)) in g_spawn_sync()
1018 if (outpipe >= 0) in g_spawn_sync()
1047 if (outpipe >= 0 && (fds[outindex].revents & G_IO_IN)) in g_spawn_sync()
1061 close_and_invalidate (&outpipe); in g_spawn_sync()
1141 if (outpipe >= 0) in g_spawn_sync()
1142 close_and_invalidate (&outpipe); in g_spawn_sync()
Dgspawn.c375 gint outpipe = -1; in g_spawn_sync() local
416 standard_output ? &outpipe : NULL, in g_spawn_sync()
427 if (outpipe >= 0) in g_spawn_sync()
439 (outpipe >= 0 || in g_spawn_sync()
447 { outpipe, G_IO_IN | G_IO_HUP | G_IO_ERR, 0 }, in g_spawn_sync()
471 if (outpipe >= 0 && fds[0].revents != 0) in g_spawn_sync()
473 switch (read_data (outstr, outpipe, error)) in g_spawn_sync()
479 close_and_invalidate (&outpipe); in g_spawn_sync()
480 outpipe = -1; in g_spawn_sync()
512 if (outpipe >= 0) in g_spawn_sync()
[all …]
/third_party/node/deps/npm/node_modules/psl/
Dyarn.lock3178 outpipe@^1.1.0:
3180 …resolved "https://registry.yarnpkg.com/outpipe/-/outpipe-1.1.1.tgz#50cf8616365e87e031e29a5ec9339a3…
4454 outpipe "^1.1.0"