Lines Matching defs:get_allocator
55 static AsanAllocator &get_allocator();
225 void *p = get_allocator().GetBlockBegin(m);
229 if (get_allocator().FromPrimary(p)) {
252 get_allocator().Deallocate(cache_, p);
258 if (get_allocator().FromPrimary(m)) {
266 void *res = get_allocator().Allocate(cache_, size, 1);
273 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); }
715 !get_allocator().PointerIsMine(ptr)) {
814 // get_allocator().Allocate(), or is being destroyed just before
815 // get_allocator().Deallocate().
913 static AsanAllocator &get_allocator() {
1127 __asan::get_allocator().ForceLock();
1131 __asan::get_allocator().ForceUnlock();
1135 *begin = (uptr)&__asan::get_allocator();
1136 *end = *begin + sizeof(__asan::get_allocator());
1201 __asan::get_allocator().ForEachChunk(callback, arg);