Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dshell_service.cpp223 unique_fd child_stdinout_sfd, child_stderr_sfd; in ForkAndExec() local
292 if (!CreateSocketpair(&stdinout_sfd_, &child_stdinout_sfd)) { in ForkAndExec()
317 child_stdinout_sfd.reset(OpenPtyChildFd(pts_name, &child_error_sfd)); in ForkAndExec()
320 dup2(child_stdinout_sfd, STDIN_FILENO); in ForkAndExec()
321 dup2(child_stdinout_sfd, STDOUT_FILENO); in ForkAndExec()
322 dup2(child_stderr_sfd != -1 ? child_stderr_sfd : child_stdinout_sfd, STDERR_FILENO); in ForkAndExec()
327 child_stdinout_sfd.reset(-1); in ForkAndExec()
398 unique_fd child_stdinout_sfd, child_stderr_sfd; in ExecInProcess() local
404 if (!CreateSocketpair(&stdinout_sfd_, &child_stdinout_sfd)) { in ExecInProcess()
418 child_stderr_sfd.reset(dup(child_stdinout_sfd)); in ExecInProcess()
[all …]