Home
last modified time | relevance | path

Searched refs:StringViewFromSlice (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Devaluate_args.cc35 path = StringViewFromSlice(val); in GetPath()
45 host = StringViewFromSlice(val); in GetHost()
55 method = StringViewFromSlice(val); in GetMethod()
70 headers.emplace(StringViewFromSlice(key), StringViewFromSlice(val)); in GetHeaders()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dtls_security_connector_test.cc68 root_cert_1_ = std::string(grpc_core::StringViewFromSlice(ca_slice_1)); in SetUp()
69 root_cert_0_ = std::string(grpc_core::StringViewFromSlice(ca_slice_0)); in SetUp()
71 std::string(grpc_core::StringViewFromSlice(key_slice_1)); in SetUp()
73 std::string(grpc_core::StringViewFromSlice(key_slice_0)); in SetUp()
75 std::string(grpc_core::StringViewFromSlice(cert_slice_1)); in SetUp()
77 std::string(grpc_core::StringViewFromSlice(cert_slice_0)); in SetUp()
Devaluate_args_test.cc168 ::testing::Pair(StringViewFromSlice(GRPC_MDSTR_HOST), kHost), in TEST()
169 ::testing::Pair(StringViewFromSlice(GRPC_MDSTR_PATH), kPath))); in TEST()
Dgrpc_tls_certificate_provider_test.cc145 root_error_str = std::string(StringViewFromSlice(root_error_slice)); in OnError()
153 std::string(StringViewFromSlice(identity_error_slice)); in OnError()
Djson_token_test.cc219 absl::string_view string = grpc_core::StringViewFromSlice(slice); in parse_json_part_from_jwt()
Dgrpc_tls_certificate_distributor_test.cc142 root_error_str = std::string(StringViewFromSlice(root_error_slice)); in OnError()
150 std::string(StringViewFromSlice(identity_error_slice)); in OnError()
Dcredentials_test.cc2558 grpc_core::StringViewFromSlice(actual_error_slice); in test_url_external_account_creds_failure_invalid_credential_source_url()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/
Dgrpc_tls_certificate_provider.cc267 std::string root_cert(StringViewFromSlice(root_slice)); in ReadRootCertificatesFromFile()
333 std::string private_key(StringViewFromSlice(key_slice.slice)); in ReadIdentityKeyCertPairFromFiles()
334 std::string cert_chain(StringViewFromSlice(cert_slice.slice)); in ReadIdentityKeyCertPairFromFiles()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dcall_log_batch.cc43 b->push_back(std::string(grpc_core::StringViewFromSlice(md[i].key))); in add_metadata()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Dfile_external_account_credentials.cc108 absl::string_view content = StringViewFromSlice(content_slice.slice); in RetrieveSubjectToken()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_utils.h192 inline absl::string_view StringViewFromSlice(const grpc_slice& slice) { in StringViewFromSlice() function
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc339 "Invalid host ", grpc_core::StringViewFromSlice(calld->host), in on_host_checked()
383 absl::string_view call_host(grpc_core::StringViewFromSlice(calld->host)); in client_auth_start_transport_stream_op_batch()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc392 absl::string_view key = StringViewFromSlice(GRPC_MDKEY(md->md)); in GetMetadataValue()
393 absl::string_view value = StringViewFromSlice(GRPC_MDVALUE(md->md)); in GetMetadataValue()
476 if (!PathMatch(StringViewFromSlice(*args.path), in GetCallConfig()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_client_posix.cc226 grpc_core::StringViewFromSlice(str)); in on_writable()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc237 json = Json::Parse(grpc_core::StringViewFromSlice(creds_data), &error); in create_default_creds_from_path()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_bootstrap.cc155 absl::string_view contents_str_view = StringViewFromSlice(contents); in ReadFromFile()
Dxds_api.cc988 StdStringToUpbString(StringViewFromSlice(error_description_slice)); in CreateAdsRequest()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc92 absl::string_view string = grpc_core::StringViewFromSlice(slice); in parse_json_part_from_jwt()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc4843 return std::make_pair(StringViewFromSlice(GRPC_MDKEY(linked_mdelem->md)), in IteratorHandleGet()
4844 StringViewFromSlice(GRPC_MDVALUE(linked_mdelem->md))); in IteratorHandleGet()
5362 pick_args.path = StringViewFromSlice(path_); in PickSubchannelLocked()