• Home
  • Raw
  • Download

Lines Matching refs:hostname

409     const char *hostname, const char *servname,  in android_getaddrinfo_proxy()  argument
441 if ((hostname != NULL && in android_getaddrinfo_proxy()
442 strcspn(hostname, " \n\r\t^'\"") != strlen(hostname)) || in android_getaddrinfo_proxy()
468 hostname == NULL ? "^" : hostname, in android_getaddrinfo_proxy()
594 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument
622 if (hostname == NULL && servname == NULL) in getaddrinfo()
713 if (hostname == NULL) in getaddrinfo()
716 error = explore_numeric_scope(pai, hostname, servname, in getaddrinfo()
734 if (hostname == NULL) in getaddrinfo()
742 if (android_getaddrinfo_proxy(hostname, servname, hints, res) == 0) { in getaddrinfo()
772 error = explore_fqdn(pai, hostname, servname, in getaddrinfo()
805 explore_fqdn(const struct addrinfo *pai, const char *hostname, in explore_fqdn() argument
832 default_dns_files, hostname, pai)) { in explore_fqdn()
933 explore_numeric(const struct addrinfo *pai, const char *hostname, in explore_numeric() argument
964 if (inet_aton(hostname, (struct in_addr *)pton) == 1) { in explore_numeric()
985 if (inet_pton(afd->a_af, hostname, pton) == 1) { in explore_numeric()
1020 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, in explore_numeric_scope() argument
1024 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1048 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1050 cp = strchr(hostname, SCOPE_DELIMITER); in explore_numeric_scope()
1052 return explore_numeric(pai, hostname, servname, res, hostname); in explore_numeric_scope()
1057 hostname2 = strdup(hostname); in explore_numeric_scope()
1061 hostname2[cp - hostname] = '\0'; in explore_numeric_scope()
1065 error = explore_numeric(pai, addr, servname, res, hostname); in explore_numeric_scope()