Lines Matching defs:Allocator
41 SecondaryAllocator> Allocator;
43 static Allocator allocator;
47 allocator.Init();
51 allocator.SwallowCache(&cache);
55 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
83 void *p = allocator.Allocate(&cache, size, alignment, cleared);
90 allocator.Deallocate(&cache, p);
98 allocator.Deallocate(&cache, p);
101 p = allocator.Reallocate(&cache, p, new_size, alignment);
120 allocator.ForceLock();
124 allocator.ForceUnlock();
128 *begin = (uptr)&allocator;
129 *end = *begin + sizeof(allocator);
134 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p));
176 allocator.ForEachChunk(callback, arg);
180 void *chunk = allocator.GetBlockBegin(p);