Home
last modified time | relevance | path

Searched refs:anum (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/net/
Dsethostent.c143 size_t len, anum, num, i; in _hf_gethtbyname2() local
163 anum = 0; /* XXX: gcc */ in _hf_gethtbyname2()
194 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2()
195 if (anum >= MAXALIASES) 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()
236 for (i = 0; i < anum; i++) in _hf_gethtbyname2()
238 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
Dgethnamaddr.c933 size_t anum; in netbsd_gethostent_r() local
1018 anum = (size_t)(q - aliases); in netbsd_gethostent_r()
1019 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r()
1025 for (size_t i = 0; i < anum; i++) in netbsd_gethostent_r()
1027 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r()
1316 size_t len, anum, i; in _yp_hostent() local
1409 anum = (size_t)(q - aliases); in _yp_hostent()
1411 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent()
1420 for (i = 0; i < anum; i++) in _yp_hostent()
1422 hp->h_aliases[anum] = NULL; in _yp_hostent()
/bionic/libc/dns/include/
Dhostent.h67 #define HENT_ARRAY(dst, anum, ptr, len) \ argument
69 size_t _len = (anum + 1) * sizeof(*dst); \