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.h367 static uptr GetSizeClass(const void *p) { in GetSizeClass() function
372 uptr class_id = GetSizeClass(p); in GetBlockBegin()
388 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize()
394 uptr class_id = GetSizeClass(p); in GetMetaData()
723 uptr size = SizeClassMap::Size(GetSizeClass(p)); in GetMetaData()
752 return GetSizeClass(p) != 0; in PointerIsMine()
755 uptr GetSizeClass(const void *p) { in GetSizeClass() function
763 uptr size = SizeClassMap::Size(GetSizeClass(p)); in GetBlockBegin()
772 return SizeClassMap::Size(GetSizeClass(p)); in GetActuallyAllocatedSize()
1337 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p); in Deallocate()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc114 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator()
127 cache.Deallocate(a, a->GetSizeClass(x), x); in TestSizeClassAllocator()