Lines Matching refs:allocator
126 static Allocator allocator; variable
134 allocator.Init(common_flags()->allocator_release_to_os_interval_ms); in MsanAllocatorInit()
149 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
170 allocated = allocator.Allocate(cache, size, alignment); in MsanAllocate()
174 allocated = allocator.Allocate(cache, size, alignment); in MsanAllocate()
183 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate()
205 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in MsanDeallocate()
221 allocator.Deallocate(cache, p); in MsanDeallocate()
225 allocator.Deallocate(cache, p); in MsanDeallocate()
231 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
233 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate()
265 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
267 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
358 allocator.GetStats(stats); in __sanitizer_get_current_allocated_bytes()
364 allocator.GetStats(stats); in __sanitizer_get_heap_size()