Lines Matching refs:aplist
517 char **aplist = NULL, *apbuf = NULL; local
595 aplist = hp->h_addr_list;
604 aplist = (char **)malloc(sizeof(aplist[0]) * naddrs);
606 if (aplist == NULL || apbuf == NULL) {
610 memset(aplist, 0, sizeof(aplist[0]) * naddrs);
613 aplist[i] = NULL;
618 aplist[i] = &apbuf[i * hp->h_length];
622 for (i = 0; aplist[i] != NULL; i++) {
624 ap = aplist[i];
667 if (aplist)
668 free(aplist);