Home
last modified time | relevance | path

Searched refs:grpc_sockaddr_set_port (Results 1 – 20 of 20) sorted by relevance

/external/grpc-grpc/test/core/iomgr/
Dsockaddr_utils_test.cc257 GPR_ASSERT(grpc_sockaddr_set_port(&input4, 54321)); in test_sockaddr_set_get_port()
262 GPR_ASSERT(grpc_sockaddr_set_port(&input6, 54321)); in test_sockaddr_set_get_port()
269 GPR_ASSERT(grpc_sockaddr_set_port(&dummy, 1234) == 0); in test_sockaddr_set_get_port()
Dtcp_server_posix_test.cc330 grpc_sockaddr_set_port(&resolved_addr1, svr1_port); in test_connect()
365 GPR_ASSERT(grpc_sockaddr_set_port(&dst.addr, ports[port_num])); in test_connect()
473 grpc_sockaddr_set_port(&dst_addrs->addrs[dst_addrs->naddrs].addr, 0)); in main()
Dtcp_server_uv_test.cc244 grpc_sockaddr_set_port(&resolved_addr1, svr1_port); in test_connect()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.h57 int grpc_sockaddr_set_port(const grpc_resolved_address* addr, int port);
Dudp_server.cc612 grpc_sockaddr_set_port(allocated_addr, port); in grpc_udp_server_add_port()
643 grpc_sockaddr_set_port(addr, allocated_port1); in grpc_udp_server_add_port()
660 grpc_sockaddr_set_port(&wild4, allocated_port1); in grpc_udp_server_add_port()
683 grpc_sockaddr_set_port(addr, allocated_port2); in grpc_udp_server_add_port()
Dsockaddr_utils.cc216 grpc_sockaddr_set_port(out, port); in grpc_string_to_sockaddr()
293 int grpc_sockaddr_set_port(const grpc_resolved_address* resolved_addr, in grpc_sockaddr_set_port() function
Dtcp_server_utils_posix_ifaddrs.cc129 if (!grpc_sockaddr_set_port(&addr, requested_port)) { in grpc_tcp_server_add_all_local_addrs()
Dtcp_server_posix.cc297 grpc_sockaddr_set_port(&wild4, requested_port); in add_wildcard_addrs_to_server()
410 grpc_sockaddr_set_port(&sockname_temp, used_port); in tcp_server_add_port()
Dtcp_server_custom.cc356 grpc_sockaddr_set_port(allocated_addr, *port); in tcp_server_add_port()
Dtcp_server_windows.cc476 grpc_sockaddr_set_port(allocated_addr, *port); in tcp_server_add_port()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dudp_server.cc614 grpc_sockaddr_set_port(allocated_addr, port); in grpc_udp_server_add_port()
645 grpc_sockaddr_set_port(addr, allocated_port1); in grpc_udp_server_add_port()
662 grpc_sockaddr_set_port(&wild4, allocated_port1); in grpc_udp_server_add_port()
685 grpc_sockaddr_set_port(addr, allocated_port2); in grpc_udp_server_add_port()
Dtcp_server_utils_posix_ifaddrs.cc131 if (!grpc_sockaddr_set_port(&addr, requested_port)) { in grpc_tcp_server_add_all_local_addrs()
Dtcp_server_posix.cc314 grpc_sockaddr_set_port(&wild4, requested_port); in add_wildcard_addrs_to_server()
428 grpc_sockaddr_set_port(&sockname_temp, used_port); in tcp_server_add_port()
Dtcp_server_custom.cc374 grpc_sockaddr_set_port(allocated_addr, *port); in tcp_server_add_port()
Dtcp_server_windows.cc479 grpc_sockaddr_set_port(allocated_addr, *port); in tcp_server_add_port()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/address_utils/
Dsockaddr_utils.h59 int grpc_sockaddr_set_port(grpc_resolved_address* addr, int port);
Dsockaddr_utils.cc216 grpc_sockaddr_set_port(out, port); in grpc_string_to_sockaddr()
280 int grpc_sockaddr_set_port(grpc_resolved_address* resolved_addr, int port) { in grpc_sockaddr_set_port() function
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pxd.pxi122 int grpc_sockaddr_set_port(const grpc_resolved_address *resolved_addr,
/external/grpc-grpc/test/core/end2end/fixtures/
Dhttp_proxy_fixture.cc548 grpc_sockaddr_set_port(&resolved_addr, proxy_port); in grpc_end2end_http_proxy_create()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc852 grpc_sockaddr_set_port(&resolved->addrs[i], *port_num); in Chttp2ServerAddPort()