Lines Matching refs:Allocate
560 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
880 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
922 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
993 b = (Batch*)Allocate(allocator, SizeClassMap::ClassID(sizeof(Batch)));
1024 void *Allocate(AllocatorStats *stat, uptr size, uptr alignment) {
1156 // Do one-time sort. chunks_sorted_ is reset in Allocate/Deallocate.
1286 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment,
1300 res = cache->Allocate(&primary_, primary_.ClassID(size));
1302 res = secondary_.Allocate(&stats_, size, alignment);
1345 return Allocate(cache, new_size, alignment);
1353 void *new_p = Allocate(cache, new_size, alignment);