Lines Matching refs:GuardedAlloc
193 GuardedAlloc.init(Opt); in initGwpAsan()
197 &GuardedAlloc, Printf, gwp_asan::options::getPrintBacktraceFunction(), in initGwpAsan()
214 GuardedAlloc.uninitTestOnly(); in unmapTestOnly()
277 if (UNLIKELY(GuardedAlloc.shouldSample())) {
278 if (void *Ptr = GuardedAlloc.allocate(roundUpTo(Size, Alignment)))
482 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
483 GuardedAlloc.deallocate(Ptr);
540 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
541 uptr OldSize = GuardedAlloc.getSize(OldPtr);
545 GuardedAlloc.deallocate(OldPtr);
622 GuardedAlloc.disable(); in disable()
639 GuardedAlloc.enable(); in enable()
701 GuardedAlloc.iterate(reinterpret_cast<void *>(Base), Size, Callback, Arg); in iterateOverChunks()
748 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) in getUsableSize()
749 return GuardedAlloc.getSize(Ptr); in getUsableSize()
772 if (GuardedAlloc.pointerIsMine(Ptr)) in isOwned()
978 gwp_asan::GuardedPoolAllocator GuardedAlloc; variable