Searched refs:anum (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 132 size_t len, anum, num, i; in _hf_gethtbyname2() local 153 anum = 0; /* XXX: gcc */ in _hf_gethtbyname2() 184 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 185 if (anum >= MAXALIASES) 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() 226 for (i = 0; i < anum; i++) in _hf_gethtbyname2() 228 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
D | gethnamaddr.c | 965 size_t anum; in netbsd_gethostent_r() local 1050 anum = (size_t)(q - aliases); in netbsd_gethostent_r() 1051 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r() 1057 for (size_t i = 0; i < anum; i++) in netbsd_gethostent_r() 1059 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r() 1350 size_t len, anum, i; in _yp_hostent() local 1443 anum = (size_t)(q - aliases); in _yp_hostent() 1445 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent() 1454 for (i = 0; i < anum; i++) in _yp_hostent() 1456 hp->h_aliases[anum] = NULL; in _yp_hostent()
|
/bionic/libc/dns/include/ |
D | hostent.h | 67 #define HENT_ARRAY(dst, anum, ptr, len) \ argument 69 size_t _len = (anum + 1) * sizeof(*dst); \
|