/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 227 uint32_t key_hash = grpc_slice_hash(GRPC_MDKEY(elem)); in add_key_with_index() 231 GRPC_MDKEY(elem))) { in add_key_with_index() 234 GRPC_MDKEY(elem))) { in add_key_with_index() 239 grpc_slice_ref_internal(GRPC_MDKEY(elem)); in add_key_with_index() 244 grpc_slice_ref_internal(GRPC_MDKEY(elem)); in add_key_with_index() 250 grpc_slice_ref_internal(GRPC_MDKEY(elem)); in add_key_with_index() 255 grpc_slice_ref_internal(GRPC_MDKEY(elem)); in add_key_with_index() 268 uint32_t key_hash = grpc_slice_hash(GRPC_MDKEY(elem)); in add_elem_with_index() 332 if (grpc_is_binary_header(GRPC_MDKEY(elem))) { in get_wire_value() 405 uint32_t len_key = static_cast<uint32_t> GRPC_SLICE_LENGTH(GRPC_MDKEY(elem)); in emit_lithdr_incidx_v() [all …]
|
D | hpack_table.cc | 222 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1() 295 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(md)) + in grpc_chttp2_hptbl_add() 352 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 363 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 379 size_t overhead_and_key = 32 + GRPC_SLICE_LENGTH(GRPC_MDKEY(elem)); in grpc_chttp2_get_size_in_hpack_table() 381 if (grpc_is_binary_header(GRPC_MDKEY(elem))) { in grpc_chttp2_get_size_in_hpack_table()
|
D | incoming_metadata.cc | 56 if (grpc_slice_eq(GRPC_MDKEY(l->md), GRPC_MDKEY(elem))) { in grpc_chttp2_incoming_metadata_buffer_replace_or_add()
|
D | parsing.cc | 403 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_initial_header() 412 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_STATUS) && in on_initial_header() 418 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in on_initial_header() 485 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_trailing_header() 494 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_STATUS) && in on_trailing_header()
|
D | hpack_parser.cc | 628 char* k = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_hdr() 630 if (grpc_is_binary_header(GRPC_MDKEY(md))) { in on_hdr() 639 grpc_slice_is_interned(GRPC_MDKEY(md)), in on_hdr() 802 grpc_mdelem_from_slices(grpc_slice_ref_internal(GRPC_MDKEY(md)), in finish_lithdr_incidx() 869 grpc_mdelem_from_slices(grpc_slice_ref_internal(GRPC_MDKEY(md)), in finish_lithdr_notidx() 936 grpc_mdelem_from_slices(grpc_slice_ref_internal(GRPC_MDKEY(md)), in finish_lithdr_nvridx() 1514 *is = grpc_is_binary_header(GRPC_MDKEY(elem)); in is_binary_indexed_header()
|
D | chttp2_transport.cc | 1351 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md->md)); in log_metadata()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata_batch.cc | 59 grpc_slice key_interned = grpc_slice_intern(GRPC_MDKEY(l->md)); in assert_valid_callouts() 91 grpc_slice_ref_internal(GRPC_MDKEY(md))), in grpc_attach_md_to_error() 103 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_link_callout() 120 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_unlink_callout() 232 grpc_slice_ref_internal(GRPC_MDKEY(old_mdelem)), value); in grpc_metadata_batch_set_value() 243 if (!grpc_slice_eq(GRPC_MDKEY(new_mdelem), GRPC_MDKEY(old_mdelem))) { in grpc_metadata_batch_substitute()
|
D | metadata.h | 146 #define GRPC_MDKEY(md) (GRPC_MDELEM_DATA(md)->key) macro 154 (GRPC_SLICE_LENGTH(GRPC_MDKEY((e))) + GRPC_SLICE_LENGTH(GRPC_MDVALUE((e))) + \
|
D | metadata.cc | 519 return grpc_slice_eq(GRPC_MDKEY(a), GRPC_MDKEY(b)) && in grpc_mdelem_eq()
|
D | transport_op_string.cc | 40 b, grpc_dump_slice(GRPC_MDKEY(md), GPR_DUMP_HEX | GPR_DUMP_ASCII)); in put_metadata()
|
/external/grpc-grpc/test/core/compression/ |
D | algorithm_test.cc | 62 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_GRPC_ENCODING)); in test_algorithm_mesh() 71 grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_CONTENT_ENCODING)); in test_algorithm_mesh()
|
/external/grpc-grpc/test/core/transport/ |
D | metadata_test.cc | 77 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(m3), GRPC_MDKEY(m1))); in test_create_metadata() 79 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(m1), "a") == 0); in test_create_metadata() 310 GPR_ASSERT(grpc_is_binary_header(GRPC_MDKEY(elem))); in verify_binary_header_size() 357 grpc_mdelem_from_slices(maybe_dup(GRPC_MDKEY(p), dup_key), in test_copied_static_metadata()
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 216 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_PATH)) { in RecvInitialMetadataFilter() 219 grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_AUTHORITY)) { in RecvInitialMetadataFilter() 228 } else if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_LB_TOKEN)) { in RecvInitialMetadataFilter() 285 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_LB_COST_BIN)) { in SendTrailingMetadataFilter()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | server_auth_filter.cc | 68 grpc_slice key = GRPC_MDKEY(md); in metadata_batch_to_md_array() 89 if (grpc_slice_eq(GRPC_MDKEY(md), consumed_md->key) && in remove_consumed_md()
|
/external/grpc-grpc/src/core/ext/transport/cronet/transport/ |
D | cronet_transport.cc | 734 char* key = grpc_slice_to_c_string(GRPC_MDKEY(mdelem)); in convert_metadata_to_cronet_headers() 736 if (grpc_is_binary_header(GRPC_MDKEY(mdelem))) { in convert_metadata_to_cronet_headers() 743 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_SCHEME) || in convert_metadata_to_cronet_headers() 744 grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_AUTHORITY)) { in convert_metadata_to_cronet_headers() 750 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_METHOD)) { in convert_metadata_to_cronet_headers() 761 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_PATH)) { in convert_metadata_to_cronet_headers() 793 if (grpc_slice_eq(GRPC_MDKEY(head->md), GRPC_MDSTR_AUTHORITY)) { in header_has_authority()
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | hpack_parser_test.cc | 44 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(md), ekey) == 0); in onhdr()
|
D | hpack_table_test.cc | 43 assert_str(tbl, GRPC_MDKEY(md), key); in assert_index()
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 786 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_STATUS) && in OnInitialHeader() 790 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnInitialHeader() 830 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnHeaderTimeout()
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 210 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(token_md), "authorization") == 0); in test_oauth2_token_fetcher_creds_parsing_ok() 321 grpc_slice_str_cmp(GRPC_MDKEY(md_array->md[j]), expected[i].key)) { in check_metadata()
|
/external/grpc-grpc/src/core/ext/transport/inproc/ |
D | inproc_transport.cc | 187 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md->md)); in log_metadata() 216 grpc_mdelem_from_slices(grpc_slice_intern(GRPC_MDKEY(elem->md)), in fill_in_metadata()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | call.cc | 325 if (grpc_slice_eq(GRPC_MDKEY(args->add_initial_metadata[i]), in grpc_call_create() 967 mdusr->key = GRPC_MDKEY(l->md); in publish_app_metadata()
|