Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lldb/source/Core/
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()
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 DCMakeLists.txt56 StreamFile.cpp
H A DDebugger.cpp763 m_output_stream_sp(std::make_shared<StreamFile>(stdout, false)), in Debugger()
764 m_error_stream_sp(std::make_shared<StreamFile>(stderr, false)), in Debugger()
953 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); in SetOutputFile()
958 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in SetErrorFile()
1125 out = std::make_shared<StreamFile>(stdout, false); in AdoptTopIOHandlerFilesIfInvalid()
1135 err = std::make_shared<StreamFile>(stderr, false); in AdoptTopIOHandlerFilesIfInvalid()
/openbsd-src/gnu/llvm/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.h148 StreamFile &GetOutputStream() { return *m_output_stream_sp; } in GetOutputStream()
150 StreamFile &GetErrorStream() { return *m_error_stream_sp; } in GetErrorStream()
/openbsd-src/gnu/llvm/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.cpp107 m_opaque_up = std::make_unique<StreamFile>(std::move(file.get())); in RedirectToFile()
142 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile()
163 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.cpp497 StreamFile &stream_file = m_opaque_sp->GetOutputStream(); in GetOutputFileHandle()
516 StreamFile &stream_file = m_opaque_sp->GetErrorStream(); in GetErrorFileHandle()
H A DSBProcess.cpp320 StreamFile stream(out); in ReportEventState()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DScriptInterpreter.cpp175 m_output_file_sp(std::make_shared<StreamFile>(std::move(output))), in ScriptInterpreterIORedirect()
209 m_output_file_sp = std::make_shared<StreamFile>(outfile_handle, true); in ScriptInterpreterIORedirect()
/openbsd-src/gnu/usr.bin/clang/liblldbCore/
H A DMakefile42 StreamFile.cpp \
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Core/
H A DBUILD.gn79 "StreamFile.cpp",
/openbsd-src/gnu/llvm/lldb/include/lldb/
H A Dlldb-forward.h206 class StreamFile; variable
404 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP;
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DStackFrameList.cpp455 StreamFile s(stdout, false); in GetFramesUpTo()
H A DDynamicRegisterInfo.cpp738 StreamFile s(stdout, false); in Dump()
H A DTarget.cpp1048 StreamFile out_file(path.c_str(), in SerializeBreakpointsToFile()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectSettings.cpp381 StreamFile out_file(path.c_str(), options, in DoExecute()
H A DCommandObjectThread.cpp2201 std::optional<StreamFile> out_file; in DoExecute()
2398 std::optional<StreamFile> out_file; in DoExecute()
H A DCommandObjectMemory.cpp781 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
/openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp870 StreamFile &s = process_sp->GetTarget().GetDebugger().GetOutputStream(); in NotifyBreakpointHit()
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp4588 std::make_unique<StreamFile>(std::move(file.get())); in DoExecute()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp113 StreamFile stream(std::move(file.get())); in DumpProcessGDBRemotePacketHistory()

12