Searched defs:SizeClassAllocatorLocalCache (Results 1 – 3 of 3) sorted by relevance
/external/scudo/standalone/ |
D | local_cache.h | 18 template <class SizeClassAllocator> struct SizeClassAllocatorLocalCache { struct 19 typedef typename SizeClassAllocator::SizeClassMap SizeClassMap; 20 typedef typename SizeClassAllocator::CompactPtrT CompactPtrT; 22 struct TransferBatch { 52 void initLinkerInitialized(GlobalStats *S, SizeClassAllocator *A) { in initLinkerInitialized() 59 void init(GlobalStats *S, SizeClassAllocator *A) { in init() 64 void destroy(GlobalStats *S) { in destroy() 70 void *allocate(uptr ClassId) { in allocate() 88 void deallocate(uptr ClassId, void *P) { in deallocate() 104 bool isEmpty() const { in isEmpty() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | local_cache.h | 18 template <class SizeClassAllocator> struct SizeClassAllocatorLocalCache { struct 19 typedef typename SizeClassAllocator::SizeClassMap SizeClassMap; 21 struct TransferBatch { 51 void initLinkerInitialized(GlobalStats *S, SizeClassAllocator *A) { in initLinkerInitialized() 58 void init(GlobalStats *S, SizeClassAllocator *A) { in init() 63 void destroy(GlobalStats *S) { in destroy() 69 void *allocate(uptr ClassId) { in allocate() 90 void deallocate(uptr ClassId, void *P) { in deallocate() 105 void drain() { in drain() 113 TransferBatch *createBatch(uptr ClassId, void *B) { in createBatch() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 930 struct SizeClassAllocatorLocalCache { struct 931 typedef SizeClassAllocator Allocator; 932 static const uptr kNumClasses = SizeClassAllocator::kNumClasses; 934 void Init(AllocatorGlobalStats *s) { in Init() 940 void Destroy(SizeClassAllocator *allocator, AllocatorGlobalStats *s) { in Destroy() 946 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate() 958 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate() 972 void Drain(SizeClassAllocator *allocator) { in Drain() 981 typedef typename SizeClassAllocator::SizeClassMapT SizeClassMap; 982 typedef typename SizeClassMap::TransferBatch Batch; [all …]
|