Home
last modified time | relevance | path

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

/aosp12/bionic/libc/bionic/
H A Dmalloc_common.h77 const MallocDispatch* NativeAllocatorDispatch();
79 static inline const MallocDispatch* GetDispatchTable() { in GetDispatchTable()
83 static inline const MallocDispatch* GetDefaultDispatchTable() { in GetDefaultDispatchTable()
H A 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()
H A 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()
H A Dmalloc_common_dynamic.h39 MallocDispatch* dispatch_table);
41 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table);
H A 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()
H A Dgwp_asan_wrappers.h44 bool DispatchIsGwpAsan(const MallocDispatch* dispatch);
H A Dmalloc_common.cpp343 static constexpr MallocDispatch __libc_malloc_default_dispatch __attribute__((unused)) = {
366 const MallocDispatch* NativeAllocatorDispatch() { in NativeAllocatorDispatch()
H A Dmalloc_limit.cpp69 static constexpr MallocDispatch __limit_dispatch
/aosp12/bionic/libc/private/
H A Dbionic_globals.h60 _Atomic(const MallocDispatch*) current_dispatch_table;
63 _Atomic(const MallocDispatch*) default_dispatch_table;
64 MallocDispatch malloc_dispatch_table;
H A Dbionic_malloc_dispatch.h58 struct MallocDispatch { struct
/aosp12/bionic/libc/malloc_hooks/
H A 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()
/aosp12/bionic/libc/malloc_debug/
H A Dmalloc_debug.h64 extern const MallocDispatch* g_dispatch;
H A 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()
/aosp12/frameworks/libs/native_bridge_support/libc/
H A Dmalloc_init.cpp60 static const MallocDispatch malloc_default_dispatch __attribute__((unused)) = { in malloc_init_impl()
/aosp12/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_unit_tests.cpp55 bool debug_initialize(const MallocDispatch*, bool*, const char*);
126 static MallocDispatch dispatch;
129 MallocDispatch MallocDebugTest::dispatch = {