Home
last modified time | relevance | path

Searched refs:h_aliases (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/dns/net/
Dsethostent.c183 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2()
194 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2()
197 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2()
226 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2()
237 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2()
238 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
Dgethnamaddr.c286 hent->h_aliases = ap = aliases; in getanswer()
500 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer()
503 hent->h_aliases = (void *)bp; in getanswer()
621 int aliases_len = ((int)(aliases - aliases_ptrs) + 1) * sizeof(*hp->h_aliases); in android_read_hostent()
625 hp->h_aliases = (void*)ptr; in android_read_hostent()
769 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal_real()
771 hp->h_aliases[0] = NULL; in gethostbyname_internal_real()
1019 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r()
1026 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r()
1027 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r()
[all …]
/bionic/libc/include/
Dnetdb.h83 char **h_aliases; /* alias list */ member
/bionic/tests/headers/posix/
Dnetdb_h.c36 STRUCT_MEMBER(struct hostent, char**, h_aliases); in netdb_h()
/bionic/tests/
Dnetdb_test.cpp175 for (size_t i = 0; hent->h_aliases[i] != nullptr; ++i) { in VerifyLocalhost()
176 VerifyLocalhostName(hent->h_aliases[i]); in VerifyLocalhost()