Searched refs:hostname (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_data.c | 312 local_hostname_length(const char *hostname) { in local_hostname_length() argument 317 len_host = strlen(hostname); in local_hostname_length() 320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length() 321 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 409 const char *hostname, const char *servname, in android_getaddrinfo_proxy() argument 424 if ((hostname != NULL && in android_getaddrinfo_proxy() 425 strcspn(hostname, " \n\r\t^'\"") != strlen(hostname)) || in android_getaddrinfo_proxy() 451 hostname == NULL ? "^" : hostname, in android_getaddrinfo_proxy() 578 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument 581 return android_getaddrinfoforiface(hostname, servname, hints, NULL, 0, res); in getaddrinfo() 585 android_getaddrinfoforiface(const char *hostname, const char *servname, in android_getaddrinfoforiface() argument 613 if (hostname == NULL && servname == NULL) in android_getaddrinfoforiface() 704 if (hostname == NULL) in android_getaddrinfoforiface() 707 error = explore_numeric_scope(pai, hostname, servname, in android_getaddrinfoforiface() [all …]
|