Home
last modified time | relevance | path

Searched refs:MAXDNSRCHPATH (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
Dparams.h23 #define MAXDNSRCHPATH 256 // max length of domain search paths macro
Dstats.h51 char domains[MAXDNSRCH][MAXDNSRCHPATH],
Dres_cache.cpp1568 return !(str.size() > MAXDNSRCHPATH - 1) && (tmp_set.insert(str).second); in filter_domains()
1760 char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net() argument
1780 strlcpy(domains[i], info->search_domains[i].c_str(), MAXDNSRCHPATH); in android_net_res_stats_get_info_for_net()
DResolverController.cpp96 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp219 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats()
667 const std::string domainTooLong(MAXDNSRCHPATH, '1'); in TEST_F()
668 const std::string validDomain1(MAXDNSRCHPATH - 1, '2'); in TEST_F()
669 const std::string validDomain2(MAXDNSRCHPATH - 1, '3'); in TEST_F()