Home
last modified time | relevance | path

Searched refs:MAXDNSRCH (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DnsResolver/
Dparams.h22 #define MAXDNSRCH 6 // max # domains in search path macro
Dstats.h51 char domains[MAXDNSRCH][MAXDNSRCHPATH],
DResolverController.cpp96 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()
114 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
Dres_cache.cpp1570 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()
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp219 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats()
713 .domains = std::vector(domains.begin(), domains.begin() + MAXDNSRCH), in TEST_F()
Dresolv_integration_test.cpp1581 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()