Lines Matching refs:GuardedAlloc
224 static gwp_asan::GuardedPoolAllocator GuardedAlloc; variable
307 if (UNLIKELY(GuardedAlloc.shouldSample())) { in allocate()
308 if (void *Ptr = GuardedAlloc.allocate(Size)) in allocate()
458 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) { in deallocate()
459 GuardedAlloc.deallocate(Ptr); in deallocate()
495 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) { in reallocate()
496 size_t OldSize = GuardedAlloc.getSize(OldPtr); in reallocate()
500 GuardedAlloc.deallocate(OldPtr); in reallocate()
548 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) in getUsableSize()
549 return GuardedAlloc.getSize(Ptr); in getUsableSize()
678 GuardedAlloc.init(Opts); in initScudo()
682 &GuardedAlloc, __sanitizer::Printf, in initScudo()