Lines Matching refs:g_dispatch

68 const MallocDispatch* g_dispatch;  variable
261 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()
515 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
539 g_dispatch->free(pointer); in InternalFree()
542 g_dispatch->free(free_pointer); in InternalFree()
548 return g_dispatch->free(pointer); in debug_free()
567 return g_dispatch->memalign(alignment, bytes); in debug_memalign()
604 pointer = g_dispatch->malloc(real_size); in debug_memalign()
622 pointer = g_dispatch->memalign(alignment, real_size); in debug_memalign()
647 return g_dispatch->realloc(pointer, bytes); in debug_realloc()
736 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
737 new_pointer = g_dispatch->realloc(pointer, real_size); in debug_realloc()
767 return g_dispatch->calloc(nmemb, bytes); in debug_calloc()
800 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in debug_calloc()
804 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
807 pointer = g_dispatch->calloc(1, real_size); in debug_calloc()
821 return g_dispatch->mallinfo(); in debug_mallinfo()
825 return g_dispatch->mallopt(param, value); in debug_mallopt()
830 return g_dispatch->malloc_info(options, fp); in debug_malloc_info()
866 return g_dispatch->aligned_alloc(alignment, size); in debug_aligned_alloc()
877 return g_dispatch->posix_memalign(memptr, alignment, size); in debug_posix_memalign()
902 return g_dispatch->malloc_iterate(base, size, callback, arg); in debug_malloc_iterate()
907 g_dispatch->malloc_disable(); in debug_malloc_disable()
918 g_dispatch->malloc_enable(); in debug_malloc_enable()
939 return g_dispatch->pvalloc(bytes); in debug_pvalloc()
954 return g_dispatch->valloc(size); in debug_valloc()