Home
last modified time | relevance | path

Searched refs:LineEnd (Results 1 – 25 of 25) 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-10.0/llvm/lib/Support/
DSourceMgr.cpp189 const char *LineEnd = Loc.getPointer(); in GetMessage() local
191 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
192 ++LineEnd; in GetMessage()
193 LineStr = std::string(LineStart, LineEnd); in GetMessage()
202 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
208 if (R.End.getPointer() > LineEnd) in GetMessage()
209 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
276 const char *LineEnd = SourceLine.end(); in buildFixItLine() local
289 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
331 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h225 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
230 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
232 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
237 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
239 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
244 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeExpansion()
246 ColumnStart, LineEnd, ColumnEnd, in makeExpansion()
252 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped()
254 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped()
259 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeGapRegion()
[all …]
/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/swiftshader/third_party/llvm-10.0/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DImportedFunctionsInliningStatistics.cpp72 bool LineEnd = true) { in getStatString() argument
80 if (LineEnd) in getStatString()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp714 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
715 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
716 *LineEnd != '\n') in checkAllRulesInBuffer()
717 ++LineEnd; in checkAllRulesInBuffer()
719 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
726 LineStart = LineEnd; in checkAllRulesInBuffer()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp209 assert(I->LineEnd >= I->LineStart); in write()
210 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
DCoverageMapping.cpp578 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCCodeView.cpp332 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
335 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
384 OS.EmitLabel(LineEnd); in emitLineTableForFunction()
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py3160 class LineEnd(_PositionToken): class
3165 super(LineEnd,self).__init__()
4752 lineEnd = LineEnd().setName("lineEnd")
5347 NL = OneOrMore(LineEnd().setWhitespaceChars("\t ").suppress())
5358 blockStatementExpr.ignore(_bslash + LineEnd())
5393 … ~Literal(",") + ~LineEnd() ) ) ).streamline().setName("commaItem")
5661 … _commasepitem = Combine(OneOrMore(~Literal(",") + ~LineEnd() + Word(printables, excludeChars=',')
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py3160 class LineEnd(_PositionToken): class
3165 super(LineEnd,self).__init__()
4752 lineEnd = LineEnd().setName("lineEnd")
5347 NL = OneOrMore(LineEnd().setWhitespaceChars("\t ").suppress())
5358 blockStatementExpr.ignore(_bslash + LineEnd())
5393 … ~Literal(",") + ~LineEnd() ) ) ).streamline().setName("commaItem")
5661 … _commasepitem = Combine(OneOrMore(~Literal(",") + ~LineEnd() + Word(printables, excludeChars=',')
/external/clang/lib/Basic/
DSourceManager.cpp1149 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1150 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()