Lines Matching defs:Allocator
12 // MemorySanitizer allocator.
34 SecondaryAllocator> Allocator;
37 static Allocator allocator;
45 allocator.Init();
51 void *res = allocator.Allocate(&cache, size, alignment, false);
52 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(res));
72 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(p));
80 allocator.Deallocate(&cache, p);
91 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p));
93 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p);
113 const void *beg = allocator.GetBlockBegin(p);
116 Metadata *b = (Metadata*)allocator.GetMetaData(p);
126 allocator.GetStats(stats);
134 allocator.GetStats(stats);