Searched refs:SizeClassAllocator (Results 1 – 5 of 5) sorted by relevance
17 template <class SizeClassAllocator>19 typedef SizeClassAllocator Allocator;34 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate()65 void Drain(SizeClassAllocator *allocator) { in Drain()99 NOINLINE bool Refill(PerClass *c, SizeClassAllocator *allocator, in Refill()127 template <class SizeClassAllocator>129 typedef SizeClassAllocator Allocator;147 void DestroyBatch(uptr class_id, SizeClassAllocator *allocator, in DestroyBatch()159 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate()187 void Drain(SizeClassAllocator *allocator) { in Drain()[all …]
16 template<class SizeClassAllocator> struct SizeClassAllocator32LocalCache;
16 template<class SizeClassAllocator> struct SizeClassAllocator64LocalCache;
18 template <class SizeClassAllocator> struct SizeClassAllocatorLocalCache {19 typedef typename SizeClassAllocator::SizeClassMap SizeClassMap;20 typedef typename SizeClassAllocator::CompactPtrT CompactPtrT;52 void init(GlobalStats *S, SizeClassAllocator *A) { in init()140 SizeClassAllocator *Allocator = nullptr;152 const uptr Size = SizeClassAllocator::getSizeByClassId(I); in initCache()187 reportOutOfMemory(SizeClassAllocator::getSizeByClassId(BatchClassId)); in drain()
74 struct SizeClassAllocator struct77 struct SizeClassAllocator<TestConfig1, SizeClassMapT> struct81 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> {