Home
last modified time | relevance | path

Searched refs:LineRef (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DJSONTransport.cpp228 llvm::StringRef LineRef(Line); in readStandardMessage() local
233 if (LineRef.startswith("#")) in readStandardMessage()
237 if (LineRef.consume_front("Content-Length: ")) { in readStandardMessage()
243 llvm::getAsUnsignedInteger(LineRef.trim(), 0, ContentLength); in readStandardMessage()
245 } else if (!LineRef.trim().empty()) { in readStandardMessage()
296 auto LineRef = llvm::StringRef(Line).trim(); in readDelimitedMessage() local
297 if (LineRef.startswith("#")) // comment in readDelimitedMessage()
301 if (LineRef.rtrim() == "---") in readDelimitedMessage()
/external/llvm-project/llvm/tools/llvm-cov/
DSourceCoverageView.h151 struct LineRef { struct
155 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef() argument
182 virtual void renderLine(raw_ostream &OS, LineRef L,
199 virtual void renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewText.h52 void renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS,
55 void renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewHTML.h61 void renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS,
64 void renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewText.cpp95 void SourceCoverageViewText::renderLine(raw_ostream &OS, LineRef L, in renderLine()
205 void SourceCoverageViewText::renderExpansionSite(raw_ostream &OS, LineRef L, in renderExpansionSite()
DSourceCoverageViewHTML.cpp491 void SourceCoverageViewHTML::renderLine(raw_ostream &OS, LineRef L, in renderLine()
636 void SourceCoverageViewHTML::renderExpansionSite(raw_ostream &OS, LineRef L, in renderExpansionSite()
/external/llvm/tools/llvm-cov/
DSourceCoverageView.h176 struct LineRef { struct
180 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef() argument
207 virtual void renderLine(raw_ostream &OS, LineRef L,
226 renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewText.h49 void renderLine(raw_ostream &OS, LineRef L,
54 void renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewHTML.h49 void renderLine(raw_ostream &OS, LineRef L,
54 void renderExpansionSite(raw_ostream &OS, LineRef L,
DSourceCoverageViewText.cpp91 raw_ostream &OS, LineRef L, in renderLine()
189 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderExpansionSite()
DSourceCoverageViewHTML.cpp287 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderLine()
415 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderExpansionSite()
/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp159 StringRef LineRef{Line}; in parseCrossTUIndex() local
160 const size_t Delimiter = LineRef.find(" "); in parseCrossTUIndex()
162 StringRef LookupName = LineRef.substr(0, Delimiter); in parseCrossTUIndex()
165 SmallString<32> FilePath(LineRef.substr(Delimiter + 1)); in parseCrossTUIndex()