Home
last modified time | relevance | path

Searched defs:TestAllocator (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_test_base.h48 explicit TestAllocator(se::Platform* platform) in TestAllocator() function
/external/scudo/standalone/tests/
Dprimary_test.cpp65 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct
66 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
70 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument
74 void operator delete(void *ptr) { free(ptr); } in operator delete()
Dcombined_test.cpp69 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct
70 TestAllocator() { in TestAllocator() function
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
/external/llvm-project/llvm/unittests/Demangle/
DItaniumDemangleTest.cpp20 class TestAllocator { class
/external/tensorflow/tensorflow/compiler/xla/service/
Dshaped_buffer_test.cc44 class TestAllocator : public se::DeviceMemoryAllocator { class
46 TestAllocator() in TestAllocator() function in xla::__anon216fc2fb0111::TestAllocator
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dcombined_test.cpp73 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct
74 TestAllocator() { in TestAllocator() argument
78 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
/external/fmtlib/test/
Dformat-test.cc222 typedef allocator_ref<std::allocator<char>> TestAllocator; typedef
317 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef
334 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef