/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 80 GRPC_SLICE_LENGTH(GRPC_MDVALUE(first_ent)) + in evict1() 151 GRPC_SLICE_LENGTH(GRPC_MDVALUE(md)) + in grpc_chttp2_hptbl_add() 206 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find() 217 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find() 234 size_t value_len = GRPC_SLICE_LENGTH(GRPC_MDVALUE(elem)); in grpc_chttp2_get_size_in_hpack_table()
|
/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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/server/ |
D | http_server_filter.cc | 105 GRPC_MDVALUE(b->idx.named.grpc_message->md), in hs_filter_outgoing_metadata() 108 GRPC_MDVALUE(b->idx.named.grpc_message->md))) { in hs_filter_outgoing_metadata() 147 return grpc_slice_eq_static_interned(GRPC_MDVALUE(a), in md_strict_equal() 148 GRPC_MDVALUE(b_static)); in md_strict_equal() 229 if (grpc_slice_buf_start_eq(GRPC_MDVALUE(b->idx.named.content_type->md), in hs_filter_incoming_metadata() 232 (GRPC_SLICE_START_PTR(GRPC_MDVALUE( in hs_filter_incoming_metadata() 235 GRPC_SLICE_START_PTR(GRPC_MDVALUE( in hs_filter_incoming_metadata() 246 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.content_type->md), in hs_filter_incoming_metadata() 266 grpc_slice path_slice = GRPC_MDVALUE(b->idx.named.path->md); in hs_filter_incoming_metadata() 312 grpc_slice_ref_internal(GRPC_MDVALUE(md))), in hs_filter_incoming_metadata()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/ |
D | evaluate_args.cc | 34 const grpc_slice& val = GRPC_MDVALUE(elem->md); in GetPath() 44 const grpc_slice& val = GRPC_MDVALUE(elem->md); in GetHost() 54 const grpc_slice& val = GRPC_MDVALUE(elem->md); in GetMethod() 69 const grpc_slice& val = GRPC_MDVALUE(elem->md); in GetHeaders()
|
/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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 122 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.status->md), in client_filter_incoming_metadata() 143 GRPC_MDVALUE(b->idx.named.grpc_message->md)); in client_filter_incoming_metadata() 145 GRPC_MDVALUE(b->idx.named.grpc_message->md))) { in client_filter_incoming_metadata() 156 if (grpc_slice_buf_start_eq(GRPC_MDVALUE(b->idx.named.content_type->md), in client_filter_incoming_metadata() 159 (GRPC_SLICE_START_PTR(GRPC_MDVALUE( in client_filter_incoming_metadata() 162 GRPC_SLICE_START_PTR(GRPC_MDVALUE( in client_filter_incoming_metadata() 173 char* val = grpc_dump_slice(GRPC_MDVALUE(b->idx.named.content_type->md), in client_filter_incoming_metadata() 308 GRPC_MDVALUE(batch->payload->send_initial_metadata.send_initial_metadata in update_path_for_get() 502 if (0 == grpc_slice_str_cmp(GRPC_MDVALUE(valid_schemes[j]), in scheme_from_args()
|
/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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 212 calld->service_method_ = grpc_slice_ref_internal(GRPC_MDVALUE(md)); in RecvInitialMetadataFilter() 215 grpc_slice target_host_slice = GRPC_MDVALUE(md); in RecvInitialMetadataFilter() 227 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(GRPC_MDVALUE(md)), in RecvInitialMetadataFilter() 228 GRPC_SLICE_LENGTH(GRPC_MDVALUE(md))); in RecvInitialMetadataFilter() 283 const grpc_slice value = GRPC_MDVALUE(md); in SendTrailingMetadataFilter()
|
/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()
|
/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/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/rust/crates/grpcio-sys/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 | 47 GRPC_MDVALUE(b->idx.named.grpc_server_stats_bin->md))), in FilterTrailingMetadata() 48 GRPC_SLICE_LENGTH(GRPC_MDVALUE(b->idx.named.grpc_server_stats_bin->md)), in FilterTrailingMetadata()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/ |
D | metadata.h | 161 #define GRPC_MDVALUE(md) (GRPC_MDELEM_DATA(md)->value) macro 170 return grpc_slice_eq_static_interned(GRPC_MDVALUE(a), GRPC_MDVALUE(b_static)); in grpc_mdelem_static_value_eq() 407 (GRPC_SLICE_LENGTH(GRPC_MDKEY((e))) + GRPC_SLICE_LENGTH(GRPC_MDVALUE((e))) + \
|
D | status_metadata.cc | 49 if (!grpc_parse_slice_to_uint32(GRPC_MDVALUE(md), &status)) { in grpc_get_status_code_from_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/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()
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | oauth2_utils.cc | 51 token_slice = GRPC_MDVALUE(request->md_array.md[0]); in on_oauth2_response()
|