Home
last modified time | relevance | path

Searched refs:SizeClassMap (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h91 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/
Dasan_allocator.h129 typedef DefaultSizeClassMap SizeClassMap; typedef
131 SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator;
140 typedef CompactSizeClassMap SizeClassMap; typedef
142 SizeClassMap, kRegionSizeLog,
147 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
Dasan_allocator.cc112 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/
Dmsan_allocator.cc47 typedef CompactSizeClassMap SizeClassMap; typedef
50 SizeClassMap, kRegionSizeLog, ByteMap,
81 typedef CompactSizeClassMap SizeClassMap; typedef
84 SizeClassMap, kRegionSizeLog, ByteMap,
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc40 typedef CompactSizeClassMap SizeClassMap; typedef
42 sizeof(ChunkMetadata), SizeClassMap, kRegionSizeLog, ByteMap>
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp37 typedef DefaultSizeClassMap SizeClassMap; typedef
38 typedef SizeClassAllocator64<AllocatorSpace, AllocatorSize, 0, SizeClassMap>
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc70 template <class SizeClassMap>
72 typedef SizeClassMap SCMap; in TestSizeClassMap()
784 typedef SizeClassMap<63, 128, 16> SpecialSizeClassMap; in TEST()