Searched refs:plugin_md (Results 1 – 2 of 2) sorted by relevance
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 1001 static const expected_md plugin_md[] = {{"foo", "bar"}, {"hi", "there"}}; variable 1013 GPR_ASSERT(GPR_ARRAY_SIZE(plugin_md) < in plugin_get_metadata_success() 1017 for (size_t i = 0; i < GPR_ARRAY_SIZE(plugin_md); ++i) { in plugin_get_metadata_success() 1019 creds_md[i].key = grpc_slice_from_copied_string(plugin_md[i].key); in plugin_get_metadata_success() 1020 creds_md[i].value = grpc_slice_from_copied_string(plugin_md[i].value); in plugin_get_metadata_success() 1022 *num_creds_md = GPR_ARRAY_SIZE(plugin_md); in plugin_get_metadata_success() 1057 GRPC_ERROR_NONE, plugin_md, GPR_ARRAY_SIZE(plugin_md)); in test_metadata_plugin_success()
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | credentials_test.cc | 1724 static const expected_md plugin_md[] = {{"foo", "bar"}, {"hi", "there"}}; variable 1736 GPR_ASSERT(GPR_ARRAY_SIZE(plugin_md) < in plugin_get_metadata_success() 1740 for (size_t i = 0; i < GPR_ARRAY_SIZE(plugin_md); ++i) { in plugin_get_metadata_success() 1742 creds_md[i].key = grpc_slice_from_copied_string(plugin_md[i].key); in plugin_get_metadata_success() 1743 creds_md[i].value = grpc_slice_from_copied_string(plugin_md[i].value); in plugin_get_metadata_success() 1745 *num_creds_md = GPR_ARRAY_SIZE(plugin_md); in plugin_get_metadata_success() 1802 GRPC_ERROR_NONE, plugin_md, GPR_ARRAY_SIZE(plugin_md)); in test_metadata_plugin_success()
|