Lines Matching refs:allocator
37 static Allocator allocator; variable
45 allocator.Init(); in Init()
51 void *res = allocator.Allocate(&cache, size, alignment, false); in MsanAllocate()
52 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(res)); in MsanAllocate()
72 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(p)); in MsanDeallocate()
80 allocator.Deallocate(&cache, p); in MsanDeallocate()
91 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
93 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate()
113 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
116 Metadata *b = (Metadata*)allocator.GetMetaData(p); in AllocationSize()
126 allocator.GetStats(stats); in __msan_get_current_allocated_bytes()
134 allocator.GetStats(stats); in __msan_get_heap_size()