/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.h | 63 typedef struct grpc_mdelem grpc_mdelem; typedef 91 struct grpc_mdelem { struct 102 (grpc_mdelem{((uintptr_t)(data)) | ((uintptr_t)storage)}) argument 105 ((grpc_mdelem){((uintptr_t)(data)) | ((uintptr_t)storage)}) 112 grpc_mdelem grpc_mdelem_from_slices(grpc_slice key, grpc_slice value); 116 grpc_mdelem grpc_mdelem_from_grpc_metadata(grpc_metadata* metadata); 122 grpc_mdelem grpc_mdelem_create( 126 bool grpc_mdelem_eq(grpc_mdelem a, grpc_mdelem b); 130 void* grpc_mdelem_get_user_data(grpc_mdelem md, void (*if_destroy_func)(void*)); 131 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*), [all …]
|
D | metadata_batch.h | 34 grpc_mdelem md; 72 grpc_mdelem new_value); 103 grpc_mdelem elem_to_add) GRPC_MUST_USE_RESULT; 113 grpc_mdelem elem_to_add) GRPC_MUST_USE_RESULT; 115 grpc_error* grpc_attach_md_to_error(grpc_error* src, grpc_mdelem md); 119 grpc_mdelem md; 130 void* user_data, grpc_mdelem elem);
|
D | metadata.cc | 145 static int is_mdelem_static(grpc_mdelem e) { in is_mdelem_static() 239 grpc_mdelem grpc_mdelem_create( in grpc_mdelem_create() 269 grpc_mdelem static_elem = grpc_static_mdelem_for_static_strings( in grpc_mdelem_create() 327 grpc_mdelem grpc_mdelem_from_slices(grpc_slice key, grpc_slice value) { in grpc_mdelem_from_slices() 328 grpc_mdelem out = grpc_mdelem_create(key, value, nullptr); in grpc_mdelem_from_slices() 334 grpc_mdelem grpc_mdelem_from_grpc_metadata(grpc_metadata* metadata) { in grpc_mdelem_from_grpc_metadata() 345 grpc_mdelem grpc_mdelem_ref(grpc_mdelem gmd DEBUG_ARGS) { in grpc_mdelem_ref() 399 void grpc_mdelem_unref(grpc_mdelem gmd DEBUG_ARGS) { in grpc_mdelem_unref() 458 void* grpc_mdelem_get_user_data(grpc_mdelem md, void (*destroy_func)(void*)) { in grpc_mdelem_get_user_data() 481 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*), in grpc_mdelem_set_user_data() [all …]
|
D | metadata_batch.cc | 88 grpc_error* grpc_attach_md_to_error(grpc_error* src, grpc_mdelem md) { in grpc_attach_md_to_error() 131 grpc_mdelem elem_to_add) { in grpc_metadata_batch_add_head() 167 grpc_mdelem elem_to_add) { in grpc_metadata_batch_add_tail() 230 grpc_mdelem old_mdelem = storage->md; in grpc_metadata_batch_set_value() 231 grpc_mdelem new_mdelem = grpc_mdelem_from_slices( in grpc_metadata_batch_set_value() 239 grpc_mdelem new_mdelem) { in grpc_metadata_batch_substitute() 242 grpc_mdelem old_mdelem = storage->md; in grpc_metadata_batch_substitute()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.h | 68 grpc_mdelem* ents; 69 grpc_mdelem static_ents[GRPC_CHTTP2_LAST_STATIC_ENTRY]; 81 grpc_mdelem grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl* tbl, 85 grpc_mdelem md) GRPC_MUST_USE_RESULT; 87 size_t grpc_chttp2_get_size_in_hpack_table(grpc_mdelem elem, 93 uint8_t grpc_chttp2_get_static_hpack_table_index(grpc_mdelem md); 102 const grpc_chttp2_hptbl* tbl, grpc_mdelem md);
|
D | hpack_table.cc | 180 tbl->ents = static_cast<grpc_mdelem*>( in grpc_chttp2_hptbl_init() 202 grpc_mdelem grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_lookup() 221 grpc_mdelem first_ent = tbl->ents[tbl->first_ent]; in evict1() 233 grpc_mdelem* ents = in rebuild_ents() 234 static_cast<grpc_mdelem*>(gpr_malloc(sizeof(*ents) * new_cap)); in rebuild_ents() 293 grpc_error* grpc_chttp2_hptbl_add(grpc_chttp2_hptbl* tbl, grpc_mdelem md) { in grpc_chttp2_hptbl_add() 345 const grpc_chttp2_hptbl* tbl, grpc_mdelem md) { in grpc_chttp2_hptbl_find() 351 grpc_mdelem ent = tbl->static_ents[i]; in grpc_chttp2_hptbl_find() 362 grpc_mdelem ent = tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]; in grpc_chttp2_hptbl_find() 377 size_t grpc_chttp2_get_size_in_hpack_table(grpc_mdelem elem, in grpc_chttp2_get_size_in_hpack_table() [all …]
|
D | hpack_encoder.cc | 216 static void add_nothing(grpc_chttp2_hpack_compressor* c, grpc_mdelem elem, in add_nothing() 222 grpc_mdelem elem, uint32_t new_index) { in add_key_with_index() 262 grpc_mdelem elem, uint32_t new_index) { in add_elem_with_index() 304 static void add_elem(grpc_chttp2_hpack_compressor* c, grpc_mdelem elem, in add_elem() 310 static void add_key(grpc_chttp2_hpack_compressor* c, grpc_mdelem elem, in add_key() 330 static wire_value get_wire_value(grpc_mdelem elem, bool true_binary_enabled) { in get_wire_value() 366 uint32_t key_index, grpc_mdelem elem, in emit_lithdr_incidx() 383 uint32_t key_index, grpc_mdelem elem, in emit_lithdr_noidx() 400 uint32_t unused_index, grpc_mdelem elem, in emit_lithdr_incidx_v() 422 uint32_t unused_index, grpc_mdelem elem, in emit_lithdr_noidx_v() [all …]
|
D | incoming_metadata.h | 42 grpc_mdelem elem) GRPC_MUST_USE_RESULT; 45 grpc_mdelem elem) GRPC_MUST_USE_RESULT;
|
D | hpack_encoder.h | 67 grpc_mdelem entries_elems[GRPC_CHTTP2_HPACKC_NUM_VALUES]; 90 grpc_mdelem** extra_headers,
|
D | incoming_metadata.cc | 43 grpc_chttp2_incoming_metadata_buffer* buffer, grpc_mdelem elem) { in grpc_chttp2_incoming_metadata_buffer_add() 53 grpc_chttp2_incoming_metadata_buffer* buffer, grpc_mdelem elem) { in grpc_chttp2_incoming_metadata_buffer_replace_or_add()
|
/external/grpc-grpc/test/core/transport/ |
D | metadata_test.cc | 59 grpc_mdelem m1, m2, m3; in test_create_metadata() 115 grpc_mdelem* created = in test_create_many_persistant_metadata() 116 static_cast<grpc_mdelem*>(gpr_malloc(sizeof(grpc_mdelem) * MANY)); in test_create_many_persistant_metadata() 117 grpc_mdelem md; in test_create_many_persistant_metadata() 157 grpc_mdelem a, b, c; in test_spin_creating_the_same_thing() 184 grpc_mdelem a, b, c; in test_identity_laws() 272 grpc_mdelem md; in test_user_data_works() 294 grpc_mdelem elem = grpc_mdelem_from_slices( in verify_ascii_header_size() 306 grpc_mdelem elem = grpc_mdelem_from_slices( in verify_binary_header_size() 354 grpc_mdelem p = GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[i], in test_copied_static_metadata() [all …]
|
D | status_metadata_test.cc | 43 grpc_mdelem status_md = grpc_mdelem_from_slices( in TEST() 50 grpc_mdelem status_md = grpc_mdelem_from_slices( in TEST()
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 121 std::vector<grpc_mdelem> elems = Fixture::GetElems(); in BM_HpackEncoderEncodeHeader() 175 static std::vector<grpc_mdelem> GetElems() { return {}; } in GetElems() 181 static std::vector<grpc_mdelem> GetElems() { in GetElems() 189 static std::vector<grpc_mdelem> GetElems() { in GetElems() 200 static std::vector<grpc_mdelem> GetElems() { in GetElems() 202 std::vector<grpc_mdelem> out = {grpc_mdelem_from_slices( in GetElems() 223 static std::vector<grpc_mdelem> GetElems() { in GetElems() 233 static std::vector<grpc_mdelem> GetElems() { in GetElems() 243 static std::vector<grpc_mdelem> GetElems() { in GetElems() 262 static std::vector<grpc_mdelem> GetElems() { in GetElems() [all …]
|
D | bm_metadata.cc | 124 grpc_mdelem seed = grpc_mdelem_create(k, v, nullptr); in BM_MetadataFromInternedSlicesAlreadyInIndex() 234 grpc_mdelem el = grpc_mdelem_create( in BM_MetadataRefUnrefExternal() 252 grpc_mdelem el = grpc_mdelem_create( in BM_MetadataRefUnrefInterned() 268 grpc_mdelem el = in BM_MetadataRefUnrefAllocated() 283 grpc_mdelem el = in BM_MetadataRefUnrefStatic()
|
/external/grpc-grpc/src/core/lib/compression/ |
D | algorithm_metadata.h | 38 grpc_mdelem grpc_compression_encoding_mdelem( 43 grpc_mdelem grpc_message_compression_encoding_mdelem( 48 grpc_mdelem grpc_stream_compression_encoding_mdelem(
|
/external/grpc-grpc/src/core/lib/security/credentials/ |
D | credentials_metadata.cc | 38 list->md = static_cast<grpc_mdelem*>( in mdelem_list_ensure_capacity() 39 gpr_realloc(list->md, sizeof(grpc_mdelem) * new_size)); in mdelem_list_ensure_capacity() 43 grpc_mdelem md) { in grpc_credentials_mdelem_array_add()
|
D | credentials.h | 145 grpc_mdelem* md; 151 grpc_mdelem md);
|
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.h | 73 grpc_mdelem access_token_md; 91 grpc_mdelem access_token_md; 103 const struct grpc_http_response* response, grpc_mdelem* token_md,
|
/external/grpc-grpc/src/core/ext/filters/workarounds/ |
D | workaround_utils.h | 33 grpc_workaround_user_agent_md* grpc_parse_user_agent(grpc_mdelem md); 35 typedef bool (*user_agent_parser)(grpc_mdelem);
|
D | workaround_cronet_compression_filter.cc | 48 grpc_mdelem* md) { in get_user_agent_mdelem() 62 grpc_mdelem md; in recv_initial_metadata_ready() 133 static bool parse_user_agent(grpc_mdelem md) { in parse_user_agent()
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.h | 75 grpc_mdelem md); 79 grpc_mdelem md);
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | hpack_table_test.cc | 42 grpc_mdelem md = grpc_chttp2_hptbl_lookup(tbl, idx); in assert_index() 131 grpc_mdelem elem; in test_many_additions() 157 grpc_mdelem md = grpc_mdelem_from_slices( in find_simple() 170 grpc_mdelem elem; in test_find()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | channel.cc | 56 grpc_mdelem path; 57 grpc_mdelem authority; 298 grpc_mdelem path_mdelem, grpc_mdelem authority_mdelem, in grpc_channel_create_call_internal() 300 grpc_mdelem send_metadata[2]; in grpc_channel_create_call_internal() 472 grpc_mdelem grpc_channel_get_reffed_status_elem(grpc_channel* channel, int i) { in grpc_channel_get_reffed_status_elem()
|
/external/grpc-grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 73 grpc_mdelem static_scheme; 74 grpc_mdelem user_agent; 288 grpc_mdelem mdelem_path_and_query = in update_path_for_get() 336 grpc_mdelem method = GRPC_MDELEM_METHOD_POST; in hc_start_transport_stream_op_batch() 451 static grpc_mdelem scheme_from_args(const grpc_channel_args* args) { in scheme_from_args() 454 grpc_mdelem valid_schemes[] = {GRPC_MDELEM_SCHEME_HTTP, in scheme_from_args()
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 173 grpc_mdelem md = grpc_mdelem_from_slices( in test_add_to_empty_md_array() 188 grpc_mdelem md = grpc_mdelem_from_slices( in test_add_abunch_to_md_array() 203 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_ok() 220 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_bad_http_status() 232 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_empty_http_body() 243 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_invalid_json() 258 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_missing_token() 272 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_missing_token_type() 288 grpc_mdelem token_md = GRPC_MDNULL; in test_oauth2_token_fetcher_creds_parsing_missing_token_lifetime()
|