Lines Matching refs:allocator
37 static Allocator allocator; variable
43 allocator.InitLinkerInitialized( in InitializeAllocator()
53 allocator.SwallowCache(GetAllocatorCache()); in AllocatorThreadFinish()
57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()
96 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); in Allocate()
104 if (cleared && allocator.FromPrimary(p)) in Allocate()
124 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
135 allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment); in Reallocate()
244 allocator.ForceLock(); in LockAllocator()
248 allocator.ForceUnlock(); in UnlockAllocator()
252 *begin = (uptr)&allocator; in GetAllocatorGlobalRange()
253 *end = *begin + sizeof(allocator); in GetAllocatorGlobalRange()
258 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p)); in PointsIntoChunk()
304 allocator.ForEachChunk(callback, arg); in ForEachChunk()
308 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
339 allocator.GetStats(stats); in __sanitizer_get_current_allocated_bytes()
346 allocator.GetStats(stats); in __sanitizer_get_heap_size()