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