Lines Matching refs:vector
95 void verifyDumpOutput(const std::vector<StatsData>& tcpData, in verifyDumpOutput()
96 const std::vector<StatsData>& udpData, in verifyDumpOutput()
97 const std::vector<StatsData>& dotData) { in verifyDumpOutput()
103 const auto check = [&](const std::vector<StatsData>& statsData, const std::string& protocol, in verifyDumpOutput()
142 std::vector<std::string> servers; in TEST_F()
143 std::vector<std::string> expectation; in TEST_F()
175 std::vector<IPSockAddr> ipSockAddrs; in TEST_F()
185 std::vector<StatsData> expectedStats; in TEST_F()
200 const std::vector<IPSockAddr> servers = { in TEST_F()
217 EXPECT_TRUE(mDnsStats.setServers(std::vector(servers.begin() + 2, servers.end()), PROTO_TCP)); in TEST_F()
218 EXPECT_TRUE(mDnsStats.setServers(std::vector(servers.begin() + 2, servers.end()), PROTO_UDP)); in TEST_F()
219 EXPECT_TRUE(mDnsStats.setServers(std::vector(servers.begin() + 2, servers.end()), PROTO_DOT)); in TEST_F()
221 const std::vector<StatsData> expectedStats = { in TEST_F()
234 const std::vector<IPSockAddr> servers = { in TEST_F()
251 const std::vector<StatsData> expectedStatsForTcp = { in TEST_F()
255 const std::vector<StatsData> expectedStatsForUdp = { in TEST_F()
276 std::vector<IPSockAddr> servers = { in TEST_F()
294 std::vector<StatsData> expectedStats = { in TEST_F()
333 const std::vector<IPSockAddr> servers = { in TEST_F()
369 const std::vector<StatsData> expectedStats = { in TEST_F()