Searched refs:nsort (Results 1 – 6 of 6) sorted by relevance
323 size_t nsort = conf->sort_list_size; in resolv_conf_matches() local324 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() local539 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()
150 return ctx->resp->nsort; in __resolv_context_sort_count()163 else if (index < ctx->resp->nsort) in __resolv_context_sort_entry()
165 if (resp->nsort > 0) in print_resp()168 for (int i = 0; i < resp->nsort && i < MAXRESOLVSORT; ++i) in print_resp()
390 if (_res.nsort && haveanswer > 1 && qtype == T_A) in getanswer()887 for (j = 0 ; (unsigned)j < _res.nsort; j++) in addrsort()
26 unsigned nsort:4; /* number of elements in sort_list[] */ member
582 size_t nsort = __resolv_context_sort_count (ctx); in libc_hidden_def() local589 for (j = 0 ; (unsigned)j < nsort; j++) in libc_hidden_def()
Completed in 14 milliseconds