Lines Matching defs:ap
518 char *ap;
624 ap = aplist[i];
627 && IN6_IS_ADDR_V4MAPPED((struct in6_addr *)ap)) {
629 ap = ap + sizeof(struct in6_addr)
638 GET_AI(cur->ai_next, afd, ap);
651 get_name(ap, afd, &cur->ai_next,
652 ap, pai, servname);
916 char *ap = NULL, *cn = NULL;
931 if ((ap = (char *)malloc(hp->h_length)) == NULL) {
935 memcpy(ap, hp->h_addr_list[0], hp->h_length);
941 GET_AI(cur, afd, ap);
944 free(ap); ap = NULL;
961 if (ap)
962 free(ap);