Lines Matching refs:allocator
58 static Allocator allocator; variable
66 allocator.Init(common_flags()->allocator_release_to_os_interval_ms); in dfsan_allocator_init()
81 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
104 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate()
108 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate()
118 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in DFsanAllocate()
131 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in dfsan_deallocate()
139 allocator.Deallocate(cache, p); in dfsan_deallocate()
143 allocator.Deallocate(cache, p); in dfsan_deallocate()
148 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(old_p)); in DFsanReallocate()
150 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in DFsanReallocate()
180 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
183 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
279 allocator.GetStats(stats); in __sanitizer_get_current_allocated_bytes()
285 allocator.GetStats(stats); in __sanitizer_get_heap_size()