Home
last modified time | relevance | path

Searched refs:MallocDispatch (Results 1 – 12 of 12) 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_common_dynamic.h39 MallocDispatch* dispatch_table);
41 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table);
Dmalloc_heapprofd.cpp224 static _Atomic (const MallocDispatch*) gPreviousDefaultDispatchTable = nullptr;
225 static MallocDispatch gEphemeralDispatch;
243 const MallocDispatch* default_dispatch = GetDefaultDispatchTable(); in HandleHeapprofdSignal()
381 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
409 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
437 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in DispatchReset()
Dgwp_asan_wrappers.cpp50 static const MallocDispatch* prev_dispatch;
60 bool gwp_asan_initialize(const MallocDispatch* dispatch, bool*, const char*) { in gwp_asan_initialize()
178 static const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = {
277 bool DispatchIsGwpAsan(const MallocDispatch* dispatch) { in DispatchIsGwpAsan()
Dgwp_asan_wrappers.h44 bool DispatchIsGwpAsan(const MallocDispatch* dispatch);
Dmalloc_common_dynamic.cpp108 typedef bool (*init_func_t)(const MallocDispatch*, bool*, const char*);
139 static bool InitMallocFunctions(void* impl_handler, MallocDispatch* table, const char* prefix) { in InitMallocFunctions()
255 …brary(void* impl_handle, const char* shared_lib, const char* prefix, MallocDispatch* dispatch_tabl… in InitSharedLibrary()
284 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table)… in LoadSharedLibrary()
327 const MallocDispatch* prev_dispatch = GetDefaultDispatchTable(); in FinishInstallHooks()
Dmalloc_common.cpp343 static constexpr MallocDispatch __libc_malloc_default_dispatch __attribute__((unused)) = {
366 const MallocDispatch* NativeAllocatorDispatch() { in NativeAllocatorDispatch()
Dmalloc_limit.cpp69 static constexpr MallocDispatch __limit_dispatch
/bionic/libc/private/
Dbionic_globals.h60 _Atomic(const MallocDispatch*) current_dispatch_table;
63 _Atomic(const MallocDispatch*) default_dispatch_table;
64 MallocDispatch malloc_dispatch_table;
Dbionic_malloc_dispatch.h58 struct MallocDispatch { struct
/bionic/libc/malloc_debug/
Dmalloc_debug.h64 extern const MallocDispatch* g_dispatch;
/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()