/external/llvm-project/clang-tools-extra/clangd/ |
D | JSONTransport.cpp | 228 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/ |
D | SourceCoverageView.h | 151 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,
|
D | SourceCoverageViewText.h | 52 void renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS, 55 void renderExpansionSite(raw_ostream &OS, LineRef L,
|
D | SourceCoverageViewHTML.h | 61 void renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS, 64 void renderExpansionSite(raw_ostream &OS, LineRef L,
|
D | SourceCoverageViewText.cpp | 95 void SourceCoverageViewText::renderLine(raw_ostream &OS, LineRef L, in renderLine() 205 void SourceCoverageViewText::renderExpansionSite(raw_ostream &OS, LineRef L, in renderExpansionSite()
|
D | SourceCoverageViewHTML.cpp | 491 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/ |
D | SourceCoverageView.h | 176 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,
|
D | SourceCoverageViewText.h | 49 void renderLine(raw_ostream &OS, LineRef L, 54 void renderExpansionSite(raw_ostream &OS, LineRef L,
|
D | SourceCoverageViewHTML.h | 49 void renderLine(raw_ostream &OS, LineRef L, 54 void renderExpansionSite(raw_ostream &OS, LineRef L,
|
D | SourceCoverageViewText.cpp | 91 raw_ostream &OS, LineRef L, in renderLine() 189 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderExpansionSite()
|
D | SourceCoverageViewHTML.cpp | 287 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/ |
D | CrossTranslationUnit.cpp | 159 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()
|