/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.h | 70 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 …]
|
D | CoverageSummaryInfo.cpp | 34 size_t NumLines = 0, CoveredLines = 0; in get() local 39 ++NumLines; in get() 47 LineCoverageInfo(CoveredLines, NumLines)); in get()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.h | 68 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()
|
D | CoverageSummaryInfo.cpp | 33 size_t NumLines = 0, CoveredLines = 0; in get() local 65 NumLines += LineCount; in get() 70 LineCoverageInfo(CoveredLines, 0, NumLines)); in get()
|
D | CoverageReport.cpp | 161 (unsigned)Function.LineCoverage.NumLines); in render()
|
/external/llvm/utils/count/ |
D | count.c | 14 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/ |
D | count.c | 14 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/ |
D | working_set.cpp | 89 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/ |
D | DebugLinesSubsection.cpp | 32 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/ |
D | ModuleSubstreamVisitor.h | 41 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()
|
D | ModuleSubstream.h | 39 support::ulittle32_t NumLines; // Number of lines member
|
/external/clang/include/clang/Frontend/ |
D | 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()
|
/external/clang/lib/Index/ |
D | 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() 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/ |
D | OptReport.cpp | 344 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/ |
D | 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 …]
|
/external/google-styleguide/cpplint/ |
D | cpplint.py | 1447 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/ |
D | cpplint.py | 1193 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/ |
D | cpplint.py | 1193 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/ |
D | CoverageMappingReader.cpp | 184 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/ |
D | DebugLinesSubsection.h | 45 support::ulittle32_t NumLines; // Number of lines member
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 198 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/ |
D | SourceManager.h | 124 unsigned NumLines; variable 146 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache() 164 NumLines = RHS.NumLines; in ContentCache()
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 893 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/ |
D | xplane_visitor.h | 197 size_t NumLines() const { return plane_->lines_size(); } in NumLines() function
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1146 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()
|