Home
last modified time | relevance | path

Searched refs:gpr_arena_alloc (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_arena.cc38 gpr_arena_alloc(a, state.range(1)); in BM_Arena_ManyAlloc()
53 gpr_arena_alloc(a, state.range(2)); in BM_Arena_Batch()
/external/grpc-grpc/src/core/lib/gpr/
Darena.cc62 void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc() function
122 void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc() function
Darena.h37 void* gpr_arena_alloc(gpr_arena* arena, size_t size);
/external/grpc-grpc/test/core/gpr/
Darena_test.cc56 ps[i] = gpr_arena_alloc(a, allocs[i]); in test()
90 *static_cast<char*>(gpr_arena_alloc(a->arena, 1)) = static_cast<char>(i); in concurrent_test_body()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dincoming_metadata.cc48 gpr_arena_alloc(buffer->arena, sizeof(grpc_linked_mdelem))), in grpc_chttp2_incoming_metadata_buffer_add()
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.cc88 gpr_arena_alloc(arena, sizeof(grpc_client_security_context))); in grpc_client_security_context_create()
106 gpr_arena_alloc(arena, sizeof(grpc_server_security_context))); in grpc_server_security_context_create()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc266 return gpr_arena_alloc(call->arena, size); in grpc_call_arena_alloc()
272 p = static_cast<parent_call*>(gpr_arena_alloc(call->arena, sizeof(*p))); in get_or_create_parent_call()
304 gpr_arena_alloc(arena, GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_call)) + in grpc_call_create()
350 static_cast<child_call*>(gpr_arena_alloc(arena, sizeof(child_call))); in grpc_call_create()
1106 gpr_arena_alloc(call->arena, sizeof(batch_control))); in reuse_or_allocate_batch_control()
/external/grpc-grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc214 gpr_arena_alloc(s->arena, sizeof(*nelem))); in fill_in_metadata()
435 gpr_arena_alloc(s->arena, sizeof(*path_md))); in fail_helper_locked()
440 gpr_arena_alloc(s->arena, sizeof(*auth_md))); in fail_helper_locked()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc1022 calld->send_initial_metadata_storage = (grpc_linked_mdelem*)gpr_arena_alloc( in maybe_cache_send_ops_for_batch()
1036 gpr_arena_alloc(calld->arena, sizeof(grpc_core::ByteStreamCache))); in maybe_cache_send_ops_for_batch()
1048 (grpc_linked_mdelem*)gpr_arena_alloc( in maybe_cache_send_ops_for_batch()
1560 gpr_arena_alloc(calld->arena, sizeof(*batch_data))); in batch_data_create()
2200 static_cast<grpc_linked_mdelem*>(gpr_arena_alloc( in add_retriable_send_initial_metadata_op()
2266 static_cast<grpc_linked_mdelem*>(gpr_arena_alloc( in add_retriable_send_trailing_metadata_op()
Dsubchannel.cc857 gpr_arena_alloc(args.arena, allocation_size)); in CreateCall()