Searched refs:__malloc_hook (Results 1 – 7 of 7) sorted by relevance
102 __malloc_hook = default_malloc_hook; in hooks_initialize()129 if (__malloc_hook != nullptr && __malloc_hook != default_malloc_hook) { in hooks_malloc()130 return __malloc_hook(size, __builtin_return_address(0)); in hooks_malloc()157 if (__malloc_hook != nullptr && __malloc_hook != default_malloc_hook) { in hooks_calloc()162 void* ptr = __malloc_hook(size, __builtin_return_address(0)); in hooks_calloc()
30 void* (*volatile __malloc_hook)(size_t, const void*);81 auto orig_malloc_hook = __malloc_hook;82 __malloc_hook = new_malloc_hook;
79 orig_malloc_hook_ = __malloc_hook; in Init()86 __malloc_hook = orig_malloc_hook_; in Reset()226 ASSERT_TRUE(__malloc_hook != nullptr); in TEST_F()227 __malloc_hook = test_malloc_hook; in TEST_F()
319 extern void* (*volatile __malloc_hook)(size_t __byte_count, const void* __caller) __INTRODUCED_IN(2…
57 void* (*volatile __malloc_hook)(size_t, const void*); variable
1352 __malloc_hook;