Lines Matching refs:std
36 inline const std::vector<std::string> kDefaultServers = {"127.0.0.3"};
37 inline const std::vector<std::string> kDefaultSearchDomains = {"example.com"};
38 inline const std::vector<int> kDefaultParams = {
49 std::string host;
50 std::string entry;
51 std::string ip4;
52 std::string ip6;
57 static void SetupMappings(unsigned num_hosts, const std::vector<std::string>& domains,
58 std::vector<Mapping>* mappings);
60 bool SetResolversForNetwork(const std::vector<std::string>& servers = kDefaultServers,
61 const std::vector<std::string>& domains = kDefaultSearchDomains,
62 const std::vector<int>& params = kDefaultParams);
64 bool SetResolversForNetwork(const std::vector<std::string>& servers,
65 const std::vector<std::string>& searchDomains,
66 const std::string& params);
68 bool SetResolversWithTls(const std::vector<std::string>& servers, in SetResolversWithTls()
69 const std::vector<std::string>& searchDomains, in SetResolversWithTls()
70 const std::vector<int>& params, in SetResolversWithTls()
71 const std::string& name, in SetResolversWithTls()
72 const std::vector<std::string>& fingerprints) { in SetResolversWithTls()
79 bool SetResolversWithTls(const std::vector<std::string>& servers,
80 const std::vector<std::string>& searchDomains,
81 const std::vector<int>& params,
82 const std::vector<std::string>& tlsServers,
83 const std::string& name,
84 const std::vector<std::string>& fingerprints);
86 static void SetupDNSServers(unsigned num_servers, const std::vector<Mapping>& mappings,
87 std::vector<std::unique_ptr<test::DNSResponder>>* dns,
88 std::vector<std::string>* servers);