Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary32.h160 uptr size = ClassIdToSize(GetSizeClass(p)); in GetMetaData()
197 return GetSizeClass(p) != 0; in PointerIsMine()
200 uptr GetSizeClass(const void *p) { in GetSizeClass() function
208 uptr size = ClassIdToSize(GetSizeClass(p)); in GetBlockBegin()
217 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
Dsanitizer_allocator_primary64.h180 uptr GetSizeClass(const void *p) { in GetSizeClass() function
188 uptr class_id = GetSizeClass(p); in GetBlockBegin()
204 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
211 uptr class_id = GetSizeClass(p); in GetMetaData()
Dsanitizer_allocator_combined.h92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p); in Deallocate()
/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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp235 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator()
248 cache.Deallocate(a, a->GetSizeClass(x), x); in TestSizeClassAllocator()