Searched refs:h_aliases (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 173 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2() 184 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 187 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2() 216 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 227 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2() 228 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
D | gethnamaddr.c | 270 hent->h_aliases = ap = aliases; in getanswer() 484 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer() 487 hent->h_aliases = (void *)bp; in getanswer() 645 int aliases_len = ((int)(aliases - aliases_ptrs) + 1) * sizeof(*hp->h_aliases); in android_read_hostent() 649 hp->h_aliases = (void*)ptr; in android_read_hostent() 793 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal_real() 795 hp->h_aliases[0] = NULL; in gethostbyname_internal_real() 1050 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r() 1057 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r() 1058 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/ |
D | netdb_test.cpp | 175 for (size_t i = 0; hent->h_aliases[i] != NULL; ++i) { in VerifyLocalhost() 176 VerifyLocalhostName(hent->h_aliases[i]); in VerifyLocalhost()
|