Lines Matching refs:GuardedAlloc
194 GuardedAlloc.init(Opt); in initGwpAsan()
198 &GuardedAlloc, Printf, in initGwpAsan()
203 GuardedAlloc.getAllocatorState()->maximumAllocationSize(); in initGwpAsan()
221 GuardedAlloc.uninitTestOnly(); in unmapTestOnly()
307 if (UNLIKELY(GuardedAlloc.shouldSample())) {
308 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) {
524 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
525 GuardedAlloc.deallocate(Ptr);
584 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
585 uptr OldSize = GuardedAlloc.getSize(OldPtr);
589 GuardedAlloc.deallocate(OldPtr);
674 GuardedAlloc.disable(); in disable()
691 GuardedAlloc.enable(); in enable()
769 GuardedAlloc.iterate(reinterpret_cast<void *>(Base), Size, Callback, Arg); in iterateOverChunks()
816 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) in getUsableSize()
817 return GuardedAlloc.getSize(Ptr); in getUsableSize()
840 if (GuardedAlloc.pointerIsMine(Ptr)) in isOwned()
991 gwp_asan::GuardedPoolAllocator GuardedAlloc; variable