Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgwp_asan_wrappers.cpp58 static const MallocDispatch* prev_dispatch; variable
82 return prev_dispatch->calloc(n_elements, elem_size); in gwp_asan_calloc()
90 prev_dispatch->free(mem); in gwp_asan_free()
99 return prev_dispatch->malloc(bytes); in gwp_asan_malloc()
106 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
128 return prev_dispatch->realloc(old_mem, bytes); in gwp_asan_realloc()
139 return prev_dispatch->malloc_iterate(base, size, callback, arg); in gwp_asan_malloc_iterate()
144 prev_dispatch->malloc_disable(); in gwp_asan_malloc_disable()
149 prev_dispatch->malloc_enable(); in gwp_asan_malloc_enable()
468 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()