/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 223 GRPC_SLICE_LENGTH(GRPC_MDVALUE(first_ent)) + in evict1() 296 GRPC_SLICE_LENGTH(GRPC_MDVALUE(md)) + in grpc_chttp2_hptbl_add() 354 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find() 365 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find() 380 size_t value_len = GRPC_SLICE_LENGTH(GRPC_MDVALUE(elem)); in grpc_chttp2_get_size_in_hpack_table()
|
D | hpack_encoder.cc | 269 uint32_t value_hash = grpc_slice_hash(GRPC_MDVALUE(elem)); in add_elem_with_index() 337 wire_val.data = grpc_slice_ref_internal(GRPC_MDVALUE(elem)); in get_wire_value() 344 grpc_chttp2_base64_encode_and_huffman_compress(GRPC_MDVALUE(elem)); in get_wire_value() 351 wire_val.data = grpc_slice_ref_internal(GRPC_MDVALUE(elem)); in get_wire_value() 472 v = grpc_dump_slice(GRPC_MDVALUE(elem), GPR_DUMP_HEX); in hpack_enc() 474 v = grpc_slice_to_c_string(GRPC_MDVALUE(elem)); in hpack_enc() 481 grpc_slice_is_interned(GRPC_MDVALUE(elem))); in hpack_enc() 499 uint32_t value_hash = grpc_slice_hash(GRPC_MDVALUE(elem)); in hpack_enc()
|
D | parsing.cc | 405 grpc_dump_slice(GRPC_MDVALUE(md), GPR_DUMP_HEX | GPR_DUMP_ASCII); in on_initial_header() 426 !grpc_http2_decode_timeout(GRPC_MDVALUE(md), &timeout))) { in on_initial_header() 427 char* val = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in on_initial_header() 487 grpc_dump_slice(GRPC_MDVALUE(md), GPR_DUMP_HEX | GPR_DUMP_ASCII); in on_trailing_header()
|
D | hpack_parser.cc | 631 v = grpc_dump_slice(GRPC_MDVALUE(md), GPR_DUMP_HEX); in on_hdr() 633 v = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in on_hdr() 640 grpc_slice_is_interned(GRPC_MDVALUE(md))); in on_hdr() 1614 GRPC_MDVALUE(initial_metadata->idx.named.content_encoding->md), false, in parse_stream_compression_md()
|
/external/grpc-grpc/src/core/ext/filters/http/server/ |
D | http_server_filter.cc | 80 GRPC_MDVALUE(b->idx.named.grpc_message->md), in hs_filter_outgoing_metadata() 83 GRPC_MDVALUE(b->idx.named.grpc_message->md))) { in hs_filter_outgoing_metadata() 175 if (grpc_slice_buf_start_eq(GRPC_MDVALUE(b->idx.named.content_type->md), in hs_filter_incoming_metadata() 178 (GRPC_SLICE_START_PTR(GRPC_MDVALUE( in hs_filter_incoming_metadata() 181 GRPC_SLICE_START_PTR(GRPC_MDVALUE( in hs_filter_incoming_metadata() 192 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.content_type->md), in hs_filter_incoming_metadata() 212 grpc_slice path_slice = GRPC_MDVALUE(b->idx.named.path->md); in hs_filter_incoming_metadata() 258 grpc_slice_ref_internal(GRPC_MDVALUE(md))))); in hs_filter_incoming_metadata()
|
/external/grpc-grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 90 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.status->md), in client_filter_incoming_metadata() 110 GRPC_MDVALUE(b->idx.named.grpc_message->md)); in client_filter_incoming_metadata() 112 GRPC_MDVALUE(b->idx.named.grpc_message->md))) { in client_filter_incoming_metadata() 122 if (grpc_slice_buf_start_eq(GRPC_MDVALUE(b->idx.named.content_type->md), in client_filter_incoming_metadata() 125 (GRPC_SLICE_START_PTR(GRPC_MDVALUE( in client_filter_incoming_metadata() 128 GRPC_SLICE_START_PTR(GRPC_MDVALUE( in client_filter_incoming_metadata() 139 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.content_type->md), in client_filter_incoming_metadata() 258 GRPC_MDVALUE(batch->payload->send_initial_metadata.send_initial_metadata in update_path_for_get() 461 if (0 == grpc_slice_str_cmp(GRPC_MDVALUE(valid_schemes[j]), in scheme_from_args()
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 217 calld->service_method_ = grpc_slice_ref_internal(GRPC_MDVALUE(md)); in RecvInitialMetadataFilter() 220 grpc_slice target_host_slice = GRPC_MDVALUE(md); in RecvInitialMetadataFilter() 231 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(GRPC_MDVALUE(md)), in RecvInitialMetadataFilter() 232 GRPC_SLICE_LENGTH(GRPC_MDVALUE(md))); in RecvInitialMetadataFilter() 286 const grpc_slice value = GRPC_MDVALUE(md); in SendTrailingMetadataFilter()
|
/external/grpc-grpc/test/core/transport/ |
D | metadata_test.cc | 78 GPR_ASSERT(!grpc_slice_eq(GRPC_MDVALUE(m3), GRPC_MDVALUE(m1))); in test_create_metadata() 80 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(m1), "b") == 0); in test_create_metadata() 81 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(m3), "c") == 0); in test_create_metadata() 358 maybe_dup(GRPC_MDVALUE(p), dup_value)); in test_copied_static_metadata()
|
/external/grpc-grpc/src/cpp/ext/filters/census/ |
D | server_filter.cc | 48 sml->path = grpc_slice_ref_internal(GRPC_MDVALUE(b->idx.named.path->md)); in FilterInitialMetadata() 52 grpc_slice_ref_internal(GRPC_MDVALUE(b->idx.named.grpc_trace_bin->md)); in FilterInitialMetadata() 57 grpc_slice_ref_internal(GRPC_MDVALUE(b->idx.named.grpc_tags_bin->md)); in FilterInitialMetadata()
|
D | client_filter.cc | 41 GRPC_MDVALUE(b->idx.named.grpc_server_stats_bin->md))), in FilterTrailingMetadata() 42 GRPC_SLICE_LENGTH(GRPC_MDVALUE(b->idx.named.grpc_server_stats_bin->md)), in FilterTrailingMetadata()
|
/external/grpc-grpc/test/core/compression/ |
D | algorithm_test.cc | 58 grpc_slice value = GRPC_MDVALUE(mdelem); in test_algorithm_mesh() 66 grpc_slice value = GRPC_MDVALUE(mdelem); in test_algorithm_mesh()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.h | 147 #define GRPC_MDVALUE(md) (GRPC_MDELEM_DATA(md)->value) macro 154 (GRPC_SLICE_LENGTH(GRPC_MDKEY((e))) + GRPC_SLICE_LENGTH(GRPC_MDVALUE((e))) + \
|
D | status_metadata.cc | 48 if (!grpc_parse_slice_to_uint32(GRPC_MDVALUE(md), &status)) { in grpc_get_status_code_from_metadata()
|
D | metadata.cc | 520 grpc_slice_eq(GRPC_MDVALUE(a), GRPC_MDVALUE(b)); in grpc_mdelem_eq()
|
D | transport_op_string.cc | 44 b, grpc_dump_slice(GRPC_MDVALUE(md), GPR_DUMP_HEX | GPR_DUMP_ASCII)); in put_metadata()
|
/external/grpc-grpc/src/core/ext/filters/http/message_compress/ |
D | message_compress_filter.cc | 120 GRPC_MDVALUE(md), &compression_algorithm))) { in process_send_initial_metadata() 121 char* val = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in process_send_initial_metadata() 130 char* val = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in process_send_initial_metadata()
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 798 !grpc_http2_decode_timeout(GRPC_MDVALUE(md), &timeout))) { in OnInitialHeader() 799 char* val = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in OnInitialHeader() 837 if (!grpc_http2_decode_timeout(GRPC_MDVALUE(md), &timeout)) { in OnHeaderTimeout() 838 char* val = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in OnHeaderTimeout()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | call.cc | 328 GRPC_MDVALUE(args->add_initial_metadata[i])); in grpc_call_create() 796 accept_encoding_slice = GRPC_MDVALUE(mdel); in set_encodings_accepted_by_peer() 920 grpc_message_compression_algorithm_from_slice(GRPC_MDVALUE(md)); in decode_message_compression() 922 char* md_c_str = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in decode_message_compression() 936 grpc_stream_compression_algorithm_from_slice(GRPC_MDVALUE(md)); in decode_stream_compression() 938 char* md_c_str = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in decode_stream_compression() 968 mdusr->value = GRPC_MDVALUE(l->md); in publish_app_metadata() 1023 grpc_slice_ref_internal(GRPC_MDVALUE(b->idx.named.grpc_message->md))); in recv_trailing_filter() 1685 GRPC_MDVALUE(call->send_extra_metadata[1].md)); in call_start_batch()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | server_auth_filter.cc | 69 grpc_slice value = GRPC_MDVALUE(md); in metadata_batch_to_md_array() 90 grpc_slice_eq(GRPC_MDVALUE(md), consumed_md->value)) in remove_consumed_md()
|
D | client_auth_filter.cc | 299 grpc_slice_ref_internal(GRPC_MDVALUE(metadata->idx.named.path->md)); in auth_start_transport_stream_op_batch() 303 GRPC_MDVALUE(metadata->idx.named.authority->md)); in auth_start_transport_stream_op_batch()
|
/external/grpc-grpc/test/core/security/ |
D | oauth2_utils.cc | 50 token_slice = GRPC_MDVALUE(request->md_array.md[0]); in on_oauth2_response()
|
D | print_google_default_creds_token.cc | 52 token = grpc_slice_to_c_string(GRPC_MDVALUE(sync->md_array.md[0])); in on_metadata_response()
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | hpack_parser_test.cc | 45 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(md), evalue) == 0); in onhdr()
|
D | hpack_table_test.cc | 44 assert_str(tbl, GRPC_MDVALUE(md), value); in assert_index()
|
/external/grpc-grpc/src/core/ext/filters/workarounds/ |
D | workaround_cronet_compression_filter.cc | 139 char* user_agent_str = grpc_slice_to_c_string(GRPC_MDVALUE(md)); in parse_user_agent()
|