Home
last modified time | relevance | path

Searched refs:kNumClasses (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_size_class_map.h135 static const uptr kNumClasses = variable
137 static const uptr kLargestClassID = kNumClasses - 2;
138 static const uptr kBatchClassID = kNumClasses - 1;
139 COMPILER_CHECK(kNumClasses >= 16 && kNumClasses <= 256);
141 kNumClasses <= 32 ? 32 :
142 kNumClasses <= 64 ? 64 :
143 kNumClasses <= 128 ? 128 : 256;
186 for (uptr i = 0; i < kNumClasses; i++) { in Print()
206 for (uptr c = 1; c < kNumClasses; c++) { in Validate()
223 CHECK_LT(c, kNumClasses); in Validate()
Dsanitizer_allocator_local_cache.h35 CHECK_LT(class_id, kNumClasses); in Allocate()
50 CHECK_LT(class_id, kNumClasses); in Deallocate()
65 for (uptr i = 1; i < kNumClasses; i++) { in Drain()
74 static const uptr kNumClasses = SizeClassMap::kNumClasses; member
83 PerClass per_class_[kNumClasses];
89 for (uptr i = 1; i < kNumClasses; i++) { in InitCache()
154 CHECK_LT(class_id, kNumClasses); in Allocate()
169 CHECK_LT(class_id, kNumClasses); in Deallocate()
181 for (uptr i = 1; i < kNumClasses; i++) { in Drain()
191 static const uptr kNumClasses = SizeClassMap::kNumClasses; member
[all …]
Dsanitizer_allocator_primary32.h169 DCHECK_LT(class_id, kNumClasses); in AllocateBatch()
184 DCHECK_LT(class_id, kNumClasses); in DeallocateBatch()
240 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
246 for (int i = kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
273 static const uptr kNumClasses = SizeClassMap::kNumClasses; variable
299 DCHECK_LT(class_id, kNumClasses); in AllocateRegion()
312 DCHECK_LT(class_id, kNumClasses); in GetSizeClassInfo()
380 SizeClassInfo size_class_info_array[kNumClasses];
Dsanitizer_allocator_primary64.h103 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in ForceReleaseToOS()
189 if (class_id >= kNumClasses) return nullptr; in GetBlockBegin()
221 for (uptr i = 0; i < kNumClasses; i++) in TotalMemoryUsed()
256 uptr rss_stats[kNumClasses]; in PrintStats()
257 for (uptr class_id = 0; class_id < kNumClasses; class_id++) in PrintStats()
259 GetMemoryProfile(FillMemoryProfile, rss_stats, kNumClasses); in PrintStats()
265 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in PrintStats()
278 for (uptr class_id = 1; class_id < kNumClasses; class_id++) in PrintStats()
285 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
291 for (int i = (int)kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h112 static const uptr kNumClasses = variable
114 COMPILER_CHECK(kNumClasses >= 32 && kNumClasses <= 256);
116 kNumClasses == 32 ? 32 :
117 kNumClasses <= 64 ? 64 :
118 kNumClasses <= 128 ? 128 : 256;
148 for (uptr i = 0; i < kNumClasses; i++) { in Print()
171 for (uptr c = 1; c < kNumClasses; c++) { in Validate()
176 if (c != kNumClasses - 1) in Validate()
187 CHECK_LT(c, kNumClasses); in Validate()
355 CHECK_LT(class_id, kNumClasses); in AllocateBatch()
[all …]
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.h63 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
/external/compiler-rt/lib/asan/
Dasan_allocator.h147 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.h191 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp334 void *x = cache.Allocate(a, 1 + i % (Allocator::kNumClasses - 1)); in SizeClassAllocatorMetadataStress()
345 cache.Deallocate(a, 1 + i % (Allocator::kNumClasses - 1), allocated[i]); in SizeClassAllocatorMetadataStress()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc221 uptr max_size_class = Allocator::kNumClasses - 1; in SizeClassAllocatorGetBlockBeginStress()
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi4591 …l, 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback>::kNumClasses -->
4592 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
4692 … 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback> >::kNumClasses -->
4693 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
9720 …l, 16ul, __sanitizer::SizeClassMap<17ul, 128ul, 16ul>, __tsan::MapUnmapCallback> >::kNumClasses -->
9721 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
28820 … <!-- static const __sanitizer::uptr __sanitizer::SizeClassMap<17ul, 64ul, 14ul>::kNumClasses -->
28821 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
28865 …l, 4096ull, __sanitizer::NoOpMapUnmapCallback>, __sanitizer::NoOpMapUnmapCallback>::kNumClasses -->
28866 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
[all …]
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi2536 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
2611 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
5738 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
16751 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
16786 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
16831 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
16879 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
16963 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…
17005 …<var-decl name='kNumClasses' type-id='type-id-131' visibility='default' filepath='../../.././libsa…