Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dsethostent.c146 size_t len, anum, num, i; in _hf_gethtbyname2() local
166 anum = 0; /* XXX: gcc */ in _hf_gethtbyname2()
197 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2()
198 if (anum >= MAXALIASES) in _hf_gethtbyname2()
200 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2()
229 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2()
239 for (i = 0; i < anum; i++) in _hf_gethtbyname2()
241 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
Dgethnamaddr.c934 size_t anum; in netbsd_gethostent_r() local
1019 anum = (size_t)(q - aliases); in netbsd_gethostent_r()
1020 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in netbsd_gethostent_r()
1026 for (size_t i = 0; i < anum; i++) in netbsd_gethostent_r()
1028 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r()
1317 size_t len, anum, i; in _yp_hostent() local
1410 anum = (size_t)(q - aliases); in _yp_hostent()
1412 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent()
1421 for (i = 0; i < anum; i++) in _yp_hostent()
1423 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); \