Lines Matching refs:g_dispatch
42 const MallocDispatch* g_dispatch; variable
82 return g_dispatch->malloc(bytes); in default_malloc_hook()
86 return g_dispatch->realloc(pointer, bytes); in default_realloc_hook()
90 g_dispatch->free(pointer); in default_free_hook()
94 return g_dispatch->memalign(alignment, bytes); in default_memalign_hook()
101 g_dispatch = malloc_dispatch; in hooks_initialize()
125 return g_dispatch->malloc_usable_size(pointer); in hooks_malloc_usable_size()
132 return g_dispatch->malloc(size); in hooks_malloc()
139 return g_dispatch->free(pointer); in hooks_free()
146 return g_dispatch->memalign(alignment, bytes); in hooks_memalign()
153 return g_dispatch->realloc(pointer, bytes); in hooks_realloc()
168 return g_dispatch->calloc(nmemb, bytes); in hooks_calloc()
172 return g_dispatch->mallinfo(); in hooks_mallinfo()
176 return g_dispatch->mallopt(param, value); in hooks_mallopt()
180 return g_dispatch->malloc_info(options, fp); in hooks_malloc_info()
195 return g_dispatch->aligned_alloc(alignment, size); in hooks_aligned_alloc()
209 return g_dispatch->posix_memalign(memptr, alignment, size); in hooks_posix_memalign()