Home
last modified time | relevance | path

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

/llvm-project/lldb/source/Host/common/
H A DStreamFile.cpp19 StreamFile::StreamFile(uint32_t flags, uint32_t addr_size, ByteOrder byte_order) in StreamFile() function in StreamFile
24 StreamFile::StreamFile(int fd, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile
29 StreamFile::StreamFile(FILE *fh, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile
33 StreamFile::StreamFile(const char *path, File::OpenOptions options, in StreamFile() function in StreamFile
47 StreamFile::~StreamFile() = default;
49 void StreamFile::Flush() { m_file_sp->Flush(); } in Flush()
51 size_t StreamFile::WriteImpl(const void *s, size_t length) { in WriteImpl()
/llvm-project/lldb/include/lldb/Host/
H A DStreamFile.h22 class StreamFile : public Stream {
24 StreamFile(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order);
26 StreamFile(int fd, bool transfer_ownership);
28 StreamFile(const char *path, File::OpenOptions options,
31 StreamFile(FILE *fh, bool transfer_ownership);
33 StreamFile(std::shared_ptr<File> file) : m_file_sp(file) { assert(file); }; in StreamFile() function
35 ~StreamFile() override;
51 StreamFile(const StreamFile &) = delete;
52 const StreamFile &operator=(const StreamFile &) = delete;
/llvm-project/lldb/source/API/
H A DSBStream.cpp108 m_opaque_up = std::make_unique<StreamFile>(std::move(file.get())); in RedirectToFile()
143 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile()
164 m_opaque_up = std::make_unique<StreamFile>(fd, transfer_fh_ownership); in RedirectToFileDescriptor()
H A DSBInstructionList.cpp16 #include "lldb/Host/StreamFile.h"
116 StreamFile stream(out, false); in Print()
124 StreamFile stream(out.m_opaque_sp); in Print()
132 StreamFile stream(out_sp); in Print()
H A DSBInstruction.cpp295 StreamFile out_stream(out_sp); in Print()
H A DSBDebugger.cpp45 #include "lldb/Host/StreamFile.h"
512 StreamFile &stream_file = m_opaque_sp->GetOutputStream(); in GetOutputFileHandle()
531 StreamFile &stream_file = m_opaque_sp->GetErrorStream(); in GetErrorFileHandle()
H A DSBProcess.cpp22 #include "lldb/Host/StreamFile.h"
325 StreamFile stream(out); in ReportEventState()
/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h12 #include "lldb/Host/StreamFile.h"
75 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile()
82 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputStream()
/llvm-project/lldb/source/Core/
H A DEmulateInstruction.cpp319 StreamFile strm(stdout, false); in ReadMemoryDefault()
334 StreamFile strm(stdout, false); in WriteMemoryDefault()
347 StreamFile strm(stdout, false); in ReadRegisterDefault()
364 StreamFile strm(stdout, false); in WriteRegisterDefault()
H A DDebugger.cpp25 #include "lldb/Host/StreamFile.h"
878 m_output_stream_sp(std::make_shared<StreamFile>(stdout, false)), in Debugger()
879 m_error_stream_sp(std::make_shared<StreamFile>(stderr, false)), in Debugger()
1087 m_output_stream_sp = std::make_shared<StreamFile>(file_sp);
1092 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in ClearIOHandlers()
1256 out = std::make_shared<StreamFile>(stdout, false); in PushIOHandler()
1266 err = std::make_shared<StreamFile>(stderr, false); in PopIOHandler()
/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp209 m_output_file_sp(std::make_shared<StreamFile>(std::move(output))), in ScriptInterpreterIORedirect()
243 m_output_file_sp = std::make_shared<StreamFile>(outfile_handle, true); in ScriptInterpreterIORedirect()
/llvm-project/lldb/include/lldb/Core/
H A DDebugger.h24 #include "lldb/Host/StreamFile.h"
146 StreamFile &GetOutputStream() { return *m_output_stream_sp; } in GetOutputStream()
148 StreamFile &GetErrorStream() { return *m_error_stream_sp; } in GetErrorStream()
/llvm-project/llvm/utils/gn/secondary/lldb/source/Host/
H A DBUILD.gn46 "common/StreamFile.cpp",
/llvm-project/lldb/source/Host/
H A DCMakeLists.txt40 common/StreamFile.cpp
/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h216 class StreamFile;
434 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP;
212 class StreamFile; global() variable
/llvm-project/lldb/source/Commands/
H A DCommandObjectSettings.cpp345 StreamFile out_file(path.c_str(), options, in DoExecute()
H A DCommandObjectThread.cpp2201 std::optional<StreamFile> out_file; in DoExecute()
2396 std::optional<StreamFile> out_file; in DoExecute()
H A DCommandObjectMemory.cpp769 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
/llvm-project/lldb/source/Target/
H A DStackFrameList.cpp14 #include "lldb/Host/StreamFile.h"
403 StreamFile s(stdout, false); in SynthesizeTailCallFrames()
H A DDynamicRegisterInfo.cpp11 #include "lldb/Host/StreamFile.h"
753 StreamFile s(stdout, false); in Dump()
H A DTarget.cpp35 #include "lldb/Host/StreamFile.h"
1186 StreamFile out_file(path.c_str(), in CreateBreakpointsFromFile()
/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp18 #include "lldb/Host/StreamFile.h"
867 StreamFile &s = process_sp->GetTarget().GetDebugger().GetOutputStream(); in NotifyBreakpointHit()
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp40 #include "lldb/Host/StreamFile.h"
116 StreamFile stream(std::move(file.get())); in DumpProcessGDBRemotePacketHistory()
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp62 #include "lldb/Host/StreamFile.h"
8867 StreamFile s(stdout, false); in DumpTypeDescription()