Searched refs:h_name (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 167 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()
|
D | gethnamaddr.c | 240 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 …]
|
D | getnameinfo.c | 324 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/ |
D | netdb_test.cpp | 174 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/ |
D | netdb.h | 82 char *h_name; /* official name of host */ member
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 35 STRUCT_MEMBER(struct hostent, char*, h_name); in netdb_h()
|