Searched refs:ipSockAddrs (Results 1 – 2 of 2) sorted by relevance
179 std::vector<IPSockAddr> ipSockAddrs; in TEST_F() local180 ipSockAddrs.reserve(servers.size()); in TEST_F()182 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in TEST_F()185 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_TCP) == isSuccess); in TEST_F()186 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_UDP) == isSuccess); in TEST_F()187 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_DOT) == isSuccess); in TEST_F()
1593 std::vector<IPSockAddr> ipSockAddrs; in resolv_set_nameservers() local1594 ipSockAddrs.reserve(nameservers.size()); in resolv_set_nameservers()1597 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in resolv_set_nameservers()1616 netconfig->nameserverSockAddrs = std::move(ipSockAddrs); in resolv_set_nameservers()