Lines Matching refs:BackendAllocator
269 ScudoAllocator BackendAllocator; member
308 BackendAllocator.Init(Options.MayReturnNull); in init()
312 BackendAllocator.InitCache(&FallbackAllocatorCache); in init()
324 return BackendAllocator.ReturnNullOrDie(); in allocate()
330 return BackendAllocator.ReturnNullOrDie(); in allocate()
337 return BackendAllocator.ReturnNullOrDie(); in allocate()
341 Ptr = BackendAllocator.Allocate(&Cache, NeededSize, MinAlignment); in allocate()
344 Ptr = BackendAllocator.Allocate(&FallbackAllocatorCache, NeededSize, in allocate()
348 return BackendAllocator.ReturnNullOrDie(); in allocate()
351 if (ZeroContents && BackendAllocator.FromPrimary(Ptr)) in allocate()
352 memset(Ptr, 0, BackendAllocator.GetActuallyAllocatedSize(Ptr)); in allocate()
446 BackendAllocator.GetActuallyAllocatedSize(Chunk->AllocBeg(Header)); in getUsableSize()
510 return BackendAllocator.ReturnNullOrDie(); in calloc()
513 if (!ZeroContents && Ptr && BackendAllocator.FromPrimary(Ptr)) in calloc()
527 return Instance.BackendAllocator; in getAllocator()