/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 79 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1() 150 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(md)) + in grpc_chttp2_hptbl_add() 204 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 215 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 231 const uint8_t* key_buf = GRPC_SLICE_START_PTR(GRPC_MDKEY(elem)); in grpc_chttp2_get_size_in_hpack_table() 232 size_t key_len = GRPC_SLICE_LENGTH(GRPC_MDKEY(elem)); in grpc_chttp2_get_size_in_hpack_table()
|
D | incoming_metadata.cc | 49 if (grpc_slice_eq(GRPC_MDKEY(l->md), GRPC_MDKEY(elem))) { in grpc_chttp2_incoming_metadata_buffer_replace_or_add()
|
D | hpack_encoder.cc | 448 AddKeyWithIndex(c, GRPC_MDKEY(elem).refcount, new_index, key_hash); in AddElemWithIndex() 463 AddKeyWithIndex(c, GRPC_MDKEY(elem).refcount, new_index, key_hash); in add_key() 495 ? grpc_is_refcounted_slice_binary_header(GRPC_MDKEY(elem)) in get_wire_value() 496 : grpc_is_binary_header_internal(GRPC_MDKEY(elem)); in get_wire_value() 576 static_cast<uint32_t>(GRPC_SLICE_LENGTH(GRPC_MDKEY(elem))); in emit_lithdr_v() 589 add_header_data(st, grpc_slice_ref_internal(GRPC_MDKEY(elem))); in emit_lithdr_v() 609 char* k = grpc_slice_to_c_string(GRPC_MDKEY(elem)); in hpack_enc_log() 611 if (grpc_is_binary_header_internal(GRPC_MDKEY(elem))) { in hpack_enc_log() 620 grpc_slice_is_interned(GRPC_MDKEY(elem)), in hpack_enc_log() 680 const grpc_slice& elem_key = GRPC_MDKEY(elem); in hpack_enc()
|
D | parsing.cc | 401 GPR_DEBUG_ASSERT(grpc_slice_is_interned(GRPC_MDKEY(md))); in md_key_cmp() 402 return GRPC_MDKEY(md).refcount == reference.refcount; in md_key_cmp() 407 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_initial_header_log() 517 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_trailing_header()
|
D | hpack_parser.cc | 631 char* k = grpc_slice_to_c_string(GRPC_MDKEY(md)); in on_hdr_log() 633 if (grpc_is_binary_header_internal(GRPC_MDKEY(md))) { in on_hdr_log() 642 grpc_slice_is_interned(GRPC_MDKEY(md)), in on_hdr_log() 829 grpc_slice_ref_internal(GRPC_MDKEY(md))); in get_indexed_key() 1571 *is = grpc_is_refcounted_slice_binary_header(GRPC_MDKEY(elem)); in is_binary_indexed_header()
|
D | chttp2_transport.cc | 1322 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md->md)); in log_metadata()
|
/third_party/grpc/src/core/lib/transport/ |
D | metadata_batch.cc | 62 grpc_slice key_interned = grpc_slice_intern(GRPC_MDKEY(l->md)); in assert_valid_callouts() 97 grpc_slice_ref_internal(GRPC_MDKEY(md))), in grpc_attach_md_to_error() 126 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_link_callout() 136 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_unlink_callout() 188 GPR_DEBUG_ASSERT(GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)) == idx); in grpc_metadata_batch_link_head() 240 GPR_DEBUG_ASSERT(GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)) == idx); in grpc_metadata_batch_link_tail() 294 grpc_slice_ref_internal(GRPC_MDKEY(old_mdelem)), value); in grpc_metadata_batch_set_value() 305 if (!grpc_slice_eq(GRPC_MDKEY(new_mdelem), GRPC_MDKEY(old_mdelem))) { in grpc_metadata_batch_substitute()
|
D | metadata.h | 160 #define GRPC_MDKEY(md) (GRPC_MDELEM_DATA(md)->key) macro 407 (GRPC_SLICE_LENGTH(GRPC_MDKEY((e))) + GRPC_SLICE_LENGTH(GRPC_MDVALUE((e))) + \
|
D | transport_op_string.cc | 45 char* dump = grpc_dump_slice(GRPC_MDKEY(md), GPR_DUMP_HEX | GPR_DUMP_ASCII); in put_metadata()
|
D | metadata.cc | 640 return grpc_slice_eq(GRPC_MDKEY(a), GRPC_MDKEY(b)) && in grpc_mdelem_eq()
|
/third_party/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()
|
/third_party/grpc/test/core/transport/ |
D | metadata_test.cc | 80 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(m3), GRPC_MDKEY(m1))); in test_create_metadata() 82 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(m1), "a") == 0); in test_create_metadata() 333 GPR_ASSERT(grpc_is_binary_header(GRPC_MDKEY(elem))); in verify_binary_header_size() 380 grpc_mdelem_from_slices(maybe_dup(GRPC_MDKEY(p), dup_key), in test_copied_static_metadata()
|
D | static_metadata_test.cc | 36 grpc_mdelem_from_slices(GRPC_MDKEY(mdelem), GRPC_MDVALUE(mdelem)); in TEST()
|
/third_party/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 211 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_PATH)) { in RecvInitialMetadataFilter() 214 grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_AUTHORITY)) { in RecvInitialMetadataFilter() 223 } else if (grpc_slice_str_cmp(GRPC_MDKEY(md), in RecvInitialMetadataFilter() 282 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_LB_COST_BIN)) { in SendTrailingMetadataFilter()
|
/third_party/grpc/src/core/ext/transport/cronet/transport/ |
D | cronet_transport.cc | 738 char* key = grpc_slice_to_c_string(GRPC_MDKEY(mdelem)); in convert_metadata_to_cronet_headers() 740 if (grpc_is_binary_header_internal(GRPC_MDKEY(mdelem))) { in convert_metadata_to_cronet_headers() 747 if (grpc_slice_eq_static_interned(GRPC_MDKEY(mdelem), GRPC_MDSTR_SCHEME) || in convert_metadata_to_cronet_headers() 748 grpc_slice_eq_static_interned(GRPC_MDKEY(mdelem), in convert_metadata_to_cronet_headers() 755 if (grpc_slice_eq_static_interned(GRPC_MDKEY(mdelem), GRPC_MDSTR_METHOD)) { in convert_metadata_to_cronet_headers() 766 if (grpc_slice_eq_static_interned(GRPC_MDKEY(mdelem), GRPC_MDSTR_PATH)) { in convert_metadata_to_cronet_headers() 810 if (grpc_slice_eq_static_interned(GRPC_MDKEY(head->md), in header_has_authority()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | client_load_reporting_filter.cc | 108 if (GRPC_SLICE_START_PTR(GRPC_MDKEY(client_stats_md->md)) == in clr_start_transport_stream_op_batch()
|
/third_party/grpc/src/core/lib/security/transport/ |
D | server_auth_filter.cc | 104 grpc_slice key = GRPC_MDKEY(md); in metadata_batch_to_md_array() 125 if (grpc_slice_eq(GRPC_MDKEY(md), consumed_md->key) && in remove_consumed_md()
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 794 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_STATUS) && in OnInitialHeader() 798 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnInitialHeader() 838 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnHeaderTimeout()
|
/third_party/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 | 47 assert_str(tbl, GRPC_MDKEY(md), key); in assert_index()
|
/third_party/grpc/src/core/lib/security/authorization/ |
D | evaluate_args.cc | 68 const grpc_slice& key = GRPC_MDKEY(elem->md); in GetHeaders()
|
/third_party/grpc/src/core/ext/transport/inproc/ |
D | inproc_transport.cc | 287 char* key = grpc_slice_to_c_string(GRPC_MDKEY(md->md)); in log_metadata() 316 grpc_mdelem_from_slices(grpc_slice_intern(GRPC_MDKEY(elem->md)), in fill_in_metadata()
|
/third_party/grpc/test/core/security/ |
D | credentials_test.cc | 223 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(token_md), "authorization") == 0); in test_oauth2_token_fetcher_creds_parsing_ok() 334 grpc_slice_str_cmp(GRPC_MDKEY(md_array->md[j]), expected[i].key)) { in check_metadata()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/xds/ |
D | xds_resolver.cc | 372 absl::string_view key = StringViewFromSlice(GRPC_MDKEY(md->md)); in GetMetadataValue()
|
/third_party/grpc/src/core/lib/surface/ |
D | call.cc | 373 GRPC_MDKEY(args->add_initial_metadata[i]), GRPC_MDSTR_PATH)) { in grpc_call_create() 1016 mdusr->key = GRPC_MDKEY(l->md); in publish_app_metadata()
|