Searched refs:h_name (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 164 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()
|
D | gethnamaddr.c | 239 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 …]
|
D | getnameinfo.c | 327 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/ |
D | netdb_test.cpp | 175 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/ |
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()
|