Searched refs:getUsableSize (Results 1 – 4 of 4) sorted by relevance
431 uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() function458 uptr getUsableSize(const void *Ptr) { in getUsableSize() function460 return getUsableSize(Ptr, &Header); in getUsableSize()469 uptr Size = getUsableSize(OldPtr, &OldHeader); in reallocate()514 memset(Ptr, 0, getUsableSize(Ptr)); in calloc()596 return Instance.getUsableSize(Ptr); in scudoMallocUsableSize()630 return Instance.getUsableSize(p) != 0; in __sanitizer_get_ownership()634 return Instance.getUsableSize(p); in __sanitizer_get_allocated_size()
102 EXPECT_LE(Size, Allocator->getUsableSize(P)); in testAllocator()403 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
71 return SCUDO_ALLOCATOR.getUsableSize(ptr);
648 uptr getUsableSize(const void *Ptr) { in getUsableSize() function