Home
last modified time | relevance | path

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

/external/v8/src/
Dd8-posix.cc261 int* stdout_fds, in ExecSubprocess() argument
264 close(stdout_fds[kReadFD]); // Don't need this in the child. in ExecSubprocess()
266 dup2(stdout_fds[kWriteFD], 1); // Dup pipe fd to stdout. in ExecSubprocess()
267 close(stdout_fds[kWriteFD]); // Don't need the original fd now. in ExecSubprocess()
497 int stdout_fds[2]; in System() local
505 if (pipe(stdout_fds) != 0) { in System()
514 ExecSubprocess(exec_error_fds, stdout_fds, exec_args); in System()
521 close(stdout_fds[kWriteFD]); in System()
523 OpenFDCloser stdout_read_closer(stdout_fds[kReadFD]); in System()
528 Local<Value> accumulator = GetStdout(isolate, stdout_fds[kReadFD], start_time, in System()
/external/minijail/
Dlibminijail.c2598 int stdout_fds[2]; in minijail_run_internal() local
2662 if (pipe(stdout_fds)) in minijail_run_internal()
2811 setup_pipe_end(stdout_fds, 0 /* read end */); in minijail_run_internal()
2873 inheritable_fds[size++] = stdout_fds[0]; in minijail_run_internal()
2874 inheritable_fds[size++] = stdout_fds[1]; in minijail_run_internal()
2916 if (setup_and_dupe_pipe_end(stdout_fds, 1 /* write end */, in minijail_run_internal()