Searched refs:pai (Results 1 – 1 of 1) sorted by relevance
/system/netd/resolv/ |
D | getaddrinfo.cpp | 143 static int dns_getaddrinfo(const char* name, const addrinfo* pai, 148 static bool files_getaddrinfo(const char* name, const addrinfo* pai, addrinfo** res); 180 (ai) = get_ai(pai, (afd), (addr)); \ 438 static int explore_fqdn(const struct addrinfo* pai, const char* hostname, const char* servname, in explore_fqdn() argument 443 assert(pai != NULL); in explore_fqdn() 451 if (get_portmatch(pai, servname) != 0) return 0; in explore_fqdn() 453 if (!files_getaddrinfo(hostname, pai, &result)) { in explore_fqdn() 454 error = dns_getaddrinfo(hostname, pai, netcontext, &result); in explore_fqdn() 476 static int explore_null(const struct addrinfo* pai, const char* servname, struct addrinfo** res) { in explore_null() argument 485 assert(pai != NULL); in explore_null() [all …]
|