Searched refs:h_aliases (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 186 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2() 197 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 200 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2() 229 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 240 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2() 241 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
D | gethnamaddr.c | 287 hent->h_aliases = ap = aliases; in getanswer() 501 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer() 504 hent->h_aliases = (void *)bp; in getanswer() 622 int aliases_len = ((int)(aliases - aliases_ptrs) + 1) * sizeof(*hp->h_aliases); in android_read_hostent() 626 hp->h_aliases = (void*)ptr; in android_read_hostent() 770 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal_real() 772 hp->h_aliases[0] = NULL; in gethostbyname_internal_real() 1020 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r() 1027 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r() 1028 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 83 char **h_aliases; /* alias list */ member
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 36 STRUCT_MEMBER(struct hostent, char**, h_aliases); in netdb_h()
|
/bionic/tests/ |
D | netdb_test.cpp | 175 for (size_t i = 0; hent->h_aliases[i] != nullptr; ++i) { in VerifyLocalhost() 176 VerifyLocalhostName(hent->h_aliases[i]); in VerifyLocalhost()
|