Searched refs:TestAllocator (Results 1 – 2 of 2) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
H A D | primary_test.cpp | 104 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct 105 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument 109 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument 143 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 227 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 263 using Primary = TestAllocator<TypeParam, scudo::SvelteSizeClassMap>; in SCUDO_TYPED_TEST() 313 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 329 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
|
H A D | combined_test.cpp | 71 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct 72 TestAllocator() { in TestAllocator() function 78 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument 82 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument 103 using AllocatorT = TestAllocator<TypeParam>; argument 247 if (isPrimaryAllocation<TestAllocator<TypeParam>>(Size, in SCUDO_TYPED_TEST() 536 using AllocatorT = TestAllocator<DeathConfig>; in TEST() 571 using AllocatorT = TestAllocator<DeathConfig>; in TEST()
|