Home
last modified time | relevance | path

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

/freebsd/contrib/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()
/freebsd/contrib/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;
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBInstructionList.cpp116 StreamFile stream(out, false); in Print()
124 StreamFile stream(out.m_opaque_sp); in Print()
132 StreamFile stream(out_sp); in Print()
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 DSBInstruction.cpp295 StreamFile out_stream(out_sp); in Print()
H A DSBDebugger.cpp508 StreamFile &stream_file = m_opaque_sp->GetOutputStream(); in GetOutputFileHandle()
527 StreamFile &stream_file = m_opaque_sp->GetErrorStream(); in GetErrorFileHandle()
H A DSBProcess.cpp321 StreamFile stream(out); in ReportEventState()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h69 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputFile()
76 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile()
/freebsd/contrib/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.cpp834 m_output_stream_sp(std::make_shared<StreamFile>(stdout, false)), in Debugger()
835 m_error_stream_sp(std::make_shared<StreamFile>(stderr, false)), in Debugger()
1035 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); in SetOutputFile()
1040 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in SetErrorFile()
1207 out = std::make_shared<StreamFile>(stdout, false); in AdoptTopIOHandlerFilesIfInvalid()
1217 err = std::make_shared<StreamFile>(stderr, false); in AdoptTopIOHandlerFilesIfInvalid()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp187 m_output_file_sp(std::make_shared<StreamFile>(std::move(output))), in ScriptInterpreterIORedirect()
221 m_output_file_sp = std::make_shared<StreamFile>(outfile_handle, true); in ScriptInterpreterIORedirect()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDebugger.h153 StreamFile &GetOutputStream() { return *m_output_stream_sp; } in GetOutputStream()
155 StreamFile &GetErrorStream() { return *m_error_stream_sp; } in GetErrorStream()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h209 class StreamFile; variable
420 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrameList.cpp460 StreamFile s(stdout, false); in GetFramesUpTo()
H A DDynamicRegisterInfo.cpp752 StreamFile s(stdout, false); in Dump()
H A DTarget.cpp1097 StreamFile out_file(path.c_str(), in SerializeBreakpointsToFile()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectSettings.cpp377 StreamFile out_file(path.c_str(), options, in DoExecute()
H A DCommandObjectThread.cpp2260 std::optional<StreamFile> out_file; in DoExecute()
2456 std::optional<StreamFile> out_file; in DoExecute()
H A DCommandObjectMemory.cpp769 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp868 StreamFile &s = process_sp->GetTarget().GetDebugger().GetOutputStream(); in NotifyBreakpointHit()
/freebsd/lib/clang/liblldb/
H A DMakefile265 SRCS+= Host/common/StreamFile.cpp
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp115 StreamFile stream(std::move(file.get())); in DumpProcessGDBRemotePacketHistory()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8675 StreamFile s(stdout, false); in DumpTypeDescription()