Lines Matching defs:Allocator
264 struct Allocator { struct
265 static const uptr MaxAllowedMallocSize = 1ULL << 40;
266 static const uptr MinAlignment = 1 << MinAlignmentLog;
267 static const uptr MaxAlignment = 1 << MaxAlignmentLog; // 16 MB
269 ScudoAllocator BackendAllocator;
270 ScudoQuarantine AllocatorQuarantine;
275 StaticSpinMutex FallbackMutex;
276 AllocatorCache FallbackAllocatorCache;
277 QuarantineCache FallbackQuarantineCache;
279 bool DeallocationTypeMismatch;
280 bool ZeroContents;
281 bool DeleteSizeMismatch;
283 explicit Allocator(LinkerInitialized) in Allocator() argument
287 void init(const AllocatorOptions &Options) { in init()
317 void *allocate(uptr Size, uptr Alignment, AllocType Type) { in allocate()
377 void deallocate(void *UserPtr, uptr DeleteSize, AllocType Type) { in deallocate()
431 uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize()
458 uptr getUsableSize(const void *Ptr) { in getUsableSize()
465 void *reallocate(void *OldPtr, uptr NewSize) { in reallocate()
505 void *calloc(uptr NMemB, uptr Size) { in calloc()
518 void drainQuarantine() { in drainQuarantine()