Searched refs:g_dispatch (Results 1 – 4 of 4) sorted by relevance
42 const MallocDispatch* g_dispatch; variable82 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()[all …]
68 const MallocDispatch* g_dispatch; variable261 return g_dispatch->malloc_usable_size(pointer); in InternalMallocUsableSize()269 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader()271 g_dispatch->free(orig_pointer); in InitHeader()310 g_dispatch = malloc_dispatch; in debug_initialize()401 g_dispatch->free(info); in debug_free_malloc_leak_info()406 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()445 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in InternalMalloc()451 pointer = g_dispatch->malloc(real_size); in InternalMalloc()471 return g_dispatch->malloc(size); in debug_malloc()[all …]
64 extern const MallocDispatch* g_dispatch;
316 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()529 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, list.size())); in GetInfo()