Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
H A D_fork_pty.py6 from pty import (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, CHILD)
35 os.dup2(child_fd, STDERR_FILENO)
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DPseudoTerminal.cpp170 if (::dup2(m_secondary_fd, STDERR_FILENO) != STDERR_FILENO) in Fork()
H A Ddebugserver.cpp1412 dup2(null, STDERR_FILENO); in main()
/llvm-project-15.0.7/lldb/source/Host/windows/
H A DProcessLauncherWindows.cpp73 HANDLE stderr_handle = GetStdioHandle(launch_info, STDERR_FILENO); in LaunchProcess()
167 if (fd == STDOUT_FILENO || fd == STDERR_FILENO) { in GetStdioHandle()
170 if (fd == STDERR_FILENO) in GetStdioHandle()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandOptionsProcessLaunch.cpp61 if (action.Open(STDERR_FILENO, FileSpec(option_arg), false, true)) in SetOptionValue()
78 if (action.Open(STDERR_FILENO, dev_null, false, true)) in SetOptionValue()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DProcessLaunchInfo.cpp64 if (file_action.Open(STDERR_FILENO, stderr_file_spec, read, write)) in ProcessLaunchInfo()
208 bool stderr_free = GetFileActionForFD(STDERR_FILENO) == nullptr; in SetUpPtyRedirection()
234 AppendOpenFileAction(STDERR_FILENO, secondary_file_spec, false, true); in SetUpPtyRedirection()
H A DPseudoTerminal.cpp171 for (int fd : {STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO}) { in Fork()
H A DHost.cpp465 launch_info.AppendDuplicateFileAction(STDOUT_FILENO, STDERR_FILENO); in RunShellCommand()
467 launch_info.AppendSuppressFileAction(STDERR_FILENO, false, true); in RunShellCommand()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dclosed-fds.cpp24 close(STDERR_FILENO); in main()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DProcessLaunchInfoTest.cpp24 Info.GetFileActionForFD(STDERR_FILENO)->GetFileSpec()); in TEST()
/llvm-project-15.0.7/lldb/include/lldb/Host/windows/
H A DPosixApi.h85 #define STDERR_FILENO 2 macro
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.device/
H A Dctor.pass.cpp98 ec = close(STDERR_FILENO); in main()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAutoConvert.cpp43 (FD == STDIN_FILENO || FD == STDOUT_FILENO || FD == STDERR_FILENO) in enableAutoConversion()
H A Draw_ostream.cpp53 #ifndef STDERR_FILENO
54 # define STDERR_FILENO 2 macro
634 if (FD <= STDERR_FILENO) in raw_fd_ostream()
895 static raw_fd_ostream S(STDERR_FILENO, false, true); in errs()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp477 int FdErr = STDERR_FILENO; in ExecuteCommand()
491 SpawnActions.push_back(clone_fd_action(FdErr, STDERR_FILENO)); in ExecuteCommand()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp460 internal_close(STDERR_FILENO); in StartSubprocess()
461 internal_dup2(stderr_fd, STDERR_FILENO); in StartSubprocess()
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dpty_spawn.py193 self.STDERR_FILENO = pty.STDERR_FILENO
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DProcess.inc205 const int StandardFDs[] = {STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO};
280 return FileDescriptorIsDisplayed(STDERR_FILENO);
400 return FileDescriptorHasColors(STDERR_FILENO);
/llvm-project-15.0.7/libcxx/test/support/
H A Dcheck_assertion.h166 DupFD(GetStdErrWriteFD(), STDERR_FILENO); in RunForChild()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp1138 launch_info.AppendCloseFileAction(STDERR_FILENO); in StartDebugserverProcess()
1143 launch_info.AppendSuppressFileAction(STDERR_FILENO, false, true); in StartDebugserverProcess()
/llvm-project-15.0.7/lldb/source/Target/
H A DTarget.cpp3305 info.GetFileActionForFD(STDERR_FILENO) == nullptr) { in FinalizeFileActions()
3320 info.AppendSuppressFileAction(STDERR_FILENO, false, true); in FinalizeFileActions()
3334 if (info.GetFileActionForFD(STDERR_FILENO) == nullptr) in FinalizeFileActions()
3352 info.AppendOpenFileAction(STDERR_FILENO, err_file_spec, false, true); in FinalizeFileActions()
4582 launch_info.GetFileActionForFD(STDERR_FILENO); in SetProcessLaunchInfo()
4635 m_launch_info.AppendOpenFileAction(STDERR_FILENO, GetStandardErrorPath(), in ErrorPathValueChangedCallback()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp341 case STDERR_FILENO: in LaunchProcess()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc97 const int kStdErrFileno = STDERR_FILENO;
H A Dgtest-death-test.cc1034 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/objcxx/
H A DPlatformiOSSimulatorCoreSimulatorSupport.mm511 STDERR_FILENO, stderr_file);

12