Home
last modified time | relevance | path

Searched refs:h_name (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/dns/net/
Dsethostent.c164 hent.h_name = NULL; /* XXX: gcc */ in _hf_gethtbyname2()
181 if (strcasecmp(hp->h_name, name) != 0) { in _hf_gethtbyname2()
193 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2()
234 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len); in _hf_gethtbyname2()
Dgethnamaddr.c239 hent->h_name = NULL; in getanswer()
281 hent->h_name = bp; in getanswer()
284 qname = hent->h_name; in getanswer()
338 hent->h_name = bp; in getanswer()
390 hent->h_name = bp; in getanswer()
403 hent->h_name = bp; in getanswer()
417 if (strcasecmp(hent->h_name, bp) != 0) { in getanswer()
419 AskedForGot, hent->h_name, bp); in getanswer()
438 hent->h_name = bp; in getanswer()
481 if (!hent->h_name) { in getanswer()
[all …]
Dgetnameinfo.c327 p = strchr(hp->h_name, '.'); in getnameinfo_inet()
333 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { in getnameinfo_inet()
336 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet()
/bionic/tests/
Dnetdb_test.cpp175 VerifyLocalhostName(hent->h_name); in VerifyLocalhost()
484 std::string first_host(gethostent()->h_name); in TEST()
486 ASSERT_EQ(first_host, std::string(gethostent()->h_name)); in TEST()
491 std::string first_host(gethostent()->h_name); in TEST()
493 ASSERT_EQ(first_host, std::string(gethostent()->h_name)); in TEST()
/bionic/libc/include/
Dnetdb.h82 char *h_name; /* official name of host */ member
/bionic/tests/headers/posix/
Dnetdb_h.c35 STRUCT_MEMBER(struct hostent, char*, h_name); in netdb_h()