Home
last modified time | relevance | path

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

/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp431 uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() function
458 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
460 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()
/external/scudo/standalone/tests/
Dcombined_test.cpp102 EXPECT_LE(Size, Allocator->getUsableSize(P)); in testAllocator()
403 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
/external/scudo/standalone/
Dwrappers_c.inc71 return SCUDO_ALLOCATOR.getUsableSize(ptr);
Dcombined.h648 uptr getUsableSize(const void *Ptr) { in getUsableSize() function