/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.cpp | 38 unsigned LineStart = std::numeric_limits<unsigned>::max(); in get() local 43 LineStart = std::min(LineStart, CR.LineStart); 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() 61 ExecutionCounts[I - LineStart] = ExecutionCount; in get()
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 155 const char *LineStart = Loc.getPointer(); in GetMessage() local 157 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage() 158 LineStart[-1] != '\r') in GetMessage() 159 --LineStart; in GetMessage() 166 LineStr = std::string(LineStart, LineEnd); in GetMessage() 175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 179 if (R.Start.getPointer() < LineStart) in GetMessage() 180 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 186 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage() 187 R.End.getPointer()-LineStart)); in GetMessage() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 182 const char *LineStart = Loc.getPointer(); in GetMessage() local 184 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage() 185 LineStart[-1] != '\r') in GetMessage() 186 --LineStart; in GetMessage() 193 LineStr = std::string(LineStart, LineEnd); in GetMessage() 202 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 206 if (R.Start.getPointer() < LineStart) in GetMessage() 207 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 213 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage() 214 R.End.getPointer()-LineStart)); in GetMessage() [all …]
|
/external/llvm-project/lld/test/COFF/ |
D | pdb-source-lines.test | 51 CHECK-NEXT: LineStart: 2 55 CHECK-NEXT: LineStart: 3 59 CHECK-NEXT: LineStart: 4 63 CHECK-NEXT: LineStart: 5 76 CHECK-NEXT: LineStart: 2 80 CHECK-NEXT: LineStart: 3 84 CHECK-NEXT: LineStart: 4 111 CHECK-NEXT: LineStart: 1 115 CHECK-NEXT: LineStart: 2
|
/external/llvm-project/llvm/lib/Support/ |
D | SourceMgr.cpp | 280 const char *LineStart = Loc.getPointer(); in GetMessage() local 282 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage() 283 LineStart[-1] != '\r') in GetMessage() 284 --LineStart; in GetMessage() 291 LineStr = std::string(LineStart, LineEnd); in GetMessage() 301 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 305 if (R.Start.getPointer() < LineStart) in GetMessage() 306 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 312 ColRanges.push_back(std::make_pair(R.Start.getPointer() - LineStart, in GetMessage() 313 R.End.getPointer() - LineStart)); in GetMessage() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 225 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 229 unsigned LineStart, unsigned ColumnStart, in CounterMappingRegion() 232 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 236 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 238 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 243 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 245 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 251 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 253 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 258 makeGapRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeGapRegion() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 173 assert(I->LineStart >= PrevLineStart); in write() 174 encodeULEB128(I->LineStart - PrevLineStart, OS); in write() 176 assert(I->LineEnd >= I->LineStart); in write() 177 encodeULEB128(I->LineEnd - I->LineStart, OS); in write() 179 PrevLineStart = I->LineStart; in write()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 206 assert(I->LineStart >= PrevLineStart); in write() 207 encodeULEB128(I->LineStart - PrevLineStart, OS); in write() 209 assert(I->LineEnd >= I->LineStart); in write() 210 encodeULEB128(I->LineEnd - I->LineStart, OS); in write() 212 PrevLineStart = I->LineStart; in write()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 207 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 211 unsigned LineStart, unsigned ColumnStart, in CounterMappingRegion() 214 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 218 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 220 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 225 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 227 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 233 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 235 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 241 return std::pair<unsigned, unsigned>(LineStart, ColumnStart); in startLoc()
|
/external/llvm-project/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 230 assert(I->LineStart >= PrevLineStart); in write() 231 encodeULEB128(I->LineStart - PrevLineStart, OS); in write() 233 assert(I->LineEnd >= I->LineStart); in write() 234 encodeULEB128(I->LineEnd - I->LineStart, OS); in write() 236 PrevLineStart = I->LineStart; in write()
|
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 227 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 231 unsigned LineStart, unsigned ColumnStart, in CounterMappingRegion() 234 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 238 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 240 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 245 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 247 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 253 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 255 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 260 makeGapRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeGapRegion() [all …]
|
/external/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 333 StringRef LineStart; in tryMergeConflictMarkers() local 335 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 337 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers() 341 if (LineStart == "<<<<<<<" || LineStart == ">>>>") { in tryMergeConflictMarkers() 343 } else if (LineStart == "|||||||" || LineStart == "=======" || in tryMergeConflictMarkers() 344 LineStart == "====") { in tryMergeConflictMarkers() 346 } else if (LineStart == ">>>>>>>" || LineStart == "<<<<") { in tryMergeConflictMarkers()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 707 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() local 710 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 711 ++LineStart; in checkAllRulesInBuffer() 713 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 714 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 719 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 726 LineStart = LineEnd; in checkAllRulesInBuffer() 727 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 728 ++LineStart; in checkAllRulesInBuffer()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 709 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() local 712 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer() 713 ++LineStart; in checkAllRulesInBuffer() 715 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 716 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 721 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 737 LineStart = LineEnd; in checkAllRulesInBuffer() 738 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer() 739 ++LineStart; in checkAllRulesInBuffer()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 705 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() local 708 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 709 ++LineStart; in checkAllRulesInBuffer() 711 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 712 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 717 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 724 LineStart = LineEnd; in checkAllRulesInBuffer() 725 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 726 ++LineStart; in checkAllRulesInBuffer()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITEventListener.h | 37 struct LineStart { struct 50 std::vector<LineStart> LineStarts;
|
/external/llvm-project/llvm/test/DebugInfo/PDB/ |
D | pdbdump-debug-subsections.test | 49 YAML-NEXT: LineStart: 5 53 YAML-NEXT: LineStart: 6 57 YAML-NEXT: LineStart: 7
|
/external/llvm-project/llvm/tools/llvm-rc/ |
D | ResourceScriptCppFilter.cpp | 46 size_t LineStart = Pos; in run() local 49 StringRef Line = Data.take_front(Pos).drop_front(LineStart); in run()
|
/external/llvm/tools/llvm-pdbdump/ |
D | CompilandDumper.cpp | 68 uint32_t LineStart = Line->getLineNumber(); in start() local 75 WithColor(Printer, StatementColor).get() << LineStart; in start() 76 if (LineStart != LineEnd) in start()
|
/external/llvm-project/llvm/tools/llvm-pdbutil/ |
D | PrettyCompilandDumper.cpp | 77 uint32_t LineStart = Line->getLineNumber(); in start() local 84 WithColor(Printer, StatementColor).get() << LineStart; in start() 85 if (LineStart != LineEnd) in start()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 220 std::min(FileLineRanges[R.FileID].first, R.LineStart); in gatherSkippedRegions() 235 unsigned LineStart = SM.getSpellingLineNumber(LocStart); in gatherSkippedRegions() local 240 *CovFileID, LineStart, ColumnStart, LineEnd, ColumnEnd); in gatherSkippedRegions() 243 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions() 272 unsigned LineStart = SM.getSpellingLineNumber(LocStart); 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() 302 unsigned LineStart = SM.getSpellingLineNumber(ParentLoc); in emitExpansionRegions() local 308 *ParentFileID, *ExpandedFileID, LineStart, ColumnStart, LineEnd, in emitExpansionRegions() 951 OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart in dump()
|
/external/llvm-project/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 787 StringRef LineStart; in tryMergeConflictMarkers() local 789 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 791 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers() 795 if (LineStart == "<<<<<<<" || LineStart == ">>>>") { in tryMergeConflictMarkers() 797 } else if (LineStart == "|||||||" || LineStart == "=======" || in tryMergeConflictMarkers() 798 LineStart == "====") { in tryMergeConflictMarkers() 800 } else if (LineStart == ">>>>>>>" || LineStart == "<<<<") { in tryMergeConflictMarkers()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/span/ |
D | token112.go | 25 return f.LineStart(line)
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
D | token112.go | 25 return f.LineStart(line)
|
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/ |
D | token112.go | 25 return f.LineStart(line)
|