Searched refs:getUsableSize (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 431 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/ |
D | scudo_allocator.cpp | 98 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/ |
D | combined_test.cpp | 112 EXPECT_LE(Size, Allocator->getUsableSize(P)); in testAllocator() 438 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
|
/external/scudo/standalone/tests/ |
D | combined_test.cpp | 162 EXPECT_LE(Size, Allocator->getUsableSize(P)); in BasicTest() 528 EXPECT_DEATH(Allocator->getUsableSize(P), ""); in TEST()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | wrappers_c.inc | 67 return SCUDO_ALLOCATOR.getUsableSize(ptr);
|
D | combined.h | 742 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
|
/external/scudo/standalone/ |
D | wrappers_c.inc | 67 return SCUDO_ALLOCATOR.getUsableSize(ptr);
|
D | combined.h | 810 uptr getUsableSize(const void *Ptr) { in getUsableSize() function
|