Lines Matching refs:MallocHooksTest

56 class MallocHooksTest : public ::testing::Test {  class
119 bool MallocHooksTest::malloc_hook_called_;
120 bool MallocHooksTest::free_hook_called_;
121 bool MallocHooksTest::realloc_hook_called_;
122 bool MallocHooksTest::memalign_hook_called_;
123 const void* MallocHooksTest::void_arg_;
125 void* (*MallocHooksTest::orig_malloc_hook_)(size_t, const void*);
126 void (*MallocHooksTest::orig_free_hook_)(void*, const void*);
127 void* (*MallocHooksTest::orig_realloc_hook_)(void*, size_t, const void*);
128 void* (*MallocHooksTest::orig_memalign_hook_)(size_t, size_t, const void*);
137 void MallocHooksTest::RunTest(std::string test_name) { in RunTest()
156 void* MallocHooksTest::test_malloc_hook(size_t size, const void* arg) { in test_malloc_hook()
162 void* MallocHooksTest::test_realloc_hook(void* ptr, size_t size, const void* arg) { in test_realloc_hook()
168 void* MallocHooksTest::test_memalign_hook(size_t alignment, size_t size, const void* arg) { in test_memalign_hook()
174 void MallocHooksTest::test_free_hook(void* ptr, const void* arg) { in test_free_hook()
180 TEST_F(MallocHooksTest, other_malloc_functions) { in TEST_F() argument
185 TEST_F(MallocHooksTest, DISABLED_other_malloc_functions) { in TEST_F() argument
196 TEST_F(MallocHooksTest, extended_functions) { in TEST_F() argument
200 TEST_F(MallocHooksTest, DISABLED_extended_functions) { in TEST_F() argument
220 TEST_F(MallocHooksTest, malloc_hook) { in TEST_F() argument
224 TEST_F(MallocHooksTest, DISABLED_malloc_hook) { in TEST_F() argument
238 TEST_F(MallocHooksTest, free_hook) { in TEST_F() argument
242 TEST_F(MallocHooksTest, DISABLED_free_hook) { in TEST_F() argument
256 TEST_F(MallocHooksTest, realloc_hook) { in TEST_F() argument
260 TEST_F(MallocHooksTest, DISABLED_realloc_hook) { in TEST_F() argument
275 TEST_F(MallocHooksTest, memalign_hook) { in TEST_F() argument
279 TEST_F(MallocHooksTest, DISABLED_memalign_hook) { in TEST_F() argument
293 TEST_F(MallocHooksTest, posix_memalign_hook) { in TEST_F() argument
297 TEST_F(MallocHooksTest, DISABLED_posix_memalign_hook) { in TEST_F() argument
312 TEST_F(MallocHooksTest, posix_memalign_hook_error) { in TEST_F() argument
316 TEST_F(MallocHooksTest, DISABLED_posix_memalign_hook_error) { in TEST_F() argument
331 TEST_F(MallocHooksTest, aligned_alloc_hook) { in TEST_F() argument
335 TEST_F(MallocHooksTest, DISABLED_aligned_alloc_hook) { in TEST_F() argument
349 TEST_F(MallocHooksTest, aligned_alloc_hook_error) { in TEST_F() argument
353 TEST_F(MallocHooksTest, DISABLED_aligned_alloc_hook_error) { in TEST_F() argument
370 TEST_F(MallocHooksTest, pvalloc_hook) { in TEST_F() argument
376 TEST_F(MallocHooksTest, DISABLED_pvalloc_hook) { in TEST_F() argument
390 TEST_F(MallocHooksTest, valloc_hook) { in TEST_F() argument
396 TEST_F(MallocHooksTest, DISABLED_valloc_hook) { in TEST_F() argument