Lines Matching refs:aliases
230 char **aliases; in getanswer() local
255 setup(aliases, maxaliases); in getanswer()
287 hent->h_aliases = ap = aliases; in getanswer()
325 addalias(ap, bp, aliases, maxaliases); in getanswer()
393 addalias(ap, bp, aliases, maxaliases); in getanswer()
495 free(aliases); in getanswer()
500 n = (int)(ap - aliases); in getanswer()
505 memcpy(bp, aliases, qlen); in getanswer()
506 free(aliases); in getanswer()
507 aliases = NULL; in getanswer()
519 free(aliases); in getanswer()
599 char **aliases = &aliases_ptrs[0]; in android_read_hostent() local
606 *aliases = NULL; in android_read_hostent()
613 if (aliases < &aliases_ptrs[MAXALIASES - 1]) { in android_read_hostent()
614 *aliases++ = ptr; in android_read_hostent()
622 int aliases_len = ((int)(aliases - aliases_ptrs) + 1) * sizeof(*hp->h_aliases); in android_read_hostent()
935 char **aliases; in netbsd_gethostent_r() local
945 setup(aliases, maxaliases); in netbsd_gethostent_r()
959 free(aliases); in netbsd_gethostent_r()
1004 q = aliases; in netbsd_gethostent_r()
1010 addalias(q, cp, aliases, maxaliases); in netbsd_gethostent_r()
1019 anum = (size_t)(q - aliases); in netbsd_gethostent_r()
1027 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r()
1032 free(aliases); in netbsd_gethostent_r()
1036 free(aliases); in netbsd_gethostent_r()
1313 char **aliases; in _yp_hostent() local
1337 setup(aliases, maxaliases); in _yp_hostent()
1339 q = aliases; in _yp_hostent()
1381 addalias(q, p, aliases, maxaliases); in _yp_hostent()
1395 addalias(q, cp, aliases, maxaliases); in _yp_hostent()
1403 free(aliases); in _yp_hostent()
1410 anum = (size_t)(q - aliases); in _yp_hostent()
1422 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _yp_hostent()
1424 free(aliases); in _yp_hostent()
1428 free(aliases); in _yp_hostent()