Searched defs:TestAllocator (Results 1 – 7 of 7) sorted by relevance
48 explicit TestAllocator(se::Platform* platform) in TestAllocator() function
65 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct66 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument70 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument74 void operator delete(void *ptr) { free(ptr); } in operator delete()
69 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct70 TestAllocator() { in TestAllocator() function77 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument81 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument102 using AllocatorT = TestAllocator<TypeParam>; argument
20 class TestAllocator { class
44 class TestAllocator : public se::DeviceMemoryAllocator { class46 TestAllocator() in TestAllocator() function in xla::__anon216fc2fb0111::TestAllocator
73 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct74 TestAllocator() { in TestAllocator() function78 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
222 typedef allocator_ref<std::allocator<char>> TestAllocator; typedef317 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef334 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef