Home
last modified time | relevance | path

Searched refs:gpr_arena (Results 1 – 24 of 24) sorted by relevance

/external/grpc-grpc/src/core/lib/gpr/
Darena.cc40 struct gpr_arena { struct
46 gpr_arena* gpr_arena_create(size_t ignored_initial_size) { in gpr_arena_create() argument
47 gpr_arena* arena = (gpr_arena*)gpr_zalloc(sizeof(*arena)); in gpr_arena_create()
52 size_t gpr_arena_destroy(gpr_arena* arena) { in gpr_arena_destroy()
62 void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc()
83 struct gpr_arena { struct
99 gpr_arena* gpr_arena_create(size_t initial_size) { in gpr_arena_create() argument
101 gpr_arena* a = static_cast<gpr_arena*>(zalloc_aligned( in gpr_arena_create()
102 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(gpr_arena)) + initial_size)); in gpr_arena_create()
109 size_t gpr_arena_destroy(gpr_arena* arena) { in gpr_arena_destroy()
[all …]
Darena.h32 typedef struct gpr_arena gpr_arena; typedef
35 gpr_arena* gpr_arena_create(size_t initial_size);
37 void* gpr_arena_alloc(gpr_arena* arena, size_t size);
39 size_t gpr_arena_destroy(gpr_arena* arena);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Darena.h35 typedef class grpc_core::Arena gpr_arena; typedef
37 inline gpr_arena* gpr_arena_create(size_t initial_size) { in gpr_arena_create()
41 inline size_t gpr_arena_destroy(gpr_arena* arena) { return arena->Destroy(); } in gpr_arena_destroy()
43 inline void* gpr_arena_alloc(gpr_arena* arena, size_t size) { in gpr_arena_alloc()
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.h29 struct gpr_arena;
95 gpr_arena* arena);
108 gpr_arena* arena);
Dsecurity_context.cc86 gpr_arena* arena) { in grpc_client_security_context_create()
104 gpr_arena* arena) { in grpc_server_security_context_create()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dincoming_metadata.h27 gpr_arena* arena;
34 grpc_chttp2_incoming_metadata_buffer* buffer, gpr_arena* arena);
Dincoming_metadata.cc31 grpc_chttp2_incoming_metadata_buffer* buffer, gpr_arena* arena) { in grpc_chttp2_incoming_metadata_buffer_init()
Dchttp2_transport.cc668 gpr_arena* arena) { in init_stream()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_arena.cc34 gpr_arena* a = gpr_arena_create(state.range(0)); in BM_Arena_ManyAlloc()
51 gpr_arena* a = gpr_arena_create(state.range(0)); in BM_Arena_Batch()
Dbm_chttp2_hpack.cc473 gpr_arena_destroy((gpr_arena*)p.on_header_user_data); in BM_HpackParserParseHeader()
478 gpr_arena_destroy((gpr_arena*)p.on_header_user_data); in BM_HpackParserParseHeader()
782 grpc_chttp2_incoming_metadata_buffer_init(&buffer, (gpr_arena*)user_data); in OnInitialHeader()
Dbm_chttp2_transport.cc248 gpr_arena* arena_;
Dbm_call_create.cc418 gpr_arena* arena) { in InitStream()
/external/grpc-grpc/test/core/gpr/
Darena_test.cc53 gpr_arena* a = gpr_arena_create(init_size); in test()
83 gpr_arena* arena;
/external/grpc-grpc/src/core/lib/transport/
Dtransport_impl.h37 gpr_arena* arena);
Dtransport.h311 const void* server_data, gpr_arena* arena);
Dtransport.cc161 const void* server_data, gpr_arena* arena) {
/external/grpc-grpc/src/core/lib/surface/
Dcall.h75 gpr_arena* grpc_call_get_arena(grpc_call* call);
Dcall.cc122 gpr_arena* arena;
302 gpr_arena* arena = gpr_arena_create(initial_size); in grpc_call_create()
1045 gpr_arena* grpc_call_get_arena(grpc_call* call) { return call->arena; } in grpc_call_get_arena()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_stack.h72 gpr_arena* arena;
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel.h82 gpr_arena* arena;
Dclient_channel.cc920 gpr_arena* arena;
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc45 gpr_arena* arena;
/external/grpc-grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc94 gpr_arena* arena;
226 gpr_arena* arena) { in init_stream()
/external/grpc-grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc177 gpr_arena* arena;
1359 gpr_arena* arena) { in init_stream()