Searched refs:rcodeCounts (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 57 const std::map<int, int>& rcodeCounts) { in makeStatsData() argument 61 ret.rcodeCounts = rcodeCounts; in makeStatsData() 523 EXPECT_EQ(data.rcodeCounts.size(), 1U); in TEST_F() 525 const auto it = data.rcodeCounts.find(NS_R_NO_ERROR); in TEST_F() 526 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F() 529 const auto it = data.rcodeCounts.find(NS_R_TIMEOUT); in TEST_F() 530 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F() 533 const auto it = data.rcodeCounts.find(NS_R_INTERNAL_ERROR); in TEST_F() 534 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F()
|
D | DnsStats.cpp | 76 return std::tie(serverSockAddr, total, rcodeCounts, latencyUs) == in operator ==() 77 std::tie(o.serverSockAddr, o.total, o.rcodeCounts, o.latencyUs); in operator ==() 90 for (const auto& [rcode, counts] : rcodeCounts) { in toString() 129 mStatsData.rcodeCounts[rcode] += 1; in updateStatsData() 133 mStatsData.rcodeCounts[rcode] -= 1; in updateStatsData()
|
D | DnsStats.h | 47 std::map<int, int> rcodeCounts; member
|