Home
last modified time | relevance | path

Searched refs:resolved_addr1 (Results 1 – 2 of 2) sorted by relevance

/third_party/grpc/test/core/iomgr/
Dtcp_server_uv_test.cc223 grpc_resolved_address resolved_addr1; in test_connect() local
226 (struct sockaddr_storage*)resolved_addr1.addr; in test_connect()
237 memset(&resolved_addr1, 0, sizeof(resolved_addr1)); in test_connect()
239 resolved_addr1.len = sizeof(struct sockaddr_storage); in test_connect()
248 grpc_sockaddr_set_port(&resolved_addr1, svr1_port); in test_connect()
249 GPR_ASSERT(grpc_tcp_server_add_port(s, &resolved_addr1, &svr_port) == in test_connect()
269 tcp_connect((struct sockaddr*)addr1, (socklen_t)resolved_addr1.len, in test_connect()
Dtcp_server_posix_test.cc290 grpc_resolved_address resolved_addr1; in test_connect() local
294 reinterpret_cast<struct sockaddr_storage*>(resolved_addr1.addr); in test_connect()
316 memset(&resolved_addr1, 0, sizeof(resolved_addr1)); in test_connect()
318 resolved_addr1.len = static_cast<socklen_t>(sizeof(struct sockaddr_storage)); in test_connect()
330 grpc_sockaddr_set_port(&resolved_addr1, svr1_port); in test_connect()
331 GPR_ASSERT(grpc_tcp_server_add_port(s, &resolved_addr1, &port) == in test_connect()