Home
last modified time | relevance | path

Searched refs:ClassIdToSize (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary32.h114 static uptr ClassIdToSize(uptr class_id) { in ClassIdToSize() function
160 uptr size = ClassIdToSize(GetSizeClass(p)); in GetMetaData()
208 uptr size = ClassIdToSize(GetSizeClass(p)); in GetBlockBegin()
217 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
256 uptr chunk_size = ClassIdToSize(possible_regions[region]); in ForEachChunk()
350 const uptr size = ClassIdToSize(class_id); in PopulateFreeList()
Dsanitizer_allocator_primary64.h129 class_id, ClassIdToSize(class_id)); in ReturnToAllocator()
190 uptr size = ClassIdToSize(class_id); in GetBlockBegin()
204 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
212 uptr size = ClassIdToSize(class_id); in GetMetaData()
242 uptr avail_chunks = region->allocated_user / ClassIdToSize(class_id); in PrintStats()
247 region->exhausted ? "F" : " ", class_id, ClassIdToSize(class_id), in PrintStats()
301 uptr chunk_size = ClassIdToSize(class_id); in ForEachChunk()
314 static uptr ClassIdToSize(uptr class_id) { in ClassIdToSize() function
688 kRegionSize >> 20, ClassIdToSize(class_id)); in IsRegionExhausted()
697 const uptr size = ClassIdToSize(class_id); in PopulateFreeArray()
[all …]
Dsanitizer_allocator_local_cache.h91 const uptr size = Allocator::ClassIdToSize(i); in InitCache()
215 const uptr size = Allocator::ClassIdToSize(i); in InitCache()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp101 return PrimaryT::ClassIdToSize(ClassId) - getHeaderSize() - in getUsableSize()
366 memset(BackendPtr, 0, PrimaryT::ClassIdToSize(ClassId)); in allocate()