Home
last modified time | relevance | path

Searched defs:SizeClassAllocatorLocalCache (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/scudo/standalone/
H A Dlocal_cache.h21 template <class SizeClassAllocator> struct SizeClassAllocatorLocalCache { struct
22 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 …]
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h930 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 …]