Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary32.h161 uptr size = ClassIdToSize(GetSizeClass(p)); in GetMetaData()
198 return GetSizeClass(p) != 0; in PointerIsMine()
201 uptr GetSizeClass(const void *p) const { in GetSizeClass() function
210 uptr size = ClassIdToSize(GetSizeClass(p)); in GetBlockBegin()
219 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
H A Dsanitizer_allocator_primary64.h252 uptr GetSizeClass(const void *p) { in GetSizeClass() function
260 uptr class_id = GetSizeClass(p); in GetBlockBegin()
276 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
283 uptr class_id = GetSizeClass(p); in GetMetaData()
H A Dsanitizer_allocator_combined.h92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p); in Deallocate()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp251 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator()
264 cache.Deallocate(a, a->GetSizeClass(x), x); in TestSizeClassAllocator()