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.cpp79 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()
/bionic/libc/include/
Dmalloc.h319 extern void* (*volatile __malloc_hook)(size_t __byte_count, const void* __caller) __INTRODUCED_IN(2…
/bionic/libc/bionic/
Dmalloc_common.cpp57 void* (*volatile __malloc_hook)(size_t, const void*); variable
/bionic/tools/versioner/platforms/
Dlibc.map.txt1352 __malloc_hook;
/bionic/libc/
Dlibc.map.txt1352 __malloc_hook;