Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp98 static inline uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() function
522 const uptr UsableSize = Chunk::getUsableSize(OldPtr, &OldHeader); in reallocate()
546 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
561 return Chunk::getUsableSize(Ptr, &Header); in getUsableSize()
772 return Instance.getUsableSize(Ptr); in scudoMallocUsableSize()
806 return Instance.getUsableSize(Ptr); in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp162 EXPECT_LE(Size, Allocator->getUsableSize(P)); in BasicTest()
563 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc84 return SCUDO_ALLOCATOR.getUsableSize(ptr);
H A Dcombined.h818 uptr getUsableSize(const void *Ptr) { in getUsableSize() function