Searched refs:SizeClassMap (Results 1 – 6 of 6) 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; 315 const uptr kMetadataSize, class SizeClassMap, 319 typedef typename SizeClassMap::TransferBatch Batch; 321 SizeClassMap, MapUnmapCallback> ThisT; 341 return size <= SizeClassMap::kMaxSize && in CanAllocate() 342 alignment <= SizeClassMap::kMaxSize; in CanAllocate() 373 uptr size = SizeClassMap::Size(class_id); in GetBlockBegin() 388 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 126 typedef DefaultSizeClassMap SizeClassMap; typedef 128 SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator; 137 typedef CompactSizeClassMap SizeClassMap; typedef 139 SizeClassMap, kRegionSizeLog, 144 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
|
D | asan_allocator.cc | 112 if (user_requested_size != SizeClassMap::kMaxSize) in UsedSize() 416 m->user_requested_size = SizeClassMap::kMaxSize; in Allocate() 440 if (needed_size > SizeClassMap::kMaxSize) in Allocate() 443 thread_stats.malloced_by_size[SizeClassMap::ClassID(needed_size)]++; in Allocate()
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 47 typedef CompactSizeClassMap SizeClassMap; typedef 50 SizeClassMap, kRegionSizeLog, ByteMap, 81 typedef CompactSizeClassMap SizeClassMap; typedef 84 SizeClassMap, kRegionSizeLog, ByteMap,
|
/external/compiler-rt/lib/lsan/ |
D | lsan_allocator.cc | 40 typedef CompactSizeClassMap SizeClassMap; typedef 42 sizeof(ChunkMetadata), SizeClassMap, kRegionSizeLog, ByteMap>
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 60 template <class SizeClassMap> 62 typedef SizeClassMap SCMap; in TestSizeClassMap() 776 typedef SizeClassMap<63, 128, 16> SpecialSizeClassMap; in TEST()
|