Home
last modified time | relevance | path

Searched refs:TestAllocator (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Demangle/
H A DItaniumDemangleTest.cpp20 class TestAllocator { class
61 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> {}; in TEST()
68 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> { in TEST()
76 return AbstractManglingParser<TestParser, TestAllocator>::parseType(); in TEST()
91 struct TestParser : AbstractManglingParser<TestParser, TestAllocator> { in TEST()
99 Node *N = AbstractManglingParser<TestParser, TestAllocator>::parseType(); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dprimary_test.cpp81 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct
82 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
86 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument
119 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
197 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
233 using Primary = TestAllocator<TypeParam, scudo::SvelteSizeClassMap>; in SCUDO_TYPED_TEST()
283 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
H A Dcombined_test.cpp70 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct
71 TestAllocator() { in TestAllocator() argument
77 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
81 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument
102 using AllocatorT = TestAllocator<TypeParam>; argument
246 if (isPrimaryAllocation<TestAllocator<TypeParam>>(Size, in SCUDO_TYPED_TEST()
534 using AllocatorT = TestAllocator<DeathConfig>; in TEST()
569 using AllocatorT = TestAllocator<DeathConfig>; in TEST()