Searched refs:hostname (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_data.c | 318 local_hostname_length(const char *hostname) { in local_hostname_length() argument 323 len_host = strlen(hostname); in local_hostname_length() 326 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length() 327 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 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() [all …]
|