Home
last modified time | relevance | path

Searched refs:child_stderr_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
299 !CreateSocketpair(&stderr_sfd_, &child_stderr_sfd)) { in ForkAndExec()
322 dup2(child_stderr_sfd != -1 ? child_stderr_sfd : child_stdinout_sfd, STDERR_FILENO); in ForkAndExec()
328 child_stderr_sfd.reset(-1); in ForkAndExec()
398 unique_fd child_stdinout_sfd, child_stderr_sfd; in ExecInProcess() local
411 if (!CreateSocketpair(&stderr_sfd_, &child_stderr_sfd)) { in ExecInProcess()
418 child_stderr_sfd.reset(dup(child_stdinout_sfd)); in ExecInProcess()
428 std::thread([inout_sfd = std::move(child_stdinout_sfd), err_sfd = std::move(child_stderr_sfd), in ExecInProcess()