Home
last modified time | relevance | path

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

/aosp_15_r20/external/scudo/standalone/tests/
H A Dprimary_test.cpp166 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
178 void operator delete(void *ptr) { free(ptr); } in operator delete()
H A Dcombined_test.cpp76 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct
77 TestAllocator() { in TestAllocator() function
83 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dshaped_buffer_test.cc46 class TestAllocator : public se::DeviceMemoryAllocator { class
48 TestAllocator() in TestAllocator() function in xla::__anon1b7fea2a0111::TestAllocator
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dlocal_client_test_base.h46 explicit TestAllocator(se::Platform* platform) in TestAllocator() function
/aosp_15_r20/external/tensorflow/tensorflow/core/runtime_fallback/kernel/
H A Dkernel_fallback_execute_compat.cc944 class TestAllocator : public tensorflow::AllocatorWrapper { class
946 TestAllocator() : tensorflow::AllocatorWrapper(tensorflow::cpu_allocator()) {} in TestAllocator() function in tensorflow::tfd::__anond671884e0711::TestAllocator
/aosp_15_r20/system/chre/util/tests/
H A Dmessage_router_test.cc48 class TestAllocator : public pw::Allocator { class
52 TestAllocator() : pw::Allocator(kCapabilities) {} in TestAllocator() function in chre::message::__anon79b169e10111::TestAllocator
/aosp_15_r20/external/eigen/unsupported/test/
H A Dcxx11_tensor_thread_pool.cpp19 class TestAllocator : public Allocator { class
/aosp_15_r20/external/pytorch/test/cpp/jit/
H A Dtest_flatbuffer.cpp1847 class TestAllocator : public flatbuffers::Allocator { class
1852 explicit TestAllocator(int* deallocate_call_count) in TestAllocator() function in torch::jit::TestAllocator