Home
last modified time | relevance | path

Searched refs:grpc_linked_mdelem (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc/src/core/lib/transport/
Dmetadata_batch.h33 typedef struct grpc_linked_mdelem { struct
35 struct grpc_linked_mdelem* next; argument
36 struct grpc_linked_mdelem* prev; argument
38 } grpc_linked_mdelem; argument
43 grpc_linked_mdelem* head;
44 grpc_linked_mdelem* tail;
67 grpc_linked_mdelem* storage);
71 grpc_linked_mdelem* storage,
74 void grpc_metadata_batch_set_value(grpc_linked_mdelem* storage,
83 grpc_linked_mdelem* storage)
[all …]
Dstatic_metadata.h554 struct grpc_linked_mdelem* array[GRPC_BATCH_CALLOUTS_COUNT];
556 struct grpc_linked_mdelem* path;
557 struct grpc_linked_mdelem* method;
558 struct grpc_linked_mdelem* status;
559 struct grpc_linked_mdelem* authority;
560 struct grpc_linked_mdelem* scheme;
561 struct grpc_linked_mdelem* te;
562 struct grpc_linked_mdelem* grpc_message;
563 struct grpc_linked_mdelem* grpc_status;
564 struct grpc_linked_mdelem* grpc_payload_bin;
[all …]
Dmetadata_batch.cc35 grpc_linked_mdelem* l; in assert_valid_list()
58 for (grpc_linked_mdelem* l = batch->list.head; l != nullptr; l = l->next) { in assert_valid_callouts()
82 grpc_linked_mdelem* l; in grpc_metadata_batch_destroy()
97 grpc_linked_mdelem* storage)
101 grpc_linked_mdelem* storage) { in maybe_link_callout()
118 grpc_linked_mdelem* storage) { in maybe_unlink_callout()
130 grpc_linked_mdelem* storage, in grpc_metadata_batch_add_head()
137 static void link_head(grpc_mdelem_list* list, grpc_linked_mdelem* storage) { in link_head()
153 grpc_linked_mdelem* storage) { in grpc_metadata_batch_link_head()
166 grpc_linked_mdelem* storage, in grpc_metadata_batch_add_tail()
[all …]
Dtransport_op_string.cc48 grpc_linked_mdelem* m; in put_metadata_list()
/external/grpc-grpc/src/cpp/common/
Dchannel_filter.cc30 grpc_linked_mdelem* MetadataBatch::AddMetadata(const string& key, in AddMetadata()
32 grpc_linked_mdelem* storage = new grpc_linked_mdelem; in AddMetadata()
33 memset(storage, 0, sizeof(grpc_linked_mdelem)); in AddMetadata()
Dchannel_filter.h57 grpc_linked_mdelem* AddMetadata(const string& key, const string& value);
93 explicit const_iterator(grpc_linked_mdelem* elem) : elem_(elem) {} in const_iterator()
95 grpc_linked_mdelem* elem_;
/external/grpc-grpc/src/cpp/ext/filters/census/
Dclient_filter.h50 memset(&stats_bin_, 0, sizeof(grpc_linked_mdelem)); in CensusClientCallData()
51 memset(&tracing_bin_, 0, sizeof(grpc_linked_mdelem)); in CensusClientCallData()
75 grpc_linked_mdelem stats_bin_;
76 grpc_linked_mdelem tracing_bin_;
Dserver_filter.h51 memset(&census_bin_, 0, sizeof(grpc_linked_mdelem)); in CensusServerCallData()
81 grpc_linked_mdelem census_bin_;
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dincoming_metadata.cc47 static_cast<grpc_linked_mdelem*>( in grpc_chttp2_incoming_metadata_buffer_add()
48 gpr_arena_alloc(buffer->arena, sizeof(grpc_linked_mdelem))), in grpc_chttp2_incoming_metadata_buffer_add()
54 for (grpc_linked_mdelem* l = buffer->batch.list.head; l != nullptr; in grpc_chttp2_incoming_metadata_buffer_replace_or_add()
Dhpack_encoder.cc700 for (grpc_linked_mdelem* l = metadata->list.head; l; l = l->next) { in grpc_chttp2_encode_header()
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_encoder_test.cc61 grpc_linked_mdelem* e = in verify()
62 static_cast<grpc_linked_mdelem*>(gpr_malloc(sizeof(*e) * nheaders)); in verify()
207 grpc_linked_mdelem* e = in verify_table_size_change_match_elem_size()
208 static_cast<grpc_linked_mdelem*>(gpr_malloc(sizeof(*e))); in verify_table_size_change_match_elem_size()
/external/grpc-grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc46 grpc_linked_mdelem method;
47 grpc_linked_mdelem scheme;
48 grpc_linked_mdelem authority;
49 grpc_linked_mdelem te_trailers;
50 grpc_linked_mdelem content_type;
51 grpc_linked_mdelem user_agent;
/external/grpc-grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc54 grpc_linked_mdelem compression_algorithm_storage;
55 grpc_linked_mdelem stream_compression_algorithm_storage;
56 grpc_linked_mdelem accept_encoding_storage;
57 grpc_linked_mdelem accept_stream_encoding_storage;
/external/grpc-grpc/src/core/lib/surface/
Dlame_client.cc44 grpc_linked_mdelem status;
45 grpc_linked_mdelem details;
Dcall.cc180 grpc_linked_mdelem send_extra_metadata[MAX_SEND_EXTRA_METADATA_COUNT];
289 sizeof(grpc_linked_mdelem) * ESTIMATED_MDELEM_COUNT; in grpc_call_get_initial_size_estimate()
844 static grpc_linked_mdelem* linked_from_md(const grpc_metadata* md) { in linked_from_md()
845 return (grpc_linked_mdelem*)&md->internal_data; in linked_from_md()
870 grpc_linked_mdelem* l = linked_from_md(md); in prepare_application_metadata()
871 GPR_ASSERT(sizeof(grpc_linked_mdelem) == sizeof(md->internal_data)); in prepare_application_metadata()
887 grpc_linked_mdelem* l = linked_from_md(md); in prepare_application_metadata()
905 grpc_linked_mdelem* l = linked_from_md(md); in prepare_application_metadata()
964 for (grpc_linked_mdelem* l = b->list.head; l != nullptr; l = l->next) { in publish_app_metadata()
/external/grpc-grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc185 for (grpc_linked_mdelem* md = md_batch->list.head; md != nullptr; in log_metadata()
211 for (grpc_linked_mdelem* elem = metadata->list.head; in fill_in_metadata()
213 grpc_linked_mdelem* nelem = static_cast<grpc_linked_mdelem*>( in fill_in_metadata()
434 grpc_linked_mdelem* path_md = static_cast<grpc_linked_mdelem*>( in fail_helper_locked()
439 grpc_linked_mdelem* auth_md = static_cast<grpc_linked_mdelem*>( in fail_helper_locked()
/external/grpc-grpc/src/core/ext/filters/http/server/
Dhttp_server_filter.cc44 grpc_linked_mdelem status;
45 grpc_linked_mdelem content_type;
250 grpc_linked_mdelem* el = b->idx.named.host; in hs_filter_incoming_metadata()
/external/grpc-grpc/src/core/ext/filters/http/
Dclient_authority_filter.cc42 grpc_linked_mdelem authority_storage;
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy.h72 grpc_linked_mdelem lb_token_mdelem_storage;
Dclient_channel.cc853 grpc_linked_mdelem* send_initial_metadata_storage;
859 grpc_linked_mdelem* send_trailing_metadata_storage;
975 grpc_linked_mdelem* send_initial_metadata_storage;
991 grpc_linked_mdelem* send_trailing_metadata_storage;
1022 calld->send_initial_metadata_storage = (grpc_linked_mdelem*)gpr_arena_alloc( in maybe_cache_send_ops_for_batch()
1024 sizeof(grpc_linked_mdelem) * send_initial_metadata->list.count); in maybe_cache_send_ops_for_batch()
1048 (grpc_linked_mdelem*)gpr_arena_alloc( in maybe_cache_send_ops_for_batch()
1050 sizeof(grpc_linked_mdelem) * send_trailing_metadata->list.count); in maybe_cache_send_ops_for_batch()
2200 static_cast<grpc_linked_mdelem*>(gpr_arena_alloc( in add_retriable_send_initial_metadata_op()
2201 calld->arena, sizeof(grpc_linked_mdelem) * in add_retriable_send_initial_metadata_op()
[all …]
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc325 std::vector<grpc_linked_mdelem> storage(elems.size()); in BM_StreamCreateSendInitialMetadataDestroy()
414 std::vector<grpc_linked_mdelem> storage(elems.size()); in BM_TransportStreamSend()
547 std::vector<grpc_linked_mdelem> storage(elems.size()); in BM_TransportStreamRecv()
Dbm_chttp2_hpack.cc122 std::vector<grpc_linked_mdelem> storage(elems.size()); in BM_HpackEncoderEncodeHeader()
/external/grpc-grpc/src/core/lib/security/transport/
Dserver_auth_filter.cc62 grpc_linked_mdelem* l; in metadata_batch_to_md_array()
Dclient_auth_filter.cc57 grpc_linked_mdelem md_links[MAX_CREDENTIALS_METADATA_COUNT];
/external/grpc-grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc707 grpc_linked_mdelem* head, const char* host, char** pp_url, in convert_metadata_to_cronet_headers()
710 grpc_linked_mdelem* curr = head; in convert_metadata_to_cronet_headers()
791 static bool header_has_authority(grpc_linked_mdelem* head) { in header_has_authority()

12