Searched refs:h_aliases (Results 1 – 15 of 15) sorted by relevance
174 hostent->h_aliases = NULL; in ares__get_hostent()196 hostent->h_aliases = malloc((naliases + 1) * sizeof(char *)); in ares__get_hostent()197 if (!hostent->h_aliases) in ares__get_hostent()199 alias = hostent->h_aliases; in ares__get_hostent()245 if (hostent->h_aliases) in ares__get_hostent()247 for (alias = hostent->h_aliases; *alias; alias++) in ares__get_hostent()249 free(hostent->h_aliases); in ares__get_hostent()
184 hostent->h_aliases = malloc((aliascnt+1) * sizeof (char *)); in ares_parse_ptr_reply()185 if (hostent->h_aliases) in ares_parse_ptr_reply()190 hostent->h_aliases[i] = aliases[i]; in ares_parse_ptr_reply()191 hostent->h_aliases[aliascnt] = NULL; in ares_parse_ptr_reply()
35 for (p = host->h_aliases; *p; p++) in ares_free_hostent()37 free(host->h_aliases); in ares_free_hostent()
185 if (host->h_aliases[0]) in callback()190 for (i = 0; host->h_aliases[i]; i++) in callback()191 printf("%s ", host->h_aliases[i]); in callback()
166 hostent->h_aliases = nameservers; in ares_parse_ns_reply()
302 hostent.h_aliases = aliases; in fake_hostent()404 for (alias = (*host)->h_aliases; *alias; alias++) in file_lookup()
238 hostent->h_aliases = aliases; in ares_parse_a_reply()
236 hostent->h_aliases = aliases; in ares_parse_aaaa_reply()
433 h->h_aliases = NULL; in Curl_ip2addr()
647 char **h_aliases; member
1000 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
2023 char **p = h->h_aliases;2029 ctx, h->h_aliases, (p - h->h_aliases + 1) * sizeof(*h->h_aliases));
1524 result->hostent->h_aliases = result->header->aliases; in init_result()
963 ASSERT_NE((void *) 0, (he)->h_aliases); \966 char **p = (he)->h_aliases; \
10986 expecting h_aliases of the hostent struct to always be non-NULL.