Searched refs:SizeClassMap (Results 1 – 7 of 7) 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; 316 const uptr kMetadataSize, class SizeClassMap, 320 typedef typename SizeClassMap::TransferBatch Batch; 322 SizeClassMap, MapUnmapCallback> ThisT; 349 return size <= SizeClassMap::kMaxSize && in CanAllocate() 350 alignment <= SizeClassMap::kMaxSize; in CanAllocate() 387 uptr size = SizeClassMap::Size(class_id); in GetBlockBegin() 402 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 129 typedef DefaultSizeClassMap SizeClassMap; typedef 131 SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator; 140 typedef CompactSizeClassMap SizeClassMap; typedef 142 SizeClassMap, kRegionSizeLog, 147 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/scudo/ |
D | scudo_allocator.cpp | 37 typedef DefaultSizeClassMap SizeClassMap; typedef 38 typedef SizeClassAllocator64<AllocatorSpace, AllocatorSize, 0, SizeClassMap>
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 70 template <class SizeClassMap> 72 typedef SizeClassMap SCMap; in TestSizeClassMap() 784 typedef SizeClassMap<63, 128, 16> SpecialSizeClassMap; in TEST()
|