Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DStreamFile.cpp18 StreamFile::StreamFile(uint32_t flags, uint32_t addr_size, ByteOrder byte_order) in StreamFile() function in StreamFile
23 StreamFile::StreamFile(int fd, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile
28 StreamFile::StreamFile(FILE *fh, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile
32 StreamFile::StreamFile(const char *path, File::OpenOptions options, in StreamFile() function in StreamFile
46 StreamFile::~StreamFile() = default;
48 void StreamFile::Flush() { m_file_sp->Flush(); } in Flush()
50 size_t StreamFile::WriteImpl(const void *s, size_t length) { in WriteImpl()
H A DEmulateInstruction.cpp310 StreamFile strm(stdout, false); in ReadMemoryDefault()
325 StreamFile strm(stdout, false); in WriteMemoryDefault()
338 StreamFile strm(stdout, false); in ReadRegisterDefault()
355 StreamFile strm(stdout, false); in WriteRegisterDefault()
H A DDebugger.cpp685 m_output_stream_sp(std::make_shared<StreamFile>(stdout, false)), in Debugger()
686 m_error_stream_sp(std::make_shared<StreamFile>(stderr, false)), in Debugger()
824 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); in SetOutputFile()
829 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in SetErrorFile()
940 lldb_private::StreamFile &stream = in PrintAsync()
993 out = std::make_shared<StreamFile>(stdout, false); in AdoptTopIOHandlerFilesIfInvalid()
1003 err = std::make_shared<StreamFile>(stderr, false); in AdoptTopIOHandlerFilesIfInvalid()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
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;
H A DDebugger.h173 StreamFile &GetOutputStream() { return *m_output_stream_sp; } in GetOutputStream()
175 StreamFile &GetErrorStream() { return *m_error_stream_sp; } in GetErrorStream()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBStream.cpp107 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()
165 m_opaque_up = std::make_unique<StreamFile>(fd, transfer_fh_ownership); in RedirectToFileDescriptor()
H A DSBInstructionList.cpp125 StreamFile stream(out, false); in Print()
133 StreamFile stream(out.m_opaque_sp); in Print()
141 StreamFile stream(out_sp); in Print()
H A DSBInstruction.cpp284 StreamFile out_stream(out_sp); in Print()
H A DSBDebugger.cpp451 StreamFile &stream_file = m_opaque_sp->GetOutputStream(); in GetOutputFileHandle()
470 StreamFile &stream_file = m_opaque_sp->GetErrorStream(); in GetErrorFileHandle()
H A DSBProcess.cpp338 StreamFile stream(out); in ReportEventState()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h68 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputFile()
75 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile()
/freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp160 m_output_file_sp(std::make_shared<StreamFile>(std::move(output))), in ScriptInterpreterIORedirect()
194 m_output_file_sp = std::make_shared<StreamFile>(outfile_handle, true); in ScriptInterpreterIORedirect()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h197 class StreamFile; variable
416 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP;
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DStackFrameList.cpp454 StreamFile s(stdout, false); in GetFramesUpTo()
H A DTarget.cpp1024 StreamFile out_file(path.c_str(), in SerializeBreakpointsToFile()
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectSettings.cpp378 StreamFile out_file(path.c_str(), options, in DoExecute()
H A DCommandObjectMemory.cpp766 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DDynamicRegisterInfo.cpp754 StreamFile s(stdout, false); in Dump()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp869 StreamFile &s = process_sp->GetTarget().GetDebugger().GetOutputStream(); in NotifyBreakpointHit()
/freebsd-13.1/lib/clang/liblldb/
H A DMakefile179 SRCS+= Core/StreamFile.cpp
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp4592 std::make_unique<StreamFile>(std::move(file.get())); in DoExecute()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp114 StreamFile stream(std::move(file.get())); in DumpProcessGDBRemotePacketHistory()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9040 StreamFile s(stdout, false); in DumpTypeDescription()