Searched refs:aliascnt (Results 1 – 1 of 1) sorted by relevance
46 int aliascnt = 0; in ares_parse_ptr_reply() local123 aliases[aliascnt] = ares_malloc(rr_data_len * sizeof(char)); in ares_parse_ptr_reply()124 if (!aliases[aliascnt]) in ares_parse_ptr_reply()130 strncpy(aliases[aliascnt], rr_data, rr_data_len); in ares_parse_ptr_reply()131 aliascnt++; in ares_parse_ptr_reply()132 if (aliascnt >= alias_alloc) { in ares_parse_ptr_reply()196 hostent->h_aliases = ares_malloc((aliascnt+1) * sizeof (char *)); in ares_parse_ptr_reply()202 for (i=0 ; i<aliascnt ; i++) in ares_parse_ptr_reply()204 hostent->h_aliases[aliascnt] = NULL; in ares_parse_ptr_reply()220 for (i=0 ; i<aliascnt ; i++) in ares_parse_ptr_reply()