Home
last modified time | relevance | path

Searched refs:uri_str (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dhttp_proxy.cc66 char* uri_str = in GetHttpProxyServer() local
68 if (uri_str == nullptr) uri_str = gpr_getenv("grpc_proxy"); in GetHttpProxyServer()
69 if (uri_str == nullptr) uri_str = gpr_getenv("https_proxy"); in GetHttpProxyServer()
70 if (uri_str == nullptr) uri_str = gpr_getenv("http_proxy"); in GetHttpProxyServer()
71 if (uri_str == nullptr) return nullptr; in GetHttpProxyServer()
73 if (uri_str[0] == '\0') goto done; in GetHttpProxyServer()
74 uri = URI::Parse(uri_str); in GetHttpProxyServer()
106 gpr_free(uri_str); in GetHttpProxyServer()
Dsubchannel.cc912 void UriToSockaddr(const char* uri_str, grpc_resolved_address* addr) { in UriToSockaddr() argument
913 absl::StatusOr<URI> uri = URI::Parse(uri_str); in UriToSockaddr()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dhttp_proxy.cc53 char* uri_str = gpr_getenv("https_proxy"); in get_http_proxy_server() local
54 if (uri_str == nullptr) uri_str = gpr_getenv("http_proxy"); in get_http_proxy_server()
55 if (uri_str == nullptr) return nullptr; in get_http_proxy_server()
56 grpc_uri* uri = grpc_uri_parse(uri_str, false /* suppress_errors */); in get_http_proxy_server()
85 gpr_free(uri_str); in get_http_proxy_server()
Dsubchannel.cc771 static void grpc_uri_to_sockaddr(const char* uri_str, in grpc_uri_to_sockaddr() argument
773 grpc_uri* uri = grpc_uri_parse(uri_str, 0 /* suppress_errors */); in grpc_uri_to_sockaddr()
/external/grpc-grpc/test/core/client_channel/resolvers/
Ddns_resolver_cooldown_test.cc170 const char* uri_str = nullptr; member
221 grpc_uri* uri = grpc_uri_parse(res_cb_arg->uri_str, 0); in start_test_under_combiner()
222 gpr_log(GPR_DEBUG, "test: '%s' should be valid for '%s'", res_cb_arg->uri_str, in start_test_under_combiner()
254 res_cb_arg->uri_str = "dns:127.0.0.1"; in test_cooldown()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc231 char* uri_str = nullptr; in grpc_sockaddr_to_uri() local
235 gpr_asprintf(&uri_str, "%s:%s", scheme, path); in grpc_sockaddr_to_uri()
238 return uri_str != nullptr ? uri_str : nullptr; in grpc_sockaddr_to_uri()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc230 std::string uri_str; in grpc_sockaddr_to_uri() local
232 uri_str = absl::StrCat(scheme, ":", path); in grpc_sockaddr_to_uri()
234 return uri_str; in grpc_sockaddr_to_uri()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc1314 char* uri_str; in ProcessChannelArgsLocked() local
1315 gpr_asprintf(&uri_str, "fake:///%s", server_name_); in ProcessChannelArgsLocked()
1318 client_channel_factory(), uri_str, in ProcessChannelArgsLocked()
1322 gpr_free(uri_str); in ProcessChannelArgsLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc1471 std::string uri_str = absl::StrCat("fake:///", server_name_); in ProcessAddressesAndChannelArgsLocked() local
1473 CreateGrpclbBalancerChannel(uri_str.c_str(), *lb_channel_args); in ProcessAddressesAndChannelArgsLocked()