Lines Matching defs:get_allocator
54 static AsanAllocator &get_allocator();
224 void *p = get_allocator().GetBlockBegin(m);
228 if (get_allocator().FromPrimary(p)) {
251 get_allocator().Deallocate(cache_, p);
257 if (get_allocator().FromPrimary(m)) {
265 void *res = get_allocator().Allocate(cache_, size, 1);
272 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); }
714 !get_allocator().PointerIsMine(ptr)) {
812 // get_allocator().Allocate(), or is being destroyed just before
813 // get_allocator().Deallocate().
911 static AsanAllocator &get_allocator() {
1125 __asan::get_allocator().ForceLock();
1129 __asan::get_allocator().ForceUnlock();
1133 *begin = (uptr)&__asan::get_allocator();
1134 *end = *begin + sizeof(__asan::get_allocator());
1199 __asan::get_allocator().ForEachChunk(callback, arg);