Home
last modified time | relevance | path

Searched refs:MallocDispatch (Results 1 – 14 of 14) sorted by relevance

/bionic/libc/bionic/
Dmalloc_common.h77 const MallocDispatch* NativeAllocatorDispatch();
79 static inline const MallocDispatch* GetDispatchTable() { in GetDispatchTable()
83 static inline const MallocDispatch* GetDefaultDispatchTable() { in GetDefaultDispatchTable()
Dmalloc_heapprofd.cpp224 static _Atomic (const MallocDispatch*) gPreviousDefaultDispatchTable = nullptr;
225 static MallocDispatch gEphemeralDispatch;
243 const MallocDispatch* default_dispatch = GetDefaultDispatchTable(); in HandleHeapprofdSignal()
385 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
413 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
441 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in DispatchReset()
Dmalloc_common_dynamic.h39 MallocDispatch* dispatch_table);
41 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table);
Dgwp_asan_wrappers.cpp51 static const MallocDispatch* prev_dispatch;
61 bool gwp_asan_initialize(const MallocDispatch* dispatch, bool*, const char*) { in gwp_asan_initialize()
179 static const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = {
278 bool DispatchIsGwpAsan(const MallocDispatch* dispatch) { in DispatchIsGwpAsan()
Dmalloc_common_dynamic.cpp106 typedef bool (*init_func_t)(const MallocDispatch*, bool*, const char*);
137 static bool InitMallocFunctions(void* impl_handler, MallocDispatch* table, const char* prefix) { in InitMallocFunctions()
253 …brary(void* impl_handle, const char* shared_lib, const char* prefix, MallocDispatch* dispatch_tabl… in InitSharedLibrary()
282 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table)… in LoadSharedLibrary()
325 const MallocDispatch* prev_dispatch = GetDefaultDispatchTable(); in FinishInstallHooks()
Dgwp_asan_wrappers.h44 bool DispatchIsGwpAsan(const MallocDispatch* dispatch);
Dmalloc_common.cpp335 static constexpr MallocDispatch __libc_malloc_default_dispatch __attribute__((unused)) = {
358 const MallocDispatch* NativeAllocatorDispatch() { in NativeAllocatorDispatch()
Dmalloc_limit.cpp69 static constexpr MallocDispatch __limit_dispatch
/bionic/libc/private/
Dbionic_globals.h58 _Atomic(const MallocDispatch*) current_dispatch_table;
61 _Atomic(const MallocDispatch*) default_dispatch_table;
62 MallocDispatch malloc_dispatch_table;
Dbionic_malloc_dispatch.h58 struct MallocDispatch { struct
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp42 const MallocDispatch* g_dispatch;
51 bool hooks_initialize(const MallocDispatch* malloc_dispatch, bool* zygote_child,
100 bool hooks_initialize(const MallocDispatch* malloc_dispatch, bool*, const char*) { in hooks_initialize()
/bionic/libc/malloc_debug/
Dmalloc_debug.h64 extern const MallocDispatch* g_dispatch;
Dmalloc_debug.cpp68 const MallocDispatch* g_dispatch;
78 bool debug_initialize(const MallocDispatch* malloc_dispatch, bool* malloc_zygote_child,
295 bool debug_initialize(const MallocDispatch* malloc_dispatch, bool* zygote_child, in debug_initialize()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp55 bool debug_initialize(const MallocDispatch*, bool*, const char*);
126 static MallocDispatch dispatch;
129 MallocDispatch MallocDebugTest::dispatch = {