Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dsethostent.c167 hent.h_name = NULL; /* XXX: gcc */ in _hf_gethtbyname2()
184 if (strcasecmp(hp->h_name, name) != 0) { in _hf_gethtbyname2()
196 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2()
237 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len); in _hf_gethtbyname2()
Dgethnamaddr.c240 hent->h_name = NULL; in getanswer()
282 hent->h_name = bp; in getanswer()
285 qname = hent->h_name; in getanswer()
339 hent->h_name = bp; in getanswer()
391 hent->h_name = bp; in getanswer()
404 hent->h_name = bp; in getanswer()
418 if (strcasecmp(hent->h_name, bp) != 0) { in getanswer()
420 AskedForGot, hent->h_name, bp); in getanswer()
439 hent->h_name = bp; in getanswer()
482 if (!hent->h_name) { in getanswer()
[all …]
Dgetnameinfo.c324 p = strchr(hp->h_name, '.'); in getnameinfo_inet()
330 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { in getnameinfo_inet()
333 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet()
/bionic/tests/
Dnetdb_test.cpp174 VerifyLocalhostName(hent->h_name); in VerifyLocalhost()
476 std::string first_host(gethostent()->h_name); in TEST()
478 ASSERT_EQ(first_host, std::string(gethostent()->h_name)); in TEST()
483 std::string first_host(gethostent()->h_name); in TEST()
485 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()