Searched refs:hostname (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/kernel/uapi/linux/ |
H A D | nfs4_mount.h | 44 struct nfs_string hostname; member in struct:nfs4_mount_data
|
H A D | nfs_mount.h | 46 char hostname[NFS_MAXNAMLEN + 1]; member in struct:nfs_mount_data
|
/bionic/libc/dns/net/ |
H A D | getaddrinfo.c | 51 * when globbing NULL hostname (to loopback, or wildcard). Is it the right 55 * (1) what should we do against numeric hostname (2) what should we do 56 * against NULL hostname (3) what is AI_ADDRCONFIG itself. AF not ready? 256 "Address family for hostname not supported", /* EAI_ADDRFAMILY */ 262 "No address associated with hostname", /* EAI_NODATA */ 263 "hostname nor servname provided, or not known", /* EAI_NONAME */ 405 const char *hostname, const char *servname, 416 if ((hostname != NULL && 417 strcspn(hostname, " \n\r\t^'\"") != strlen(hostname)) || 404 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, unsigned netid) argument 560 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 567 android_getaddrinfofornet(const char *hostname, const char *servname, const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) argument 581 android_getaddrinfofornetcontext(const char *hostname, const char *servname, const struct addrinfo *hints, const struct android_net_context *netcontext, struct addrinfo **res) argument 794 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const struct android_net_context *netcontext) argument 923 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument 1010 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument [all...] |
/bionic/libc/dns/resolv/ |
H A D | res_data.c | 312 local_hostname_length(const char *hostname) { argument 317 len_host = strlen(hostname); 320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && 321 hostname[len_host - len_domain - 1] == '.')
|
/bionic/tests/ |
H A D | unistd_test.cpp | 498 char hostname[HOST_NAME_MAX + 1]; local 499 memset(hostname, 0, sizeof(hostname)); 501 // Can we get the hostname with a big buffer? 502 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); 504 // Can we get the hostname with a right-sized buffer? 506 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); 511 ASSERT_EQ(0, strncmp(hostname, buf.nodename, SYS_NMLN)); 512 ASSERT_GT(strlen(hostname), [all...] |
Completed in 75 milliseconds