Lines Matching refs:allocator
67 static Allocator allocator; variable
77 allocator.Init(common_flags()->allocator_may_return_null); in Init()
87 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
96 return allocator.ReturnNullOrDie(); in MsanAllocate()
102 allocated = allocator.Allocate(cache, size, alignment, false); in MsanAllocate()
106 allocated = allocator.Allocate(cache, size, alignment, false); in MsanAllocate()
109 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate()
129 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in MsanDeallocate()
145 allocator.Deallocate(cache, p); in MsanDeallocate()
149 allocator.Deallocate(cache, p); in MsanDeallocate()
156 return allocator.ReturnNullOrDie(); in MsanCalloc()
168 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
170 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate()
197 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
199 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
209 allocator.GetStats(stats); in __sanitizer_get_current_allocated_bytes()
215 allocator.GetStats(stats); in __sanitizer_get_heap_size()