Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h69 size_t NumLines; variable
72 LineCoverageInfo() : Covered(0), NumLines(0) {} in LineCoverageInfo()
74 LineCoverageInfo(size_t Covered, size_t NumLines) in LineCoverageInfo() argument
75 : Covered(Covered), NumLines(NumLines) { in LineCoverageInfo()
76 assert(Covered <= NumLines && "Covered lines over-counted"); in LineCoverageInfo()
81 NumLines += RHS.NumLines;
87 NumLines = std::max(NumLines, RHS.NumLines); in merge()
92 size_t getNumLines() const { return NumLines; } in getNumLines()
94 bool isFullyCovered() const { return Covered == NumLines; } in isFullyCovered()
97 assert(Covered <= NumLines && "Covered lines over-counted"); in getPercentCovered()
[all …]
DCoverageSummaryInfo.cpp33 size_t NumLines = 0, CoveredLines = 0; in get() local
38 ++NumLines; in get()
46 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()
/external/llvm-project/llvm/utils/count/
Dcount.c13 unsigned Count, NumLines, NumRead; in main() local
27 NumLines = 0; in main()
35 ++NumLines; in main()
43 if (Count != NumLines) { in main()
44 fprintf(stderr, "Expected %d lines, got %d.\n", Count, NumLines); in main()
/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/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/llvm-project/llvm/lib/DebugInfo/CodeView/
DDebugLinesSubsection.cpp31 BlockHeader->NumLines * in operator ()()
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()()
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()()
117 BlockHeader.NumLines = B.Lines.size(); in commit()
119 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit()
121 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DDebugLinesSubsection.cpp31 BlockHeader->NumLines * in operator ()()
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()()
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()()
117 BlockHeader.NumLines = B.Lines.size(); in commit()
119 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit()
121 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
/external/tensorflow/tensorflow/core/profiler/utils/
Dderived_timeline_test.cc60 EXPECT_EQ(plane_visitor.NumLines(), 2); in TEST()
89 EXPECT_EQ(plane_visitor.NumLines(), 2); in TEST()
127 EXPECT_EQ(plane_visitor.NumLines(), 3); in TEST()
154 EXPECT_EQ(plane_visitor.NumLines(), 3); in TEST()
Dxplane_builder_test.cc46 EXPECT_EQ(xplane_visitor.NumLines(), 1); in TEST()
/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/llvm-project/clang/lib/Index/
DCommentToXML.cpp417 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
418 if (NumLines == 0) in visitVerbatimBlockComment()
422 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
424 if (i + 1 != NumLines) in visitVerbatimBlockComment()
787 unsigned NumLines = C->getNumLines(); in visitVerbatimBlockComment() local
788 if (NumLines == 0) in visitVerbatimBlockComment()
799 for (unsigned i = 0; i != NumLines; ++i) { in visitVerbatimBlockComment()
801 if (i + 1 != NumLines) in visitVerbatimBlockComment()
/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/llvm-project/llvm/tools/llvm-opt-report/
DOptReport.cpp297 int64_t NumLines = 0; in writeReport() local
299 ++NumLines; in writeReport()
301 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/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
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/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/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/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/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/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DDebugLinesSubsection.h44 support::ulittle32_t NumLines; // Number of lines member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugLinesSubsection.h44 support::ulittle32_t NumLines; // Number of lines member

12