Searched refs:gpr_allocation_functions (Results 1 – 5 of 5) sorted by relevance
30 typedef struct gpr_allocation_functions { struct35 } gpr_allocation_functions; argument59 GPRAPI void gpr_set_allocation_functions(gpr_allocation_functions functions);62 GPRAPI gpr_allocation_functions gpr_get_allocation_functions(void);
36 static gpr_allocation_functions g_alloc_functions = {malloc, zalloc_with_calloc,39 gpr_allocation_functions gpr_get_allocation_functions() { in gpr_get_allocation_functions()43 void gpr_set_allocation_functions(gpr_allocation_functions functions) { in gpr_set_allocation_functions()
35 const gpr_allocation_functions default_fns = gpr_get_allocation_functions(); in test_custom_allocs()38 gpr_allocation_functions fns = {fake_malloc, nullptr, fake_realloc, in test_custom_allocs()
28 static gpr_allocation_functions g_old_allocs;84 struct gpr_allocation_functions g_guard_allocs = {guard_malloc, nullptr,
647 typedef void(*gpr_set_allocation_functions_type)(gpr_allocation_functions functions);650 typedef gpr_allocation_functions(*gpr_get_allocation_functions_type)(void);