Searched refs:dcount (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 95 int dcount = -1; in getDnsInfo() local 104 netId, &nscount, res_servers, &dcount, res_domains, params, res_stats, in getDnsInfo() 114 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo() 115 LOG(ERROR) << __func__ << ": nscount = " << nscount << ", dcount = " << dcount; in getDnsInfo() 147 for (int i = 0; i < dcount; ++i) { in getDnsInfo()
|
D | stats.h | 50 sockaddr_storage servers[MAXNS], int* dcount,
|
D | res_cache.cpp | 1759 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net() argument 1784 *dcount = static_cast<int>(info->search_domains.size()); in android_net_res_stats_get_info_for_net()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 218 int dcount = -1; in expectCacheStats() local 223 android_net_res_stats_get_info_for_net(netId, &nscount, servers, &dcount, domains, ¶ms, in expectCacheStats() 233 EXPECT_EQ(dcount, static_cast<int>(expected.setup.domains.size())) << msg; in expectCacheStats() 234 for (int i = 0; i < dcount; i++) { in expectCacheStats()
|