Searched refs:SizeClassMap (Results 1 – 4 of 4) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 91 class SizeClassMap { 195 typedef SizeClassMap<17, 128, 16> DefaultSizeClassMap; 196 typedef SizeClassMap<17, 64, 14> CompactSizeClassMap; 311 const uptr kMetadataSize, class SizeClassMap, 315 typedef typename SizeClassMap::TransferBatch Batch; 317 SizeClassMap, MapUnmapCallback> ThisT; 337 return size <= SizeClassMap::kMaxSize && in CanAllocate() 338 alignment <= SizeClassMap::kMaxSize; in CanAllocate() 369 uptr size = SizeClassMap::Size(class_id); in GetBlockBegin() 384 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 109 typedef DefaultSizeClassMap SizeClassMap; typedef 111 SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator; 120 typedef CompactSizeClassMap SizeClassMap; typedef 122 SizeClassMap, kRegionSizeLog,
|
D | asan_allocator2.cc | 157 if (user_requested_size != SizeClassMap::kMaxSize) in UsedSize() 369 m->user_requested_size = SizeClassMap::kMaxSize; in Allocate() 391 uptr class_id = Min(kNumberOfSizeClasses, SizeClassMap::ClassID(needed_size)); in Allocate() 393 if (needed_size > SizeClassMap::kMaxSize) in Allocate()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 57 template <class SizeClassMap> 59 typedef SizeClassMap SCMap; in TestSizeClassMap() 776 typedef SizeClassMap<63, 128, 16> SpecialSizeClassMap; in TEST()
|