Lines Matching refs:hostname

407     const char *hostname, const char *servname,  in android_getaddrinfo_proxy()  argument
418 if ((hostname != NULL && in android_getaddrinfo_proxy()
419 strcspn(hostname, " \n\r\t^'\"") != strlen(hostname)) || in android_getaddrinfo_proxy()
433 hostname == NULL ? "^" : hostname, in android_getaddrinfo_proxy()
563 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument
566 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res); in getaddrinfo()
571 android_getaddrinfofornet(const char *hostname, const char *servname, in android_getaddrinfofornet() argument
581 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); in android_getaddrinfofornet()
586 android_getaddrinfofornetcontext(const char *hostname, const char *servname, in android_getaddrinfofornetcontext() argument
615 if (hostname == NULL && servname == NULL) in android_getaddrinfofornetcontext()
706 if (hostname == NULL) in android_getaddrinfofornetcontext()
709 error = explore_numeric_scope(pai, hostname, servname, in android_getaddrinfofornetcontext()
727 if (hostname == NULL) in android_getaddrinfofornetcontext()
734 hostname, servname, hints, res, netcontext->app_netid); in android_getaddrinfofornetcontext()
767 pai, hostname, servname, &cur->ai_next, netcontext); in android_getaddrinfofornetcontext()
799 explore_fqdn(const struct addrinfo *pai, const char *hostname, in explore_fqdn() argument
827 default_dns_files, hostname, pai, netcontext)) { in explore_fqdn()
928 explore_numeric(const struct addrinfo *pai, const char *hostname, in explore_numeric() argument
959 if (inet_aton(hostname, (struct in_addr *)pton) == 1) { in explore_numeric()
980 if (inet_pton(afd->a_af, hostname, pton) == 1) { in explore_numeric()
1015 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, in explore_numeric_scope() argument
1019 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1043 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1045 cp = strchr(hostname, SCOPE_DELIMITER); in explore_numeric_scope()
1047 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1052 hostname2 = strdup(hostname); in explore_numeric_scope()
1056 hostname2[cp - hostname] = '\0'; in explore_numeric_scope()
1060 error = explore_numeric(pai, addr, servname, res, hostname); in explore_numeric_scope()