Lines Matching refs:pointer
57 ssize_t hooks_malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
59 size_t hooks_malloc_usable_size(void* pointer);
62 void hooks_free(void* pointer);
65 void* hooks_realloc(void* pointer, size_t bytes);
85 static void* default_realloc_hook(void* pointer, size_t bytes, const void*) { in default_realloc_hook() argument
86 return g_dispatch->realloc(pointer, bytes); in default_realloc_hook()
89 static void default_free_hook(void* pointer, const void*) { in default_free_hook() argument
90 g_dispatch->free(pointer); in default_free_hook()
124 size_t hooks_malloc_usable_size(void* pointer) { in hooks_malloc_usable_size() argument
125 return g_dispatch->malloc_usable_size(pointer); in hooks_malloc_usable_size()
135 void hooks_free(void* pointer) { in hooks_free() argument
137 return __free_hook(pointer, __builtin_return_address(0)); in hooks_free()
139 return g_dispatch->free(pointer); in hooks_free()
149 void* hooks_realloc(void* pointer, size_t bytes) { in hooks_realloc() argument
151 return __realloc_hook(pointer, bytes, __builtin_return_address(0)); in hooks_realloc()
153 return g_dispatch->realloc(pointer, bytes); in hooks_realloc()