Home
last modified time | relevance | path

Searched refs:m_file_sp (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/lldb/source/Core/
DStreamFile.cpp20 m_file_sp = std::make_shared<File>(); in StreamFile()
24 m_file_sp = in StreamFile()
29 m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership); in StreamFile()
37 m_file_sp = std::move(file.get()); in StreamFile()
42 m_file_sp = std::make_shared<File>(); in StreamFile()
48 void StreamFile::Flush() { m_file_sp->Flush(); } in Flush()
51 m_file_sp->Write(s, length); in WriteImpl()
DIOHandlerCursesGUI.cpp3395 : WindowDelegate(), m_debugger(debugger), m_sc(), m_file_sp(), in SourceFileWindowDelegate()
3514 if (m_file_sp && m_file_sp->GetFileSpec() == m_sc.line_entry.file) { in WindowDelegateDraw()
3529 m_file_sp = in WindowDelegateDraw()
3531 if (m_file_sp) { in WindowDelegateDraw()
3532 const size_t num_lines = m_file_sp->GetNumLines(); in WindowDelegateDraw()
3545 m_file_sp.reset(); in WindowDelegateDraw()
3548 if (!m_file_sp || m_file_sp->GetNumLines() == 0) { in WindowDelegateDraw()
3620 if (m_file_sp->GetFileSpec() == bp_loc_line_entry.file) { in WindowDelegateDraw()
3669 m_file_sp->DisplaySourceLines(curr_line + 1, {}, 0, 0, &lineStream); in WindowDelegateDraw()
3873 if (m_file_sp) in GetNumSourceLines()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DStreamFile.h33 StreamFile(std::shared_ptr<File> file) : m_file_sp(file) { assert(file); }; in StreamFile()
37 File &GetFile() { return *m_file_sp; } in GetFile()
39 const File &GetFile() const { return *m_file_sp; } in GetFile()
41 std::shared_ptr<File> GetFileSP() { return m_file_sp; } in GetFileSP()
47 std::shared_ptr<File> m_file_sp; // never NULL