Home
last modified time | relevance | path

Searched refs:NumLines (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h70 size_t NumLines; variable
73 LineCoverageInfo() : Covered(0), NumLines(0) {} in LineCoverageInfo()
75 LineCoverageInfo(size_t Covered, size_t NumLines) in LineCoverageInfo() argument
76 : Covered(Covered), NumLines(NumLines) { in LineCoverageInfo()
77 assert(Covered <= NumLines && "Covered lines over-counted"); in LineCoverageInfo()
82 NumLines += RHS.NumLines;
88 NumLines = std::max(NumLines, RHS.NumLines); in merge()
93 size_t getNumLines() const { return NumLines; } in getNumLines()
95 bool isFullyCovered() const { return Covered == NumLines; } in isFullyCovered()
99 if (NumLines == 0) in getPercentCovered()
[all …]
H A DCoverageSummaryInfo.cpp34 size_t NumLines = 0, CoveredLines = 0; in get() local
39 ++NumLines; in get()
47 LineCoverageInfo(CoveredLines, NumLines)); in get()
/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Dworking_set.cpp89 SIZE_T NumLines = Size / LineSize + in processRangeAccessWorkingSet() local
94 while (I < NumLines && (uptr)Shadow % 4 != 0) { in processRangeAccessWorkingSet()
105 while (I + 4 <= NumLines) { in processRangeAccessWorkingSet()
112 while (I < NumLines) { in processRangeAccessWorkingSet()
185 u32 NumLines = computeWorkingSizeAndReset(BitIdx); in takeSample() local
187 SnapshotNum, BitIdx, Freq, NumLines); in takeSample()
188 SizePerFreq[BitIdx].push_back(NumLines); in takeSample()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp32 BlockHeader->NumLines * in operator ()()
45 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()()
48 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()()
118 BlockHeader.NumLines = B.Lines.size(); in commit()
120 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit()
122 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCommentToXML.cpp415 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
416 if (NumLines == 0) in visitVerbatimBlockComment()
420 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
422 if (i + 1 != NumLines) in visitVerbatimBlockComment()
781 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
782 if (NumLines == 0) in visitVerbatimBlockComment()
793 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
795 if (i + 1 != NumLines) in visitVerbatimBlockComment()
/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp198 uint64_t LineStartDelta, ColumnStart, NumLines, ColumnEnd; in readMappingRegionsSubArray() local
206 if (auto Err = readIntMax(NumLines, std::numeric_limits<unsigned>::max())) in readMappingRegionsSubArray()
233 << ColumnStart << " -> " << (LineStart + NumLines) << ":" in readMappingRegionsSubArray()
244 LineStart + NumLines, ColumnEnd, Kind); in readMappingRegionsSubArray()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugLinesSubsection.h45 support::ulittle32_t NumLines; // Number of lines member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp1140 LastLineNoResult < LastLineNoContentCache->NumLines) { in getColumnNumber()
1239 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers()
1287 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
1326 if (LastLineNoResult < Content->NumLines) in getLineNumber()
1717 if (Line > Content->NumLines) { in translateLineCol()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManager.h135 unsigned NumLines = 0; variable
172 NumLines = RHS.NumLines; in ContentCache()