Lines Matching refs:g_dispatch

71 const MallocDispatch* g_dispatch;  variable
142 decltype((g_dispatch->*fn)(args...)) r; in TimerCall()
145 r = (g_dispatch->*fn)(args...); in TimerCall()
147 r = (g_dispatch->*fn)(args...); in TimerCall()
158 (g_dispatch->*fn)(args...); in TimerCallVoid()
358 return g_dispatch->malloc_usable_size(pointer); in InternalMallocUsableSize()
366 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader()
368 g_dispatch->free(orig_pointer); in InitHeader()
407 g_dispatch = malloc_dispatch; in debug_initialize()
497 g_dispatch->free(info); in debug_free_malloc_leak_info()
500 g_dispatch->mallopt(M_PURGE_ALL, 0); in debug_free_malloc_leak_info()
507 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()
584 return g_dispatch->malloc(size); in debug_malloc()
633 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
669 return g_dispatch->free(pointer); in debug_free()
691 return g_dispatch->memalign(alignment, bytes); in debug_memalign()
778 return g_dispatch->realloc(pointer, bytes); in debug_realloc()
876 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
911 return g_dispatch->calloc(nmemb, bytes); in debug_calloc()
949 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
968 return g_dispatch->mallinfo(); in debug_mallinfo()
972 return g_dispatch->mallopt(param, value); in debug_mallopt()
977 return g_dispatch->malloc_info(options, fp); in debug_malloc_info()
1015 return g_dispatch->aligned_alloc(alignment, size); in debug_aligned_alloc()
1028 return g_dispatch->posix_memalign(memptr, alignment, size); in debug_posix_memalign()
1052 return g_dispatch->malloc_iterate(base, size, callback, arg); in debug_malloc_iterate()
1057 g_dispatch->malloc_disable(); in debug_malloc_disable()
1068 g_dispatch->malloc_enable(); in debug_malloc_enable()
1091 return g_dispatch->pvalloc(bytes); in debug_pvalloc()
1108 return g_dispatch->valloc(size); in debug_valloc()
1135 g_dispatch->mallopt(M_PURGE_ALL, 0); in write_dump()