Lines Matching refs:hints

408     const struct addrinfo *hints, struct addrinfo **res, unsigned netid)  in android_getaddrinfo_proxy()  argument
435 hints == NULL ? -1 : hints->ai_flags, in android_getaddrinfo_proxy()
436 hints == NULL ? -1 : hints->ai_family, in android_getaddrinfo_proxy()
437 hints == NULL ? -1 : hints->ai_socktype, in android_getaddrinfo_proxy()
438 hints == NULL ? -1 : hints->ai_protocol, in android_getaddrinfo_proxy()
564 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
566 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res); in getaddrinfo()
572 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) in android_getaddrinfofornet() argument
581 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); in android_getaddrinfofornet()
587 const struct addrinfo *hints, const struct android_net_context *netcontext, in android_getaddrinfofornetcontext() argument
617 if (hints) { in android_getaddrinfofornetcontext()
619 if (hints->ai_addrlen || hints->ai_canonname || in android_getaddrinfofornetcontext()
620 hints->ai_addr || hints->ai_next) in android_getaddrinfofornetcontext()
622 if (hints->ai_flags & ~AI_MASK) in android_getaddrinfofornetcontext()
624 switch (hints->ai_family) { in android_getaddrinfofornetcontext()
634 memcpy(pai, hints, sizeof(*pai)); in android_getaddrinfofornetcontext()
734 hostname, servname, hints, res, netcontext->app_netid); in android_getaddrinfofornetcontext()
2054 struct addrinfo hints, *res0, *res; in _gethtent() local
2096 hints = *pai; in _gethtent()
2097 hints.ai_flags = AI_NUMERICHOST; in _gethtent()
2098 error = getaddrinfo(addr, NULL, &hints, &res0); in _gethtent()