Lines Matching refs:GetDispatch
127 const MallocDispatchType* GetDispatch() in GetDispatch() function
1309 void* ret = hook_malloc(GetDispatch()->malloc, size); in ohos_malloc_hook_malloc()
1317 void* ret = hook_realloc(GetDispatch()->realloc, ptr, size); in ohos_malloc_hook_realloc()
1325 void* ret = hook_calloc(GetDispatch()->calloc, number, size); in ohos_malloc_hook_calloc()
1333 void* ret = hook_valloc(GetDispatch()->valloc, size); in ohos_malloc_hook_valloc()
1341 hook_free(GetDispatch()->free, p); in ohos_malloc_hook_free()
1348 size_t ret = hook_malloc_usable_size(GetDispatch()->malloc_usable_size, mem); in ohos_malloc_hook_malloc_usable_size()
1372 void* ret = hook_mmap(GetDispatch()->mmap, addr, length, prot, flags, fd, offset); in ohos_malloc_hook_mmap()
1380 int ret = hook_munmap(GetDispatch()->munmap, addr, length); in ohos_malloc_hook_munmap()
1395 void* ret = hook_aligned_alloc(GetDispatch()->aligned_alloc, align, len); in ohos_malloc_hook_aligned_alloc()
1404 int ret = hook_prctl((GetDispatch()->prctl), option, arg2, arg3, arg4, arg5); in ohos_malloc_hook_prctl()