Searched refs:anum (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/ |
D | sethostent.cpp | 91 size_t anum = 0; in _hf_gethtbyname2() local 118 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 119 if (anum >= MAXALIASES) goto nospc; in _hf_gethtbyname2() 120 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], ptr, len); in _hf_gethtbyname2() 148 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 163 for (i = 0; i < anum; i++) { in _hf_gethtbyname2() 166 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
D | hostent.h | 51 #define HENT_ARRAY(dst, anum, ptr, len) do { \ argument 52 size_t _len = (anum + 1) * sizeof(*dst); \
|
D | gethnamaddr.cpp | 566 size_t anum; in netbsd_gethostent_r() local 637 anum = aliases.size(); in netbsd_gethostent_r() 638 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r() 648 for (size_t i = 0; i < anum; i++) HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r() 649 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r()
|