Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
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()
98 assert(Covered <= NumLines && "Covered lines over-counted"); in getPercentCovered()
[all …]
DCoverageSummaryInfo.cpp34 size_t NumLines = 0, CoveredLines = 0; in get() local
39 ++NumLines; in get()
47 LineCoverageInfo(CoveredLines, NumLines)); in get()
/external/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h68 size_t NumLines; member
71 : Covered(0), NotCovered(0), NonCodeLines(0), NumLines(0) {} in LineCoverageInfo()
73 LineCoverageInfo(size_t Covered, size_t NumNonCodeLines, size_t NumLines) in LineCoverageInfo()
74 : Covered(Covered), NotCovered(NumLines - NumNonCodeLines - Covered), in LineCoverageInfo()
75 NonCodeLines(NumNonCodeLines), NumLines(NumLines) {} in LineCoverageInfo()
81 NumLines += RHS.NumLines;
85 bool isFullyCovered() const { return Covered == (NumLines - NonCodeLines); } in isFullyCovered()
88 if (NumLines - NonCodeLines == 0) in getPercentCovered()
90 return double(Covered) / double(NumLines - NonCodeLines) * 100.0; in getPercentCovered()
DCoverageSummaryInfo.cpp33 size_t NumLines = 0, CoveredLines = 0; in get() local
65 NumLines += LineCount; in get()
70 LineCoverageInfo(CoveredLines, 0, NumLines)); in get()
DCoverageReport.cpp161 (unsigned)Function.LineCoverage.NumLines); in render()
/external/llvm/utils/count/
Dcount.c14 unsigned Count, NumLines, NumRead; in main() local
28 NumLines = 0; in main()
36 ++NumLines; in main()
44 if (Count != NumLines) { in main()
45 fprintf(stderr, "Expected %d lines, got %d.\n", Count, NumLines); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/count/
Dcount.c14 unsigned Count, NumLines, NumRead; in main() local
28 NumLines = 0; in main()
36 ++NumLines; in main()
44 if (Count != NumLines) { in main()
45 fprintf(stderr, "Expected %d lines, got %d.\n", Count, NumLines); in main()
/external/compiler-rt/lib/esan/
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()
184 u32 NumLines = computeWorkingSizeAndReset(BitIdx); in takeSample() local
186 SnapshotNum, BitIdx, Freq, NumLines); in takeSample()
187 SizePerFreq[BitIdx].push_back(NumLines); in takeSample()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
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()
/external/llvm/include/llvm/DebugInfo/CodeView/
DModuleSubstreamVisitor.h41 BlockHeader->NumLines * in operator()
54 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator()
57 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator()
DModuleSubstream.h39 support::ulittle32_t NumLines; // Number of lines member
/external/clang/include/clang/Frontend/
DASTUnit.h191 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()
/external/clang/lib/Index/
DCommentToXML.cpp416 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()
790 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
791 if (NumLines == 0) in visitVerbatimBlockComment()
802 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
804 if (i + 1 != NumLines) in visitVerbatimBlockComment()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-report/
DOptReport.cpp344 int64_t NumLines = 0; in writeReport() local
346 ++NumLines; in writeReport()
348 unsigned LNDigits = llvm::utostr(NumLines).size(); in writeReport()
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1005 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 …]
/external/google-styleguide/cpplint/
Dcpplint.py1447 def NumLines(self): member in CleansedLines
1622 return (line, clean_lines.NumLines(), -1)
1630 while stack and linenum < clean_lines.NumLines() - 1:
1638 return (line, clean_lines.NumLines(), -1)
2288 for i in range(linenum, clean_lines.NumLines()):
2483 while linenum < clean_lines.NumLines():
3086 for start_linenum in xrange(linenum, clean_lines.NumLines()):
3261 if linenum + 1 < clean_lines.NumLines():
3277 if linenum + 1 < clean_lines.NumLines():
3608 min(endlinenum + 3, clean_lines.NumLines() - 1)):
[all …]
/external/libaom/libaom/tools/
Dcpplint.py1193 def NumLines(self): member in CleansedLines
1264 return (line, clean_lines.NumLines(), -1)
1277 while linenum < clean_lines.NumLines() - 1:
1286 return (line, clean_lines.NumLines(), -1)
1711 for i in range(linenum, clean_lines.NumLines()):
2315 for start_linenum in xrange(linenum, clean_lines.NumLines()):
2617 if linenum + 1 < clean_lines.NumLines():
2839 min(endlinenum + 3, clean_lines.NumLines() - 1)):
3841 if linenum + 1 < clean_lines.NumLines():
4000 if match and linenum + 1 < clean_lines.NumLines():
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py1193 def NumLines(self): member in CleansedLines
1264 return (line, clean_lines.NumLines(), -1)
1277 while linenum < clean_lines.NumLines() - 1:
1286 return (line, clean_lines.NumLines(), -1)
1711 for i in range(linenum, clean_lines.NumLines()):
2315 for start_linenum in xrange(linenum, clean_lines.NumLines()):
2617 if linenum + 1 < clean_lines.NumLines():
2839 min(endlinenum + 3, clean_lines.NumLines() - 1)):
3841 if linenum + 1 < clean_lines.NumLines():
4000 if match and linenum + 1 < clean_lines.NumLines():
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp184 uint64_t LineStartDelta, ColumnStart, NumLines, ColumnEnd; in readMappingRegionsSubArray() local
192 if (auto Err = readIntMax(NumLines, std::numeric_limits<unsigned>::max())) in readMappingRegionsSubArray()
212 << ColumnStart << " -> " << (LineStart + NumLines) << ":" in readMappingRegionsSubArray()
223 LineStart + NumLines, ColumnEnd, Kind)); in readMappingRegionsSubArray()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugLinesSubsection.h45 support::ulittle32_t NumLines; // Number of lines member
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
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()
/external/clang/include/clang/Basic/
DSourceManager.h124 unsigned NumLines; variable
146 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache()
164 NumLines = RHS.NumLines; in ContentCache()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp893 NumLines = DE.getU32(&Offset), in printCodeViewSymbolSection() local
896 uint32_t ColumnOffset = Offset + 8 * NumLines; in printCodeViewSymbolSection()
900 12 + 8 * NumLines + (HasColumnInformation ? 4 * NumLines : 0)) { in printCodeViewSymbolSection()
908 LineIdx != NumLines && DE.isValidOffset(Offset); ++LineIdx) { in printCodeViewSymbolSection()
939 LineIdx != NumLines && DE.isValidOffset(Offset); ++LineIdx) { in printCodeViewSymbolSection()
/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_visitor.h197 size_t NumLines() const { return plane_->lines_size(); } in NumLines() function
/external/clang/lib/Basic/
DSourceManager.cpp1146 LastLineNoResult < LastLineNoContentCache->NumLines) { in getColumnNumber()
1280 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers()
1328 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
1367 if (LastLineNoResult < Content->NumLines) in getLineNumber()
1759 if (Line > Content->NumLines) { in translateLineCol()

12