Home
last modified time | relevance | path

Searched refs:nsort (Results 1 - 12 of 12) sorted by relevance

/third_party/node/deps/cares/src/lib/
H A Dares_gethostbyname.c52 const struct apattern *sortlist, size_t nsort);
54 const struct apattern *sortlist, size_t nsort);
56 const struct apattern *sortlist, size_t nsort);
58 const struct apattern *sortlist, size_t nsort);
84 if (status == ARES_SUCCESS && ghbn_arg->channel->nsort && hostent) { in ares_gethostbyname_callback()
87 ghbn_arg->channel->nsort); in ares_gethostbyname_callback()
91 ghbn_arg->channel->nsort); in ares_gethostbyname_callback()
129 const struct apattern *sortlist, size_t nsort) in sort_addresses()
145 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
148 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
128 sort_addresses(const struct hostent *host, const struct apattern *sortlist, size_t nsort) sort_addresses() argument
161 get_address_index(const struct in_addr *addr, const struct apattern *sortlist, size_t nsort) get_address_index() argument
184 sort6_addresses(const struct hostent *host, const struct apattern *sortlist, size_t nsort) sort6_addresses() argument
217 get6_address_index(const struct ares_in6_addr *addr, const struct apattern *sortlist, size_t nsort) get6_address_index() argument
[all...]
H A Dares_options.c180 if (channel->nsort) { in ares_save_options()
181 options->sortlist = ares_malloc(channel->nsort * sizeof(struct apattern)); in ares_save_options()
185 for (i = 0; i < channel->nsort; i++) { in ares_save_options()
189 options->nsort = (int)channel->nsort; in ares_save_options()
410 if (optmask & ARES_OPT_SORTLIST && options->nsort > 0) { in ares__init_by_options()
411 channel->nsort = (size_t)options->nsort; in ares__init_by_options()
413 ares_malloc((size_t)options->nsort * sizeof(struct apattern)); in ares__init_by_options()
417 for (i = 0; i < (size_t)options->nsort; in ares__init_by_options()
[all...]
H A Dares_sysconfig_files.c99 static ares_bool_t sortlist_append(struct apattern **sortlist, size_t *nsort, in sortlist_append() argument
104 newsort = ares_realloc(*sortlist, (*nsort + 1) * sizeof(*newsort)); in sortlist_append()
111 memcpy(&(*sortlist)[*nsort], pat, sizeof(**sortlist)); in sortlist_append()
112 (*nsort)++; in sortlist_append()
217 ares_status_t ares__parse_sortlist(struct apattern **sortlist, size_t *nsort, in ares__parse_sortlist() argument
225 if (sortlist == NULL || nsort == NULL || str == NULL) { in ares__parse_sortlist()
234 *nsort = 0; in ares__parse_sortlist()
264 if (!sortlist_append(sortlist, nsort, &pat)) { in ares__parse_sortlist()
279 *nsort = 0; in ares__parse_sortlist()
H A Dares_init.c252 if (channel->nsort == 0) { in init_by_defaults()
563 size_t nsort = 0; in ares_set_sortlist() local
572 status = ares__parse_sortlist(&sortlist, &nsort, sortstr); in ares_set_sortlist()
578 channel->nsort = nsort; in ares_set_sortlist()
H A Dares_private.h250 size_t nsort; member
400 ares_status_t ares__parse_sortlist(struct apattern **sortlist, size_t *nsort,
H A Dares_sysconfig.c1043 channel->nsort = sysconfig->nsortlist; in ares_sysconfig_apply()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dresolv.h38 unsigned nsort:4; member
/third_party/musl/porting/liteos_m/kernel/include/
H A Dresolv.h38 unsigned nsort:4; member
/third_party/musl/porting/uniproton/kernel/include/
H A Dresolv.h38 unsigned nsort:4; member
/third_party/musl/include/
H A Dresolv.h38 unsigned nsort:4; member
/third_party/cares/include/
H A Dares.h276 int nsort; member
/third_party/node/deps/cares/include/
H A Dares.h332 int nsort; member

Completed in 9 milliseconds