Home
last modified time | relevance | path

Searched refs:test_addr (Results 1 – 3 of 3) sorted by relevance

/third_party/libuv/test/
Dtest-ip-name.c37 union TestAddr test_addr; in TEST_IMPL() local
38 struct sockaddr* addr = &test_addr.addr; in TEST_IMPL()
39 struct sockaddr_in* addr4 = &test_addr.addr4; in TEST_IMPL()
40 struct sockaddr_in6* addr6 = &test_addr.addr6; in TEST_IMPL()
/third_party/grpc/test/core/iomgr/
Dtcp_server_posix_test.cc75 } test_addr; typedef
80 test_addr addrs[MAX_ADDRS];
137 static void test_addr_init_str(test_addr* addr) { in test_addr_init_str()
223 static grpc_error* tcp_connect(const test_addr* remote, in tcp_connect()
359 test_addr dst = dst_addrs->addrs[dst_idx]; in test_connect()
390 test_addr dst; in test_connect()
/third_party/grpc/test/cpp/naming/
Daddress_sorting_test.cc66 grpc_resolved_address TestAddressToGrpcResolvedAddress(TestAddress test_addr) { in TestAddressToGrpcResolvedAddress() argument
70 grpc_core::SplitHostPort(test_addr.dest_addr.c_str(), &host, &port); in TestAddressToGrpcResolvedAddress()
71 if (test_addr.family == AF_INET) { in TestAddressToGrpcResolvedAddress()
80 GPR_ASSERT(test_addr.family == AF_INET6); in TestAddressToGrpcResolvedAddress()