Searched refs:MallocDispatch (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_common.h | 77 const MallocDispatch* NativeAllocatorDispatch(); 79 static inline const MallocDispatch* GetDispatchTable() { in GetDispatchTable() 83 static inline const MallocDispatch* GetDefaultDispatchTable() { in GetDefaultDispatchTable()
|
D | malloc_heapprofd.cpp | 224 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()
|
D | malloc_common_dynamic.h | 39 MallocDispatch* dispatch_table); 41 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table);
|
D | malloc_common_dynamic.cpp | 108 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()
|
D | gwp_asan_wrappers.h | 48 bool DispatchIsGwpAsan(const MallocDispatch* dispatch);
|
D | gwp_asan_wrappers.cpp | 58 static const MallocDispatch* prev_dispatch; 152 const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = { 500 bool DispatchIsGwpAsan(const MallocDispatch* dispatch) { in DispatchIsGwpAsan()
|
D | malloc_common.cpp | 350 static constexpr MallocDispatch __libc_malloc_default_dispatch __attribute__((unused)) = { 373 const MallocDispatch* NativeAllocatorDispatch() { in NativeAllocatorDispatch()
|
D | malloc_limit.cpp | 69 static constexpr MallocDispatch __limit_dispatch
|
/bionic/libc/private/ |
D | bionic_globals.h | 61 _Atomic(const MallocDispatch*) current_dispatch_table; 64 _Atomic(const MallocDispatch*) default_dispatch_table; 65 MallocDispatch malloc_dispatch_table;
|
D | bionic_malloc_dispatch.h | 58 struct MallocDispatch { struct
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 42 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/ |
D | malloc_debug.h | 64 extern const MallocDispatch* g_dispatch;
|
D | malloc_debug.cpp | 70 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/ |
D | malloc_debug_unit_tests.cpp | 58 bool debug_initialize(const MallocDispatch*, bool*, const char*); 151 static MallocDispatch dispatch; 154 MallocDispatch MallocDebugTest::dispatch = {
|