Searched refs:mdelem (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/test/core/compression/ |
D | algorithm_test.cc | 43 grpc_mdelem mdelem; in test_algorithm_mesh() local 56 mdelem = grpc_message_compression_encoding_mdelem( in test_algorithm_mesh() 58 grpc_slice value = GRPC_MDVALUE(mdelem); in test_algorithm_mesh() 62 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_GRPC_ENCODING)); in test_algorithm_mesh() 64 mdelem = grpc_stream_compression_encoding_mdelem( in test_algorithm_mesh() 66 grpc_slice value = GRPC_MDVALUE(mdelem); in test_algorithm_mesh() 71 grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_CONTENT_ENCODING)); in test_algorithm_mesh() 74 GRPC_MDELEM_UNREF(mdelem); in test_algorithm_mesh()
|
/third_party/grpc/test/core/transport/ |
D | static_metadata_test.cc | 34 const grpc_mdelem mdelem = grpc_static_mdelem_manifested()[i]; in TEST() local 36 grpc_mdelem_from_slices(GRPC_MDKEY(mdelem), GRPC_MDVALUE(mdelem)); in TEST() 37 EXPECT_EQ(mdelem.payload, mdelem2.payload); in TEST()
|
/third_party/grpc/src/core/lib/security/credentials/plugin/ |
D | plugin_credentials.cc | 114 grpc_mdelem mdelem = in process_plugin_result() local 116 grpc_credentials_mdelem_array_add(r->md_array, mdelem); in process_plugin_result() 117 GRPC_MDELEM_UNREF(mdelem); in process_plugin_result()
|
/third_party/grpc/src/core/ext/transport/cronet/transport/ |
D | cronet_transport.cc | 736 grpc_mdelem mdelem = curr->md; in convert_metadata_to_cronet_headers() local 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() 741 grpc_slice wire_value = grpc_chttp2_base64_encode(GRPC_MDVALUE(mdelem)); in convert_metadata_to_cronet_headers() 745 value = grpc_slice_to_c_string(GRPC_MDVALUE(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() 756 if (grpc_slice_eq_static_interned(GRPC_MDVALUE(mdelem), GRPC_MDSTR_PUT)) { 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()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 750 grpc_mdelem mdelem; in deadline_enc() local 753 mdelem = grpc_mdelem_from_slices( in deadline_enc() 755 hpack_enc(c, mdelem, st); in deadline_enc() 756 GRPC_MDELEM_UNREF(mdelem); in deadline_enc()
|