Home
last modified time | relevance | path

Searched refs:grpc_sockaddr_get_port (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/test/core/iomgr/
Dsockaddr_utils_test.cc256 GPR_ASSERT(grpc_sockaddr_get_port(&input4) == 12345); in test_sockaddr_set_get_port()
258 GPR_ASSERT(grpc_sockaddr_get_port(&input4) == 54321); in test_sockaddr_set_get_port()
261 GPR_ASSERT(grpc_sockaddr_get_port(&input6) == 12345); in test_sockaddr_set_get_port()
263 GPR_ASSERT(grpc_sockaddr_get_port(&input6) == 54321); in test_sockaddr_set_get_port()
268 GPR_ASSERT(grpc_sockaddr_get_port(&dummy) == 0); in test_sockaddr_set_get_port()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.h54 int grpc_sockaddr_get_port(const grpc_resolved_address* addr);
Dtcp_server_custom.cc299 port = grpc_sockaddr_get_port(&sockname_temp); in add_socket_to_server()
344 if (grpc_sockaddr_get_port(addr) == 0) { in tcp_server_add_port()
351 *port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
Dtcp_server_windows.cc218 *port = grpc_sockaddr_get_port(&sockname_temp); in prepare_socket()
464 if (grpc_sockaddr_get_port(addr) == 0) { in tcp_server_add_port()
471 *port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
Dudp_server.cc430 return grpc_sockaddr_get_port(&sockname_temp); in prepare_socket()
598 if (grpc_sockaddr_get_port(addr) == 0) { in grpc_udp_server_add_port()
606 port = grpc_sockaddr_get_port(&sockname_temp); in grpc_udp_server_add_port()
Dtcp_server_utils_posix_ifaddrs.cc84 *port = grpc_sockaddr_get_port(&wild); in get_unused_port()
Dtcp_client_cfstream.cc153 *port = grpc_sockaddr_get_port(addr); in ParseResolvedAddress()
Dtcp_server_utils_posix_common.cc207 *port = grpc_sockaddr_get_port(&sockname_temp); in grpc_tcp_server_prepare_socket()
Dtcp_server_posix.cc387 int requested_port = grpc_sockaddr_get_port(addr); in tcp_server_add_port()
407 int used_port = grpc_sockaddr_get_port(&sockname_temp); in tcp_server_add_port()
Dsockaddr_utils.cc260 int grpc_sockaddr_get_port(const grpc_resolved_address* resolved_addr) { in grpc_sockaddr_get_port() function
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc414 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
415 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
423 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
424 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pxd.pxi118 int grpc_sockaddr_get_port(const grpc_resolved_address *addr);
Dgrpc_gevent.pyx.pxi37 port = grpc_sockaddr_get_port(address)