Lines Matching refs:Allocator
20 reinterpret_cast<scudo::Allocator<Config> *>(CurrentAllocator)->initGwpAsan(); in PostInitCallback()
24 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free()
29 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() local
31 CurrentAllocator = Allocator.get(); in BM_malloc_free()
37 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
42 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
64 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free_loop()
69 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop() local
71 CurrentAllocator = Allocator.get(); in BM_malloc_free_loop()
80 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
88 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()