Home
last modified time | relevance | path

Searched refs:LineEnd (Results 1 – 17 of 17) 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.cpp240 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/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp162 const char *LineEnd = Loc.getPointer(); in GetMessage() local
163 while (LineEnd != CurMB->getBufferEnd() && in GetMessage()
164 LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
165 ++LineEnd; in GetMessage()
166 LineStr = std::string(LineStart, LineEnd); in GetMessage()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h207 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
212 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
214 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
219 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
221 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
226 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeExpansion()
228 ColumnStart, LineEnd, ColumnEnd, in makeExpansion()
234 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped()
236 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped()
245 return std::pair<unsigned, unsigned>(LineEnd, ColumnEnd); in endLoc()
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIALineNumber.cpp24 DWORD LineEnd = 0; in getLineNumberEnd() local
25 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
/external/llvm/tools/llvm-pdbdump/
DCompilandDumper.cpp69 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local
76 if (LineStart != LineEnd) in start()
77 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp222 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions()
237 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in gatherSkippedRegions() local
240 *CovFileID, LineStart, ColumnStart, LineEnd, ColumnEnd); in gatherSkippedRegions()
244 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
274 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitSourceRegions() local
277 assert(LineStart <= LineEnd && "region start and end out of order"); in emitSourceRegions()
279 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions()
304 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitExpansionRegions() local
308 *ParentFileID, *ExpandedFileID, LineStart, ColumnStart, LineEnd, in emitExpansionRegions()
952 << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = "; in dump()
/external/clang/lib/Format/
DSortJavaScriptImports.cpp204 FormatToken *LineEnd; member in clang::format::JavaScriptImportSorter
221 if (!Current || Current == LineEnd->Next) { in nextToken()
290 LineEnd = Line->Last; in parseModuleReferences()
306 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
/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/Coverage/
DCoverageMappingWriter.cpp176 assert(I->LineEnd >= I->LineStart); in write()
177 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
DCoverageMapping.cpp317 unsigned Line = Active->LineEnd, Col = Active->ColumnEnd; in popRegion()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp712 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
713 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
714 *LineEnd != '\n') in checkAllRulesInBuffer()
715 ++LineEnd; in checkAllRulesInBuffer()
717 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
724 LineStart = LineEnd; in checkAllRulesInBuffer()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp1114 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local
1115 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
1116 ++LineEnd; in emitSnippetAndCaret()
1119 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1123 StringRef Line(LineStart, LineEnd - LineStart); in emitSnippetAndCaret()
/external/llvm/lib/MC/
DMCCodeView.cpp154 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
157 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
203 OS.EmitLabel(LineEnd); in emitLineTableForFunction()
/external/syslinux/dosutil/
Deltorito.asm797 mov si, LineEnd ; CR/LF
/external/clang/lib/Basic/
DSourceManager.cpp1149 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1150 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()