Home | History | Annotate | Download | only in lsan

Lines Matching defs:Allocator

43           SecondaryAllocator> Allocator;
45 static Allocator allocator;
49 allocator.Init();
53 allocator.SwallowCache(&cache);
57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
85 void *p = allocator.Allocate(&cache, size, alignment, false);
86 // Do not rely on the allocator to clear the memory (it's slow).
87 if (cleared && allocator.FromPrimary(p))
95 allocator.Deallocate(&cache, p);
103 allocator.Deallocate(&cache, p);
106 p = allocator.Reallocate(&cache, p, new_size, alignment);
125 allocator.ForceLock();
129 allocator.ForceUnlock();
133 *begin = (uptr)&allocator;
134 *end = *begin + sizeof(allocator);
139 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p));
185 allocator.ForEachChunk(callback, arg);
189 void *chunk = allocator.GetBlockBegin(p);