/external/llvm-project/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.h | 28 size_t NumRegions; variable 31 RegionCoverageInfo() : Covered(0), NumRegions(0) {} in RegionCoverageInfo() 33 RegionCoverageInfo(size_t Covered, size_t NumRegions) in RegionCoverageInfo() argument 34 : Covered(Covered), NumRegions(NumRegions) { in RegionCoverageInfo() 35 assert(Covered <= NumRegions && "Covered regions over-counted"); in RegionCoverageInfo() 40 NumRegions += RHS.NumRegions; 46 NumRegions = std::max(NumRegions, RHS.NumRegions); in merge() 51 size_t getNumRegions() const { return NumRegions; } in getNumRegions() 53 bool isFullyCovered() const { return Covered == NumRegions; } in isFullyCovered() 56 assert(Covered <= NumRegions && "Covered regions over-counted"); in getPercentCovered() [all …]
|
/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.h | 32 size_t NumRegions; member 34 RegionCoverageInfo() : Covered(0), NotCovered(0), NumRegions(0) {} in RegionCoverageInfo() 36 RegionCoverageInfo(size_t Covered, size_t NumRegions) in RegionCoverageInfo() 37 : Covered(Covered), NotCovered(NumRegions - Covered), in RegionCoverageInfo() 38 NumRegions(NumRegions) {} in RegionCoverageInfo() 43 NumRegions += RHS.NumRegions; 47 bool isFullyCovered() const { return Covered == NumRegions; } in isFullyCovered() 50 if (NumRegions == 0) in getPercentCovered() 52 return double(Covered) / double(NumRegions) * 100.0; in getPercentCovered()
|
D | CoverageReport.cpp | 128 (unsigned)File.RegionCoverage.NumRegions); in render() 150 (unsigned)Function.RegionCoverage.NumRegions); in render()
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerTracePC.h | 147 size_t NumRegions; member 149 uint8_t *Stop() { return Regions[NumRegions - 1].Stop; } in Stop() 164 for (size_t r = 0; r < Modules[m].NumRegions; r++) in IterateCounterRegions() 252 for (size_t r = 0; r < Modules[i].NumRegions; r++) { in CollectFeatures()
|
D | FuzzerTracePC.cpp | 53 M.NumRegions = NumFullPages + NeedFirst + NeedLast;; in HandleInline8bitCountersInit() 54 assert(M.NumRegions > 0); in HandleInline8bitCountersInit() 55 M.Regions = new Module::Region[M.NumRegions]; in HandleInline8bitCountersInit() 64 assert(R == M.NumRegions); in HandleInline8bitCountersInit() 173 for (size_t r = 0; r < M.NumRegions; r++) { in UpdateObservedPCs()
|
/external/llvm-project/compiler-rt/lib/fuzzer/ |
D | FuzzerTracePC.h | 147 size_t NumRegions; member 149 uint8_t *Stop() { return Regions[NumRegions - 1].Stop; } in Stop() 164 for (size_t r = 0; r < Modules[m].NumRegions; r++) in IterateCounterRegions() 252 for (size_t r = 0; r < Modules[i].NumRegions; r++) { in CollectFeatures()
|
D | FuzzerTracePC.cpp | 53 M.NumRegions = NumFullPages + NeedFirst + NeedLast;; in HandleInline8bitCountersInit() 54 assert(M.NumRegions > 0); in HandleInline8bitCountersInit() 55 M.Regions = new Module::Region[M.NumRegions]; in HandleInline8bitCountersInit() 64 assert(R == M.NumRegions); in HandleInline8bitCountersInit() 173 for (size_t r = 0; r < M.NumRegions; r++) { in UpdateObservedPCs()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | primary32.h | 84 Sci->MinRegionIndex = NumRegions; in initLinkerInitialized() 102 uptr MinRegionIndex = NumRegions, MaxRegionIndex = 0; in unmapTestOnly() 168 uptr MinRegionIndex = NumRegions, MaxRegionIndex = 0; in iterateOverBlocks() 243 static const uptr NumRegions = SCUDO_MMAP_RANGE_SIZE >> RegionSizeLog; variable 245 typedef FlatByteMap<NumRegions> ByteMap; 278 CHECK_LT(Id, NumRegions); in computeRegionId()
|
/external/scudo/standalone/ |
D | primary32.h | 78 Sci->MinRegionIndex = NumRegions; in initLinkerInitialized() 92 uptr MinRegionIndex = NumRegions, MaxRegionIndex = 0; in unmapTestOnly() 166 uptr MinRegionIndex = NumRegions, MaxRegionIndex = 0; in iterateOverBlocks() 240 static const uptr NumRegions = variable 243 typedef FlatByteMap<NumRegions> ByteMap; 275 CHECK_LT(Id, NumRegions); in computeRegionId()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 142 uint64_t NumRegions; in readMappingRegionsSubArray() local 143 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() 146 for (size_t I = 0; I < NumRegions; ++I) { in readMappingRegionsSubArray() 314 uint64_t NumRegions; in isDummy() local 315 if (Error Err = readSize(NumRegions)) in isDummy() 317 if (NumRegions != 1) in isDummy()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 156 uint64_t NumRegions; in readMappingRegionsSubArray() local 157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() 160 for (size_t I = 0; I < NumRegions; ++I) { in readMappingRegionsSubArray() 337 uint64_t NumRegions; in isDummy() local 338 if (Error Err = readSize(NumRegions)) in isDummy() 340 if (NumRegions != 1) in isDummy()
|
/external/llvm-project/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 211 uint64_t NumRegions; in readMappingRegionsSubArray() local 212 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() 215 for (size_t I = 0; I < NumRegions; ++I) { in readMappingRegionsSubArray() 392 uint64_t NumRegions; in isDummy() local 393 if (Error Err = readSize(NumRegions)) in isDummy() 395 if (NumRegions != 1) in isDummy()
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 686 unsigned NumRegions = LLC.datasize / sizeof(MachO::data_in_code_entry); in printMachODataInCode() local 687 for (unsigned i = 0; i < NumRegions; ++i) { in printMachODataInCode()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 732 unsigned NumRegions = LLC.datasize / sizeof(MachO::data_in_code_entry); in printMachODataInCode() local 733 for (unsigned i = 0; i < NumRegions; ++i) { in printMachODataInCode()
|