Lines Matching refs:ap
190 va_list ap; in debugprintf() local
192 va_start (ap, res); in debugprintf()
193 vprintf(msg, ap); in debugprintf()
194 va_end (ap); in debugprintf()
224 char *bp, **ap, **hap, *ep; in getanswer() local
286 hent->h_aliases = ap = aliases; in getanswer()
288 *ap = NULL; in getanswer()
324 addalias(ap, bp, aliases, maxaliases); in getanswer()
392 addalias(ap, bp, aliases, maxaliases); in getanswer()
472 *ap = NULL; in getanswer()
499 n = (int)(ap - aliases); in getanswer()
1065 char **ap; in map_v4v6_hostent() local
1075 for (ap = hp->h_addr_list; *ap; ap++) { in map_v4v6_hostent()
1081 *ap = NULL; in map_v4v6_hostent()
1085 map_v4v6_address(*ap, *bpp); in map_v4v6_hostent()
1086 *ap = *bpp; in map_v4v6_hostent()
1092 addrsort(char **ap, int num, res_state res) in addrsort() argument
1099 _DIAGASSERT(ap != NULL); in addrsort()
1101 p = ap; in addrsort()
1124 hp = ap[j]; in addrsort()
1125 ap[j] = ap[j+1]; in addrsort()
1126 ap[j+1] = hp; in addrsort()
1136 _dns_gethtbyname(void *rv, void *cb_data, va_list ap) in _dns_gethtbyname() argument
1147 name = va_arg(ap, char *); in _dns_gethtbyname()
1148 /* NOSTRICT skip string len */(void)va_arg(ap, int); in _dns_gethtbyname()
1149 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname()
1198 _dns_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _dns_gethtbyaddr() argument
1214 uaddr = va_arg(ap, unsigned char *); in _dns_gethtbyaddr()
1215 info->hp->h_length = va_arg(ap, int); in _dns_gethtbyaddr()
1216 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr()
1217 netcontext = va_arg(ap, const struct android_net_context *); in _dns_gethtbyaddr()
1435 _yp_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _yp_gethtbyaddr() argument
1448 uaddr = va_arg(ap, unsigned char *); in _yp_gethtbyaddr()
1449 /* NOSTRICT skip len */(void)va_arg(ap, int); in _yp_gethtbyaddr()
1450 af = va_arg(ap, int); in _yp_gethtbyaddr()
1487 _yp_gethtbyname(void *rv, void *cb_data, va_list ap) in _yp_gethtbyname() argument
1499 name = va_arg(ap, char *); in _yp_gethtbyname()
1500 /* NOSTRICT skip string len */(void)va_arg(ap, int); in _yp_gethtbyname()
1501 af = va_arg(ap, int); in _yp_gethtbyname()