Home
last modified time | relevance | path

Searched refs:getUsableSize (Results 1 – 8 of 8) 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/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp98 static inline uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() function
518 const uptr UsableSize = Chunk::getUsableSize(OldPtr, &OldHeader); in reallocate()
542 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
557 return Chunk::getUsableSize(Ptr, &Header); in getUsableSize()
767 return Instance.getUsableSize(Ptr); in scudoMallocUsableSize()
801 return Instance.getUsableSize(Ptr); in __sanitizer_get_allocated_size()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dcombined_test.cpp112 EXPECT_LE(Size, Allocator->getUsableSize(P)); in testAllocator()
438 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
/external/scudo/standalone/tests/
Dcombined_test.cpp162 EXPECT_LE(Size, Allocator->getUsableSize(P)); in BasicTest()
528 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dwrappers_c.inc67 return SCUDO_ALLOCATOR.getUsableSize(ptr);
Dcombined.h742 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
/external/scudo/standalone/
Dwrappers_c.inc67 return SCUDO_ALLOCATOR.getUsableSize(ptr);
Dcombined.h810 uptr getUsableSize(const void *Ptr) { in getUsableSize() function