Searched refs:TestAllocator (Results 1 – 3 of 3) sorted by relevance
/llvm-project/llvm/unittests/Demangle/ |
H A D | ItaniumDemangleTest.cpp | 21 class TestAllocator { class 62 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> {}; in TEST() 69 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> { in TEST() 77 return AbstractManglingParser<TestParser, TestAllocator>::parseType(); in TEST() 92 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> { in TEST() 100 Node *N = AbstractManglingParser<TestParser, TestAllocator>::parseType(); in TEST()
|
/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
H A D | primary_test.cpp | 166 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct 167 ~TestAllocator() { in ~TestAllocator() argument 174 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument 211 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 299 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 336 using Primary = TestAllocator<TypeParam, scudo::Config::Primary::SizeClassMap>; in SCUDO_TYPED_TEST() 397 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 413 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 178 operator deleteTestAllocator operator delete() argument
|
H A D | combined_test.cpp | 76 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct 77 TestAllocator() { in TestAllocator() argument 83 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument 141 void *TestAllocator<Config>::operator new(size_t size) { in operator new() 146 void TestAllocator<Config>::operator delete(void *ptr) { in operator delete() 164 using AllocatorT = TestAllocator<TypeParam>; 370 if (isPrimaryAllocation<TestAllocator<TypeParam>>(Size, in SCUDO_TYPED_TEST() 542 if (!isPrimaryAllocation<TestAllocator<TypeParam>>(Size, 0)) in SCUDO_TYPED_TEST() 733 using AllocatorT = TestAllocator<DeathConfig>; in TEST() 768 using AllocatorT = TestAllocator<DeathConfi in TEST() [all...] |