Searched refs:MAXDNSRCH (Results 1 – 6 of 6) sorted by relevance
22 #define MAXDNSRCH 6 // max # domains in search path macro
51 char domains[MAXDNSRCH][MAXDNSRCHPATH],
96 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()114 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
1570 if (res.size() > MAXDNSRCH) { in filter_domains()1572 << ", but MAXDNSRCH=" << MAXDNSRCH; in filter_domains()1573 res.resize(MAXDNSRCH); in filter_domains()1760 char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net()
219 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats()713 .domains = std::vector(domains.begin(), domains.begin() + MAXDNSRCH), in TEST_F()
1581 for (size_t i = 0; i < MAXDNSRCH + 1; i++) { in TEST_F()1659 for (unsigned i = 0; i < MAXDNSRCH + 1; i++) { in TEST_F()1692 EXPECT_EQ(static_cast<size_t>(MAXDNSRCH), res_domains.size()); in TEST_F()1695 EXPECT_TRUE(std::equal(domains.begin(), domains.begin() + MAXDNSRCH, res_domains.begin())); in TEST_F()