Searched refs:g_old_allocs (Results 1 – 1 of 1) sorted by relevance
28 static gpr_allocation_functions g_old_allocs; variable51 ptr = static_cast<size_t*>(g_old_allocs.malloc_fn(size + sizeof(size))); in guard_malloc()70 ptr = static_cast<size_t*>(g_old_allocs.realloc_fn(ptr, size + sizeof(size))); in guard_realloc()81 g_old_allocs.free_fn(ptr); in guard_free()89 g_old_allocs = gpr_get_allocation_functions(); in grpc_memory_counters_init()94 gpr_set_allocation_functions(g_old_allocs); in grpc_memory_counters_destroy()