Home
last modified time | relevance | path

Searched refs:default_port (Results 1 – 25 of 37) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dresolve_address_windows.cc52 char* default_port; member
58 const char* name, const char* default_port, in windows_blocking_resolve_address() argument
77 if (default_port == NULL) { in windows_blocking_resolve_address()
82 port = default_port; in windows_blocking_resolve_address()
128 grpc_blocking_resolve_address(r->name, r->default_port, r->addresses); in do_request_thread()
134 gpr_free(r->default_port); in do_request_thread()
138 static void windows_resolve_address(const char* name, const char* default_port, in windows_resolve_address() argument
145 r->default_port = gpr_strdup(default_port); in windows_resolve_address()
Dresolve_address_posix.cc46 const char* name, const char* default_port, in posix_blocking_resolve_address() argument
67 if (default_port == nullptr) { in posix_blocking_resolve_address()
73 port = default_port; in posix_blocking_resolve_address()
140 char* default_port; member
152 grpc_blocking_resolve_address(r->name, r->default_port, r->addrs_out)); in do_request_thread()
154 gpr_free(r->default_port); in do_request_thread()
158 static void posix_resolve_address(const char* name, const char* default_port, in posix_resolve_address() argument
165 r->default_port = gpr_strdup(default_port); in posix_resolve_address()
Dresolve_address_custom.cc90 const char* default_port, in try_split_host_port() argument
100 if (default_port == nullptr) { in try_split_host_port()
104 *port = default_port; in try_split_host_port()
110 const char* name, const char* default_port, in blocking_resolve_address_impl() argument
116 try_split_host_port(name, default_port, &resolver.host, &resolver.port); in blocking_resolve_address_impl()
140 static void resolve_address_impl(const char* name, const char* default_port, in resolve_address_impl() argument
147 grpc_error* err = try_split_host_port(name, default_port, &host, &port); in resolve_address_impl()
Dresolve_address.cc30 void grpc_resolve_address(const char* addr, const char* default_port, in grpc_resolve_address() argument
35 addr, default_port, interested_parties, on_done, addresses); in grpc_resolve_address()
46 const char* default_port, in grpc_blocking_resolve_address() argument
48 return grpc_resolve_address_impl->blocking_resolve_address(name, default_port, in grpc_blocking_resolve_address()
Dresolve_address.h53 void (*resolve_address)(const char* addr, const char* default_port,
58 const char* default_port,
67 void grpc_resolve_address(const char* addr, const char* default_port,
78 const char* default_port,
/external/grpc-grpc/src/core/lib/iomgr/
Dresolve_address_windows.cc48 char* default_port; member
55 const char* name, const char* default_port, in windows_blocking_resolve_address() argument
76 if (default_port == NULL) { in windows_blocking_resolve_address()
83 port = gpr_strdup(default_port); in windows_blocking_resolve_address()
139 grpc_blocking_resolve_address(r->name, r->default_port, r->addresses); in do_request_thread()
145 gpr_free(r->default_port); in do_request_thread()
149 static void windows_resolve_address(const char* name, const char* default_port, in windows_resolve_address() argument
158 r->default_port = gpr_strdup(default_port); in windows_resolve_address()
Dresolve_address_posix.cc46 const char* name, const char* default_port, in posix_blocking_resolve_address() argument
76 if (default_port == nullptr) { in posix_blocking_resolve_address()
82 port = gpr_strdup(default_port); in posix_blocking_resolve_address()
151 char* default_port; member
163 r->name, r->default_port, r->addrs_out)); in do_request_thread()
165 gpr_free(r->default_port); in do_request_thread()
169 static void posix_resolve_address(const char* name, const char* default_port, in posix_resolve_address() argument
178 r->default_port = gpr_strdup(default_port); in posix_resolve_address()
Dresolve_address.cc30 void grpc_resolve_address(const char* addr, const char* default_port, in grpc_resolve_address() argument
35 addr, default_port, interested_parties, on_done, addresses); in grpc_resolve_address()
46 const char* default_port, in grpc_blocking_resolve_address() argument
48 return grpc_resolve_address_impl->blocking_resolve_address(name, default_port, in grpc_blocking_resolve_address()
Dresolve_address_custom.cc89 const char* default_port, char** host, in try_split_host_port() argument
103 if (default_port == nullptr) { in try_split_host_port()
110 *port = gpr_strdup(default_port); in try_split_host_port()
116 const char* name, const char* default_port, in blocking_resolve_address_impl() argument
124 err = try_split_host_port(name, default_port, &host, &port); in blocking_resolve_address_impl()
155 static void resolve_address_impl(const char* name, const char* default_port, in resolve_address_impl() argument
164 err = try_split_host_port(name, default_port, &host, &port); in resolve_address_impl()
Dresolve_address.h55 void (*resolve_address)(const char* addr, const char* default_port,
60 const char* default_port,
69 void grpc_resolve_address(const char* addr, const char* default_port,
80 const char* default_port,
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper_windows.cc36 const char* name, const char* default_port, grpc_lb_addresses** addrs, in inner_maybe_resolve_localhost_manually_locked() argument
47 if (default_port == nullptr) { in inner_maybe_resolve_localhost_manually_locked()
54 *port = gpr_strdup(default_port); in inner_maybe_resolve_localhost_manually_locked()
89 const char* name, const char* default_port, grpc_lb_addresses** addrs) { in grpc_ares_maybe_resolve_localhost_manually_locked() argument
92 bool out = inner_maybe_resolve_localhost_manually_locked(name, default_port, in grpc_ares_maybe_resolve_localhost_manually_locked()
Dgrpc_ares_wrapper_fallback.cc30 const char* dns_server, const char* name, const char* default_port, in grpc_dns_lookup_ares_locked_impl() argument
38 const char* dns_server, const char* name, const char* default_port,
50 const char* default_port, in grpc_resolve_address_ares_impl() argument
56 const char* name, const char* default_port,
Dgrpc_ares_wrapper.cc361 const char* dns_server, const char* name, const char* default_port, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked() argument
385 if (default_port == nullptr) { in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
391 port = gpr_strdup(default_port); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
484 const char* default_port, in inner_resolve_as_ip_literal_locked() argument
497 if (default_port == nullptr) { in inner_resolve_as_ip_literal_locked()
504 *port = gpr_strdup(default_port); in inner_resolve_as_ip_literal_locked()
521 const char* default_port, in resolve_as_ip_literal_locked() argument
526 bool out = inner_resolve_as_ip_literal_locked(name, default_port, addrs, in resolve_as_ip_literal_locked()
535 const char* dns_server, const char* name, const char* default_port, in grpc_dns_lookup_ares_locked_impl() argument
540 if (resolve_as_ip_literal_locked(name, default_port, addrs)) { in grpc_dns_lookup_ares_locked_impl()
[all …]
Dgrpc_ares_wrapper.h46 const char* default_port,
59 const char* dns_server, const char* name, const char* default_port,
89 const char* name, const char* default_port, grpc_lb_addresses** addrs);
Dgrpc_ares_wrapper_posix.cc30 const char* name, const char* default_port, grpc_lb_addresses** addrs) { in grpc_ares_maybe_resolve_localhost_manually_locked() argument
/external/grpc-grpc/test/core/client_channel/resolvers/
Ddns_resolver_cooldown_test.cc41 const char* dns_server, const char* name, const char* default_port,
61 const char* default_port, in test_resolve_address_impl() argument
66 name, default_port, g_iomgr_args.pollset_set, on_done, addrs); in test_resolve_address_impl()
81 const char* name, const char* default_port, in test_blocking_resolve_address_impl() argument
83 return default_resolve_address->blocking_resolve_address(name, default_port, in test_blocking_resolve_address_impl()
91 const char* dns_server, const char* name, const char* default_port, in test_dns_lookup_ares_locked() argument
96 dns_server, name, default_port, g_iomgr_args.pollset_set, on_done, addrs, in test_dns_lookup_ares_locked()
Ddns_resolver_connectivity_test.cc38 static void my_resolve_address(const char* addr, const char* default_port, in my_resolve_address() argument
64 const char* dns_server, const char* addr, const char* default_port, in my_dns_lookup_ares_locked() argument
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc837 const char* default_port, grpc_pollset_set* interested_parties, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked() argument
852 if (default_port == nullptr) { in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
858 port = default_port; in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
935 const char* name, const char* default_port, in inner_resolve_as_ip_literal_locked() argument
946 if (default_port == nullptr) { in inner_resolve_as_ip_literal_locked()
953 *port = default_port; in inner_resolve_as_ip_literal_locked()
970 const char* name, const char* default_port, in resolve_as_ip_literal_locked() argument
975 bool out = inner_resolve_as_ip_literal_locked(name, default_port, addrs, in resolve_as_ip_literal_locked()
1001 const grpc_ares_request* r, const char* name, const char* default_port, in inner_maybe_resolve_localhost_manually_locked() argument
1013 if (default_port == nullptr) { in inner_maybe_resolve_localhost_manually_locked()
[all …]
Dgrpc_ares_wrapper.h53 const char* default_port,
67 const char* dns_server, const char* name, const char* default_port,
/external/rust/crates/url/src/
Dorigin.rs10 use crate::parser::default_port;
80 if default_port(scheme) == Some(port) { in ascii_serialization()
101 if default_port(scheme) == Some(port) { in unicode_serialization()
Dquirks.rs14 use crate::parser::{default_port, Context, Input, Parser, SchemeType};
129 Parser::parse_port(remaining, || default_port(scheme), Context::Setter) in set_host()
214 || default_port(scheme), in set_port()
/external/grpc-grpc/test/core/end2end/
Dgoaway_server_test.cc48 const char* dns_server, const char* addr, const char* default_port,
59 static void my_resolve_address(const char* addr, const char* default_port, in my_resolve_address() argument
64 default_resolver->resolve_address(addr, default_port, interested_parties, in my_resolve_address()
92 const char* name, const char* default_port, in my_blocking_resolve_address() argument
94 return default_resolver->blocking_resolve_address(name, default_port, in my_blocking_resolve_address()
102 const char* dns_server, const char* addr, const char* default_port, in my_dns_lookup_ares_locked() argument
108 dns_server, addr, default_port, interested_parties, on_done, lb_addrs, in my_dns_lookup_ares_locked()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/http/
Dhttpcli.h45 const char* default_port; member
/external/grpc-grpc/src/core/lib/http/
Dhttpcli.h45 const char* default_port; member
/external/python/cpython2/Lib/
Dhttplib.py716 default_port = HTTP_PORT variable in HTTPConnection
775 port = self.default_port
780 port = self.default_port
977 if port == self.default_port:
1237 default_port = HTTPS_PORT variable in HTTPSConnection

12