Home
last modified time | relevance | path

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

/packages/modules/adb/daemon/
Dshell_service.cpp236 unique_fd child_stdinout_sfd, child_stderr_sfd; in ForkAndExec() local
324 !CreateSocketpair(&stderr_sfd_, &child_stderr_sfd)) { in ForkAndExec()
347 dup2(child_stderr_sfd != -1 ? child_stderr_sfd.get() : child_stdinout_sfd.get(), in ForkAndExec()
354 child_stderr_sfd.reset(-1); in ForkAndExec()
424 unique_fd child_stdinout_sfd, child_stderr_sfd; in ExecInProcess() local
437 if (!CreateSocketpair(&stderr_sfd_, &child_stderr_sfd)) { in ExecInProcess()
444 child_stderr_sfd.reset(dup(child_stdinout_sfd.get())); in ExecInProcess()
454 std::thread([inout_sfd = std::move(child_stdinout_sfd), err_sfd = std::move(child_stderr_sfd), in ExecInProcess()