Searched refs:ipSockAddrs (Results 1 – 2 of 2) sorted by relevance
210 std::vector<IPSockAddr> ipSockAddrs; in TEST_F() local211 ipSockAddrs.reserve(servers.size()); in TEST_F()213 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in TEST_F()216 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_TCP) == isSuccess); in TEST_F()217 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_UDP) == isSuccess); in TEST_F()218 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_DOT) == isSuccess); in TEST_F()
1629 std::vector<IPSockAddr> ipSockAddrs; in resolv_set_nameservers() local1630 ipSockAddrs.reserve(nameservers.size()); in resolv_set_nameservers()1633 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in resolv_set_nameservers()1652 netconfig->nameserverSockAddrs = std::move(ipSockAddrs); in resolv_set_nameservers()