Searched refs:h_name (Results 1 - 5 of 5) sorted by relevance

/bionic/libc/dns/net/
H A Dsethostent.c154 hent.h_name = NULL; /* XXX: gcc */
171 if (strcasecmp(hp->h_name, name) != 0) {
183 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len);
224 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len);
H A Dgethnamaddr.c224 hent->h_name = NULL;
266 hent->h_name = bp;
268 /* The qname can be abbreviated, but h_name is now absolute. */
269 qname = hent->h_name;
323 hent->h_name = bp;
375 hent->h_name = bp;
388 hent->h_name = bp;
402 if (strcasecmp(hent->h_name, bp) != 0) {
404 AskedForGot, hent->h_name, bp);
423 hent->h_name
[all...]
H A Dgetnameinfo.c315 p = strchr(hp->h_name, '.');
321 if (strlen(hp->h_name) + 1 > (size_t)hostlen) {
324 strlcpy(host, hp->h_name, hostlen);
/bionic/libc/include/
H A Dnetdb.h82 char *h_name; /* official name of host */ member in struct:hostent
/bionic/tests/
H A Dnetdb_test.cpp174 VerifyLocalhostName(hent->h_name);

Completed in 55 milliseconds