Home
last modified time | relevance | path

Searched refs:gpr_allocation_functions (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/include/grpc/support/
Dalloc.h30 typedef struct gpr_allocation_functions { struct
35 } gpr_allocation_functions; argument
59 GPRAPI void gpr_set_allocation_functions(gpr_allocation_functions functions);
62 GPRAPI gpr_allocation_functions gpr_get_allocation_functions(void);
/external/grpc-grpc/src/core/lib/gpr/
Dalloc.cc36 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()
/external/grpc-grpc/test/core/gpr/
Dalloc_test.cc35 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()
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc28 static gpr_allocation_functions g_old_allocs;
84 struct gpr_allocation_functions g_guard_allocs = {guard_malloc, nullptr,
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h647 typedef void(*gpr_set_allocation_functions_type)(gpr_allocation_functions functions);
650 typedef gpr_allocation_functions(*gpr_get_allocation_functions_type)(void);