Home
last modified time | relevance | path

Searched refs:GetSizeClass (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h378 uptr GetSizeClass(const void *p) { in GetSizeClass() function
386 uptr class_id = GetSizeClass(p); in GetBlockBegin()
402 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize()
408 uptr class_id = GetSizeClass(p); in GetMetaData()
744 uptr size = SizeClassMap::Size(GetSizeClass(p)); in GetMetaData()
776 return GetSizeClass(p) != 0; in PointerIsMine()
779 uptr GetSizeClass(const void *p) { in GetSizeClass() function
787 uptr size = SizeClassMap::Size(GetSizeClass(p)); in GetBlockBegin()
796 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize()
1361 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p); in Deallocate()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc124 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator()
137 cache.Deallocate(a, a->GetSizeClass(x), x); in TestSizeClassAllocator()