Home
last modified time | relevance | path

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

/system/netd/resolv/include/netd_resolv/
Dparams.h23 #define MAXDNSRCH 6 // max # domains in search path macro
Dstats.h54 char domains[MAXDNSRCH][MAXDNSRCHPATH], res_params* params, res_stats stats[MAXNS],
/system/netd/resolv/
Dresolv_private.h96 char* dnsrch[MAXDNSRCH + 1]; /* components of domain to search */
DResolverController.cpp116 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()
134 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
Dres_cache.cpp1147 int dnsrch_offset[MAXDNSRCH + 1]; // offsets into defdname
1808 while (offset < cache_info->dnsrch_offset + MAXDNSRCH) { in resolv_set_nameservers_for_net()
1908 while (pp < statp->dnsrch + MAXDNSRCH && *p != -1) { in _resolv_populate_res_for_net()
1941 char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net()
1982 for (i = 0; i < MAXDNSRCH; i++) { in android_net_res_stats_get_info_for_net()
Dresolver_test.cpp1089 for (unsigned i = 0; i < MAXDNSRCH + 1; i++) { in TEST_F()
1120 EXPECT_EQ(static_cast<size_t>(MAXDNSRCH), res_domains.size()); in TEST_F()
1123 EXPECT_TRUE(std::equal(domains.begin(), domains.begin() + MAXDNSRCH, res_domains.begin())); in TEST_F()