Searched refs:MAXDNSRCH (Results 1 – 6 of 6) sorted by relevance
23 #define MAXDNSRCH 6 // max # domains in search path macro
54 char domains[MAXDNSRCH][MAXDNSRCHPATH], res_params* params, res_stats stats[MAXNS],
96 char* dnsrch[MAXDNSRCH + 1]; /* components of domain to search */
116 char res_domains[MAXDNSRCH][MAXDNSRCHPATH]; in getDnsInfo()134 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
1147 int dnsrch_offset[MAXDNSRCH + 1]; // offsets into defdname1808 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()
1089 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()