Home
last modified time | relevance | path

Searched refs:prev_dispatch (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dgwp_asan_wrappers.cpp57 static const MallocDispatch* prev_dispatch; variable
81 return prev_dispatch->calloc(n_elements, elem_size); in gwp_asan_calloc()
89 prev_dispatch->free(mem); in gwp_asan_free()
98 return prev_dispatch->malloc(bytes); in gwp_asan_malloc()
105 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
127 return prev_dispatch->realloc(old_mem, bytes); in gwp_asan_realloc()
138 return prev_dispatch->malloc_iterate(base, size, callback, arg); in gwp_asan_malloc_iterate()
143 prev_dispatch->malloc_disable(); in gwp_asan_malloc_disable()
148 prev_dispatch->malloc_enable(); in gwp_asan_malloc_enable()
393 prev_dispatch = NativeAllocatorDispatch(); in MaybeInitGwpAsan()
Dmalloc_heapprofd.cpp296 const MallocDispatch* prev_dispatch = in HandleHeapprofdSignal() local
298 gEphemeralDispatch = prev_dispatch ? *prev_dispatch : *NativeAllocatorDispatch(); in HandleHeapprofdSignal()
Dmalloc_common_dynamic.cpp327 const MallocDispatch* prev_dispatch = GetDefaultDispatchTable(); in FinishInstallHooks() local
328 if (prev_dispatch == nullptr) { in FinishInstallHooks()
329 prev_dispatch = NativeAllocatorDispatch(); in FinishInstallHooks()
332 if (!init_func(prev_dispatch, &gZygoteChild, options)) { in FinishInstallHooks()