Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-cov/
DCoverageSummaryInfo.cpp39 unsigned LineEnd = 0; in get() local
44 LineEnd = std::max(LineEnd, CR.LineEnd); in get()
46 unsigned LineCount = LineEnd - LineStart + 1; in get()
57 LineCount -= CR.LineEnd - CR.LineStart + 1; in get()
60 for (unsigned I = CR.LineStart; I <= CR.LineEnd; ++I) in get()
DCodeCoverage.cpp190 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
/external/llvm/lib/Support/
DSourceMgr.cpp162 const char *LineEnd = Loc.getPointer(); in GetMessage() local
164 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
165 ++LineEnd; in GetMessage()
166 LineStr = std::string(LineStart, LineEnd); in GetMessage()
175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
181 if (R.End.getPointer() > LineEnd) in GetMessage()
182 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
249 const char *LineEnd = SourceLine.end(); in buildFixItLine() local
262 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
304 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/external/llvm/include/llvm/ProfileData/
DCoverageMapping.h165 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
170 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
172 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
177 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
179 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
184 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeExpansion()
186 ColumnStart, LineEnd, ColumnEnd, in makeExpansion()
192 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped()
194 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped()
203 return std::pair<unsigned, unsigned>(LineEnd, ColumnEnd); in endLoc()
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIALineNumber.cpp23 DWORD LineEnd = 0; in getLineNumberEnd() local
24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp213 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions()
228 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in gatherSkippedRegions() local
231 *CovFileID, LineStart, ColumnStart, LineEnd, ColumnEnd); in gatherSkippedRegions()
235 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
261 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitSourceRegions() local
264 assert(LineStart <= LineEnd && "region start and end out of order"); in emitSourceRegions()
266 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions()
291 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitExpansionRegions() local
295 *ParentFileID, *ExpandedFileID, LineStart, ColumnStart, LineEnd, in emitExpansionRegions()
904 << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = "; in dump()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp375 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
377 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
378 ++LineEnd; in HandlePiece()
546 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/external/llvm/lib/ProfileData/
DCoverageMappingWriter.cpp176 assert(I->LineEnd >= I->LineStart); in write()
177 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
DCoverageMapping.cpp311 unsigned Line = Active->LineEnd, Col = Active->ColumnEnd; in popRegion()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp710 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
711 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
712 *LineEnd != '\n') in checkAllRulesInBuffer()
713 ++LineEnd; in checkAllRulesInBuffer()
715 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
722 LineStart = LineEnd; in checkAllRulesInBuffer()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp1103 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local
1104 while (*LineEnd != '\n' && *LineEnd != '\r' && *LineEnd != '\0') in emitSnippetAndCaret()
1105 ++LineEnd; in emitSnippetAndCaret()
1108 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1112 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()
/external/clang/lib/Basic/
DSourceManager.cpp1149 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1150 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()