Searched refs:nsort (Results 1 – 4 of 4) sorted by relevance
/external/c-ares/ |
D | ares_gethostbyname.c | 79 const struct apattern *sortlist, int nsort); 81 const struct apattern *sortlist, int nsort); 83 const struct apattern *sortlist, int nsort); 85 const struct apattern *sortlist, int nsort); 191 if (host && channel->nsort) in host_callback() 192 sort_addresses(host, channel->sortlist, channel->nsort); in host_callback() 207 if (host && channel->nsort) in host_callback() 208 sort6_addresses(host, channel->sortlist, channel->nsort); in host_callback() 422 const struct apattern *sortlist, int nsort) in sort_addresses() argument 435 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses() [all …]
|
D | ares_init.c | 95 static int sortlist_alloc(struct apattern **sortlist, int *nsort, struct apattern *pat); 101 static int config_sortlist(struct apattern **sortlist, int *nsort, 106 #define ARES_CONFIG_CHECK(x) (x->lookups && x->nsort > -1 && \ 164 channel->nsort = -1; in ares_init_options() 402 if (channel->nsort) { in ares_save_options() 403 options->sortlist = malloc(channel->nsort * sizeof(struct apattern)); in ares_save_options() 406 for (i = 0; i < channel->nsort; i++) in ares_save_options() 409 options->nsort = channel->nsort; in ares_save_options() 501 if ((optmask & ARES_OPT_SORTLIST) && (channel->nsort == -1) && in init_by_options() 502 (options->nsort>0)) { in init_by_options() [all …]
|
D | ares_private.h | 261 int nsort; member
|
D | ares.h | 267 int nsort; member
|