Lines Matching refs:allocator
43 Allocator *allocator() { in allocator() function
48 allocator()->Init(common_flags()->allocator_may_return_null); in InitializeAllocator()
52 allocator()->InitCache(&thr->alloc_cache); in AllocatorThreadStart()
57 allocator()->DestroyCache(&thr->alloc_cache); in AllocatorThreadFinish()
62 allocator()->PrintStats(); in AllocatorPrintStats()
81 return allocator()->ReturnNullOrDie(); in user_alloc()
82 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align); in user_alloc()
94 return allocator()->ReturnNullOrDie(); in user_calloc()
104 allocator()->Deallocate(&thr->alloc_cache, p); in user_free()
190 allocator()->GetStats(stats); in __sanitizer_get_current_allocated_bytes()
196 allocator()->GetStats(stats); in __sanitizer_get_heap_size()
213 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
222 allocator()->SwallowCache(&thr->alloc_cache); in __tsan_on_thread_idle()