Home
last modified time | relevance | path

Searched refs:nsort (Results 1 – 6 of 6) sorted by relevance

/resolv/
A Dresolv_conf.c323 size_t nsort = conf->sort_list_size; in resolv_conf_matches() local
324 if (nsort > MAXRESOLVSORT) in resolv_conf_matches()
325 nsort = MAXRESOLVSORT; in resolv_conf_matches()
326 if (resp->nsort != nsort) in resolv_conf_matches()
328 for (size_t i = 0; i < nsort; ++i) in resolv_conf_matches()
538 size_t nsort = conf->sort_list_size; in update_from_conf() local
539 if (nsort > MAXRESOLVSORT) in update_from_conf()
540 nsort = MAXRESOLVSORT; in update_from_conf()
541 for (size_t i = 0; i < nsort; ++i) in update_from_conf()
546 resp->nsort = nsort; in update_from_conf()
A Dresolv_context.h150 return ctx->resp->nsort; in __resolv_context_sort_count()
163 else if (index < ctx->resp->nsort) in __resolv_context_sort_entry()
A Dtst-resolv-res_init-skeleton.c165 if (resp->nsort > 0) in print_resp()
168 for (int i = 0; i < resp->nsort && i < MAXRESOLVSORT; ++i) in print_resp()
A Dcompat-gethnamaddr.c390 if (_res.nsort && haveanswer > 1 && qtype == T_A) in getanswer()
887 for (j = 0 ; (unsigned)j < _res.nsort; j++) in addrsort()
/resolv/bits/types/
A Dres_state.h26 unsigned nsort:4; /* number of elements in sort_list[] */ member
/resolv/nss_dns/
A Ddns-host.c582 size_t nsort = __resolv_context_sort_count (ctx); in libc_hidden_def() local
589 for (j = 0 ; (unsigned)j < nsort; j++) in libc_hidden_def()

Completed in 14 milliseconds