Home
last modified time | relevance | path

Searched refs:__malloc_hook (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp102 __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()
DREADME.md30 void* (*volatile __malloc_hook)(size_t, const void*);
81 auto orig_malloc_hook = __malloc_hook;
82 __malloc_hook = new_malloc_hook;
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp80 orig_malloc_hook_ = __malloc_hook; in Init()
87 __malloc_hook = orig_malloc_hook_; in Reset()
228 ASSERT_TRUE(__malloc_hook != nullptr); in TEST_F()
229 __malloc_hook = test_malloc_hook; in TEST_F()
/bionic/libc/include/
Dmalloc.h370 extern void* _Nonnull (*volatile _Nonnull __malloc_hook)(size_t __byte_count, const void* _Nonnull …
/bionic/libc/bionic/
Dmalloc_common.cpp57 void* (*volatile __malloc_hook)(size_t, const void*); variable
/bionic/libc/
Dlibc.map.txt1350 __malloc_hook;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1350 __malloc_hook;