Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_hook/src/
Dhook_client.cpp127 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()
[all …]