Searched refs:NumLines (Results 1 – 10 of 10) sorted by relevance
| /NextBSD/contrib/llvm/tools/llvm-cov/ |
| HD | CoverageSummaryInfo.h | 66 size_t NumLines; member 69 : Covered(0), NotCovered(0), NonCodeLines(0), NumLines(0) {} in LineCoverageInfo() 71 LineCoverageInfo(size_t Covered, size_t NumNonCodeLines, size_t NumLines) in LineCoverageInfo() 72 : Covered(Covered), NotCovered(NumLines - NumNonCodeLines - Covered), in LineCoverageInfo() 73 NonCodeLines(NumNonCodeLines), NumLines(NumLines) {} in LineCoverageInfo() 79 NumLines += RHS.NumLines; 83 bool isFullyCovered() const { return Covered == (NumLines - NonCodeLines); } in isFullyCovered() 86 return double(Covered) / double(NumLines - NonCodeLines) * 100.0; in getPercentCovered()
|
| HD | CoverageSummaryInfo.cpp | 33 size_t NumLines = 0, CoveredLines = 0; in get() local 65 NumLines += LineCount; in get() 70 LineCoverageInfo(CoveredLines, 0, NumLines)); in get()
|
| HD | CoverageReport.cpp | 145 (unsigned)Function.LineCoverage.NumLines); in render()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/ |
| HD | ASTUnit.h | 191 mutable unsigned NumLines; variable 194 PreambleData() : File(nullptr), NumLines(0) { } in PreambleData() 199 NumLines = 0; in assign() 202 void clear() { Buffer.clear(); File = nullptr; NumLines = 0; } in clear() 210 if (NumLines) in getNumLines() 211 return NumLines; in getNumLines() 213 return NumLines; in getNumLines()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Index/ |
| HD | CommentToXML.cpp | 416 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local 417 if (NumLines == 0) in visitVerbatimBlockComment() 421 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment() 423 if (i + 1 != NumLines) in visitVerbatimBlockComment() 792 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local 793 if (NumLines == 0) in visitVerbatimBlockComment() 804 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment() 806 if (i + 1 != NumLines) in visitVerbatimBlockComment()
|
| /NextBSD/contrib/llvm/lib/ProfileData/ |
| HD | CoverageMappingReader.cpp | 180 uint64_t LineStartDelta, ColumnStart, NumLines, ColumnEnd; in readMappingRegionsSubArray() local 188 if (auto Err = readIntMax(NumLines, std::numeric_limits<unsigned>::max())) in readMappingRegionsSubArray() 208 << ColumnStart << " -> " << (LineStart + NumLines) << ":" in readMappingRegionsSubArray() 219 LineStart + NumLines, ColumnEnd, Kind)); in readMappingRegionsSubArray()
|
| /NextBSD/contrib/compiler-rt/lib/sanitizer_common/scripts/ |
| HD | cpplint.py | 1005 def NumLines(self): member in CleansedLines 1075 return (line, clean_lines.NumLines(), -1) 1086 while linenum < clean_lines.NumLines() - 1: 1096 return (line, clean_lines.NumLines(), -1) 1414 for i in range(linenum, clean_lines.NumLines()): 1981 for start_linenum in xrange(linenum, clean_lines.NumLines()): 2280 if linenum + 1 < clean_lines.NumLines(): 3172 if linenum + 1 < clean_lines.NumLines(): 3423 if match and linenum + 1 < clean_lines.NumLines(): 3678 for linenum in xrange(clean_lines.NumLines()): [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | SourceManager.h | 124 unsigned NumLines : 31; variable 141 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache() 159 NumLines = RHS.NumLines; in ContentCache()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | SourceManager.cpp | 1138 LastLineNoResult < LastLineNoContentCache->NumLines) { in getColumnNumber() 1266 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers() 1314 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber() 1353 if (LastLineNoResult < Content->NumLines) in getLineNumber() 1744 if (Line > Content->NumLines) { in translateLineCol()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | ASTUnit.cpp | 2827 NumLines = 0; in countLines() 2831 NumLines = std::count(Buffer.begin(), Buffer.end(), '\n'); in countLines() 2834 ++NumLines; in countLines()
|