Home
last modified time | relevance | path

Searched refs:GetActuallyAllocatedSize (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_dlsym.h38 internal_allocator()->GetActuallyAllocatedSize(ptr)); in Allocate()
46 internal_allocator()->GetActuallyAllocatedSize(ptr)); in Callocate()
51 uptr size = internal_allocator()->GetActuallyAllocatedSize(ptr); in Free()
64 uptr size = internal_allocator()->GetActuallyAllocatedSize(ptr); in Realloc()
H A Dsanitizer_allocator_combined.h106 uptr old_size = GetActuallyAllocatedSize(p); in Reallocate()
143 uptr GetActuallyAllocatedSize(void *p) { in GetActuallyAllocatedSize() function
145 return primary_.GetActuallyAllocatedSize(p); in GetActuallyAllocatedSize()
146 return secondary_.GetActuallyAllocatedSize(p); in GetActuallyAllocatedSize()
H A Dsanitizer_allocator_secondary.h168 uptr GetActuallyAllocatedSize(void *p) { in GetActuallyAllocatedSize() function
H A Dsanitizer_allocator_primary32.h217 uptr GetActuallyAllocatedSize(void *p) { in GetActuallyAllocatedSize() function
H A Dsanitizer_allocator_primary64.h274 uptr GetActuallyAllocatedSize(void *p) { in GetActuallyAllocatedSize() function
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator_secondary.h168 static uptr GetActuallyAllocatedSize(void *Ptr) { in GetActuallyAllocatedSize() function
H A Dscudo_allocator.cpp103 return SecondaryT::GetActuallyAllocatedSize( in getUsableSize()
112 return SecondaryT::GetActuallyAllocatedSize( in getSize()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp146 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in DFsanReallocate()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp235 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp72 return allocator.GetActuallyAllocatedSize(reinterpret_cast<void *>(block_)); in ActualSize()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp350 uptr allocated_size = allocator.GetActuallyAllocatedSize((void *)chunk); in RePoisonChunk()
544 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp250 CHECK_GE(a->GetActuallyAllocatedSize(x), size); in TestSizeClassAllocator()
628 CHECK_GE(a.GetActuallyAllocatedSize(x), size); in TEST()