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;
241 const MallocDispatch* default_dispatch = GetDefaultDispatchTable(); in HandleHeapprofdSignal()
296 const MallocDispatch* prev_dispatch = in HandleHeapprofdSignal()
403 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
431 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
459 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);
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()
Dgwp_asan_wrappers.h48 bool DispatchIsGwpAsan(const MallocDispatch* dispatch);
Dgwp_asan_wrappers.cpp58 static const MallocDispatch* prev_dispatch;
152 const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = {
500 bool DispatchIsGwpAsan(const MallocDispatch* dispatch) { in DispatchIsGwpAsan()
Dmalloc_common.cpp350 static constexpr MallocDispatch __libc_malloc_default_dispatch __attribute__((unused)) = {
373 const MallocDispatch* NativeAllocatorDispatch() { in NativeAllocatorDispatch()
Dmalloc_limit.cpp69 static constexpr MallocDispatch __limit_dispatch
/bionic/libc/private/
Dbionic_globals.h61 _Atomic(const MallocDispatch*) current_dispatch_table;
64 _Atomic(const MallocDispatch*) default_dispatch_table;
65 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.cpp70 const MallocDispatch* g_dispatch;
162 #define TCALL(FUNC, ...) TimerCall(&MallocDispatch::FUNC, __VA_ARGS__);
163 #define TCALLVOID(FUNC, ...) TimerCallVoid(&MallocDispatch::FUNC, __VA_ARGS__);
174 bool debug_initialize(const MallocDispatch* malloc_dispatch, bool* malloc_zygote_child,
391 bool debug_initialize(const MallocDispatch* malloc_dispatch, bool* zygote_child, in debug_initialize()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp58 bool debug_initialize(const MallocDispatch*, bool*, const char*);
151 static MallocDispatch dispatch;
154 MallocDispatch MallocDebugTest::dispatch = {