Searched refs:prev_dispatch (Results 1 – 2 of 2) sorted by relevance
50 static const MallocDispatch* prev_dispatch; variable61 prev_dispatch = dispatch; in gwp_asan_initialize()119 return prev_dispatch->calloc(n_elements, elem_size); in gwp_asan_calloc()127 prev_dispatch->free(mem); in gwp_asan_free()136 return prev_dispatch->malloc(bytes); in gwp_asan_malloc()143 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()154 return prev_dispatch->realloc(old_mem, bytes); in gwp_asan_realloc()165 return prev_dispatch->malloc_iterate(base, size, callback, arg); in gwp_asan_malloc_iterate()170 prev_dispatch->malloc_disable(); in gwp_asan_malloc_disable()175 prev_dispatch->malloc_enable(); in gwp_asan_malloc_enable()
327 const MallocDispatch* prev_dispatch = GetDefaultDispatchTable(); in FinishInstallHooks() local328 if (prev_dispatch == nullptr) { in FinishInstallHooks()329 prev_dispatch = NativeAllocatorDispatch(); in FinishInstallHooks()332 if (!init_func(prev_dispatch, &gZygoteChild, options)) { in FinishInstallHooks()