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
DResolverController.cpp114 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()
132 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
Dstats.h51 char domains[MAXDNSRCH][MAXDNSRCHPATH],
Dres_cache.cpp1534 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()
Dresolv_cache_unit_test.cpp220 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats()
714 .domains = std::vector(domains.begin(), domains.begin() + MAXDNSRCH), in TEST_F()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1412 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()