Searched refs:MAXDNSRCH (Results 1 – 6 of 6) sorted by relevance
22 #define MAXDNSRCH 6 // max # domains in search path macro
114 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()132 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
51 char domains[MAXDNSRCH][MAXDNSRCHPATH],
1534 if (res.size() > MAXDNSRCH) { in filter_domains()1536 << ", but MAXDNSRCH=" << MAXDNSRCH; in filter_domains()1537 res.resize(MAXDNSRCH); in filter_domains()1728 char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net()
220 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats()714 .domains = std::vector(domains.begin(), domains.begin() + MAXDNSRCH), in TEST_F()
1412 for (size_t i = 0; i < MAXDNSRCH + 1; i++) { in TEST_F()1490 for (unsigned i = 0; i < MAXDNSRCH + 1; i++) { in TEST_F()1523 EXPECT_EQ(static_cast<size_t>(MAXDNSRCH), res_domains.size()); in TEST_F()1526 EXPECT_TRUE(std::equal(domains.begin(), domains.begin() + MAXDNSRCH, res_domains.begin())); in TEST_F()