Searched defs:SizeClassAllocatorLocalCache (Results 1 – 1 of 1) sorted by relevance
21 template <class SizeClassAllocator> struct SizeClassAllocatorLocalCache { struct22 typedef typename SizeClassAllocator::SizeClassMap SizeClassMap;23 typedef typename SizeClassAllocator::CompactPtrT CompactPtrT;25 void init(GlobalStats *S, SizeClassAllocator *A) { in init()34 void destroy(GlobalStats *S) { in destroy()40 void *allocate(uptr ClassId) { in allocate()60 bool deallocate(uptr ClassId, void *P) { in deallocate()78 bool isEmpty() const { in isEmpty()85 void drain() { in drain()98 void *getBatchClassBlock() { in getBatchClassBlock()[all …]