Home
last modified time | relevance | path

Searched refs:sortlist (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/dports/dns/py-pycares/pycares-3.1.1/deps/c-ares/src/
H A Dares_gethostbyname.c443 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
447 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
467 if (sortlist[i].family != AF_INET) in get_address_index()
469 if (sortlist[i].type == PATTERN_MASK) in get_address_index()
471 if ((addr->s_addr & sortlist[i].mask.addr4.s_addr) in get_address_index()
472 == sortlist[i].addrV4.s_addr) in get_address_index()
478 sortlist[i].mask.bits)) in get_address_index()
499 ind1 = get6_address_index(&a1, sortlist, nsort); in sort6_addresses()
503 ind2 = get6_address_index(&a2, sortlist, nsort); in sort6_addresses()
523 if (sortlist[i].family != AF_INET6) in get6_address_index()
[all …]
H A Dares_init.c162 channel->sortlist = NULL; in ares_init_options()
242 if (channel->sortlist) in ares_init_options()
424 if (!options->sortlist) in ares_save_options()
427 options->sortlist[i] = channel->sortlist[i]; in ares_save_options()
541 channel->sortlist[i] = options->sortlist[i]; in init_by_options()
1826 if (sortlist != NULL) in init_by_resolv_conf()
1839 if (sortlist) in init_by_resolv_conf()
1841 channel->sortlist = sortlist; in init_by_resolv_conf()
2455 *sortlist = newsort; in sortlist_alloc()
2586 if (channel->sortlist) in ares_set_sortlist()
[all …]
H A Dares_destroy.c35 if(options->sortlist) in ares_destroy_options()
36 ares_free(options->sortlist); in ares_destroy_options()
84 if(channel->sortlist) in ares_destroy()
85 ares_free(channel->sortlist); in ares_destroy()
/dports/dns/c-ares/c-ares-1.17.2/src/lib/
H A Dares_gethostbyname.c448 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
452 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
472 if (sortlist[i].family != AF_INET) in get_address_index()
474 if (sortlist[i].type == PATTERN_MASK) in get_address_index()
476 if ((addr->s_addr & sortlist[i].mask.addr4.s_addr) in get_address_index()
477 == sortlist[i].addrV4.s_addr) in get_address_index()
483 sortlist[i].mask.bits)) in get_address_index()
504 ind1 = get6_address_index(&a1, sortlist, nsort); in sort6_addresses()
508 ind2 = get6_address_index(&a2, sortlist, nsort); in sort6_addresses()
528 if (sortlist[i].family != AF_INET6) in get6_address_index()
[all …]
H A Dares_init.c141 channel->sortlist = NULL; in ares_init_options()
221 if (channel->sortlist) in ares_init_options()
403 if (!options->sortlist) in ares_save_options()
406 options->sortlist[i] = channel->sortlist[i]; in ares_save_options()
520 channel->sortlist[i] = options->sortlist[i]; in init_by_options()
1859 if (sortlist != NULL) in init_by_resolv_conf()
1872 if (sortlist) in init_by_resolv_conf()
1874 channel->sortlist = sortlist; in init_by_resolv_conf()
2493 *sortlist = newsort; in sortlist_alloc()
2655 if (channel->sortlist) in ares_set_sortlist()
[all …]
H A Dares_destroy.c35 if(options->sortlist) in ares_destroy_options()
36 ares_free(options->sortlist); in ares_destroy_options()
84 if(channel->sortlist) in ares_destroy()
85 ares_free(channel->sortlist); in ares_destroy()
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/c-ares-809d5e84/src/lib/
H A Dares_gethostbyname.c448 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
452 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
472 if (sortlist[i].family != AF_INET) in get_address_index()
474 if (sortlist[i].type == PATTERN_MASK) in get_address_index()
476 if ((addr->s_addr & sortlist[i].mask.addr4.s_addr) in get_address_index()
477 == sortlist[i].addrV4.s_addr) in get_address_index()
483 sortlist[i].mask.bits)) in get_address_index()
504 ind1 = get6_address_index(&a1, sortlist, nsort); in sort6_addresses()
508 ind2 = get6_address_index(&a2, sortlist, nsort); in sort6_addresses()
528 if (sortlist[i].family != AF_INET6) in get6_address_index()
[all …]
H A Dares_init.c141 channel->sortlist = NULL;
221 if (channel->sortlist)
403 if (!options->sortlist)
406 options->sortlist[i] = channel->sortlist[i];
520 channel->sortlist[i] = options->sortlist[i];
1859 if (sortlist != NULL)
1872 if (sortlist)
1874 channel->sortlist = sortlist;
2493 *sortlist = newsort;
2625 if (channel->sortlist)
[all …]
H A Dares_destroy.c35 if(options->sortlist) in ares_destroy_options()
36 ares_free(options->sortlist); in ares_destroy_options()
84 if(channel->sortlist) in ares_destroy()
85 ares_free(channel->sortlist); in ares_destroy()
/dports/www/node10/node-v10.24.1/deps/cares/src/
H A Dares_gethostbyname.c443 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
447 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
467 if (sortlist[i].family != AF_INET) in get_address_index()
469 if (sortlist[i].type == PATTERN_MASK) in get_address_index()
471 if ((addr->s_addr & sortlist[i].mask.addr4.s_addr) in get_address_index()
472 == sortlist[i].addrV4.s_addr) in get_address_index()
478 sortlist[i].mask.bits)) in get_address_index()
499 ind1 = get6_address_index(&a1, sortlist, nsort); in sort6_addresses()
503 ind2 = get6_address_index(&a2, sortlist, nsort); in sort6_addresses()
523 if (sortlist[i].family != AF_INET6) in get6_address_index()
[all …]
H A Dares_init.c162 channel->sortlist = NULL; in ares_init_options()
242 if (channel->sortlist) in ares_init_options()
424 if (!options->sortlist) in ares_save_options()
427 options->sortlist[i] = channel->sortlist[i]; in ares_save_options()
541 channel->sortlist[i] = options->sortlist[i]; in init_by_options()
1826 if (sortlist != NULL) in init_by_resolv_conf()
1839 if (sortlist) in init_by_resolv_conf()
1841 channel->sortlist = sortlist; in init_by_resolv_conf()
2455 *sortlist = newsort; in sortlist_alloc()
2586 if (channel->sortlist) in ares_set_sortlist()
[all …]
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/cares/cares/
H A Dares_gethostbyname.c443 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
447 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
467 if (sortlist[i].family != AF_INET) in get_address_index()
469 if (sortlist[i].type == PATTERN_MASK) in get_address_index()
471 if ((addr->s_addr & sortlist[i].mask.addr4.s_addr) in get_address_index()
472 == sortlist[i].addrV4.s_addr) in get_address_index()
478 sortlist[i].mask.bits)) in get_address_index()
499 ind1 = get6_address_index(&a1, sortlist, nsort); in sort6_addresses()
503 ind2 = get6_address_index(&a2, sortlist, nsort); in sort6_addresses()
523 if (sortlist[i].family != AF_INET6) in get6_address_index()
[all …]
H A Dares_init.c162 channel->sortlist = NULL; in ares_init_options()
242 if (channel->sortlist) in ares_init_options()
424 if (!options->sortlist) in ares_save_options()
427 options->sortlist[i] = channel->sortlist[i]; in ares_save_options()
541 channel->sortlist[i] = options->sortlist[i]; in init_by_options()
1826 if (sortlist != NULL) in init_by_resolv_conf()
1839 if (sortlist) in init_by_resolv_conf()
1841 channel->sortlist = sortlist; in init_by_resolv_conf()
2455 *sortlist = newsort; in sortlist_alloc()
2586 if (channel->sortlist) in ares_set_sortlist()
[all …]
/dports/mail/courier/courier-0.65.3/courier/
H A Dmailq.c130 static struct sortlist { struct
131 struct sortlist *next; argument
137 static int sortcmp(struct sortlist **a, struct sortlist **b) in sortcmp() argument
202 struct sortlist *sortp; in main()
211 if ( (sortp=(struct sortlist *) in main()
212 malloc(sizeof(struct sortlist))) == 0) in main()
246 struct sortlist **sorta=(struct sortlist **)malloc( in main()
247 sortcnt*sizeof(struct sortlist *)); in main()
248 struct sortlist *sortp; in main()
/dports/www/yabb/YaBB_2.6.11/cgi-bin/yabb2/Admin/
H A DErrorLog.pm51 my @sortlist = ();
75 @sortlist =
81 @sortlist = reverse @sortlist;
164 $sortlist[$bb] =~ s/<br \/>/\[br \/\]/gsm;
165 $sortlist[$bb] =~ s/<b>/\[b\]/gxsm;
166 $sortlist[$bb] =~ s/<\/b>/\[\/b\]/gxsm;
167 $sortlist[$bb] =~ s/</&lt;/gxsm;
168 $sortlist[$bb] =~ s/>/&gt;/gxsm;
169 $sortlist[$bb] =~ s/\[b\]/<b>/gxsm;
170 $sortlist[$bb] =~ s/\[\/b\]/<\/b>/gxsm;
[all …]
/dports/dns/gdnsd2/gdnsd-2.4.3/libgdmaps/
H A Ddclists.c187 uint8_t sortlist[store_len]; in dclists_city_auto_map() local
188 memcpy(sortlist, lists->list[0], store_len); in dclists_city_auto_map()
207 unsigned temp = sortlist[i]; in dclists_city_auto_map()
209 while(j >= 0 && (dists[temp] < dists[sortlist[j]])) { in dclists_city_auto_map()
210 sortlist[j + 1] = sortlist[j]; in dclists_city_auto_map()
213 sortlist[j + 1] = temp; in dclists_city_auto_map()
217 sortlist[dcinfo_get_limit(lists->info)] = 0; in dclists_city_auto_map()
219 return dclists_find_or_add_raw(lists, sortlist, map_name); in dclists_city_auto_map()
/dports/dns/ares/ares-1.1.1/
H A Dares_gethostbyname.c49 static void sort_addresses(struct hostent *host, struct apattern *sortlist,
51 static int get_address_index(struct in_addr *addr, struct apattern *sortlist,
133 sort_addresses(host, channel->sortlist, channel->nsort); in host_callback()
237 static void sort_addresses(struct hostent *host, struct apattern *sortlist, in sort_addresses() argument
251 ind1 = get_address_index(&a1, sortlist, nsort); in sort_addresses()
255 ind2 = get_address_index(&a2, sortlist, nsort); in sort_addresses()
267 static int get_address_index(struct in_addr *addr, struct apattern *sortlist, in get_address_index() argument
274 if ((addr->s_addr & sortlist[i].mask.s_addr) == sortlist[i].addr.s_addr) in get_address_index()
H A Dares_init.c44 static int config_sortlist(struct apattern **sortlist, int *nsort,
106 free(channel->sortlist); in ares_init_options()
232 struct apattern *sortlist = NULL; in init_by_resolv_conf() local
248 status = config_sortlist(&sortlist, &nsort, p); in init_by_resolv_conf()
263 free(sortlist); in init_by_resolv_conf()
275 if (sortlist) in init_by_resolv_conf()
277 channel->sortlist = sortlist; in init_by_resolv_conf()
337 channel->sortlist = NULL; in init_by_defaults()
407 static int config_sortlist(struct apattern **sortlist, int *nsort, in config_sortlist() argument
434 newsort = realloc(*sortlist, (*nsort + 1) * sizeof(struct apattern)); in config_sortlist()
[all …]
/dports/math/R-cran-igraph/igraph/tests/testthat/
H A Dtest_biconnected.components.R11 sortlist <- function(list) { function
19 expect_that(sortlist(bc$tree_edges), equals(list(c(11,15,18,20),
21 expect_that(sortlist(bc$component_edges), equals(list(11:20, 1:10, 21)))
22 expect_that(sortlist(bc$components), equals(list(1:5, c(1,6), 6:10)))
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/html/user/
H A Dforum_search.php78 $sortlist = null; variable
81 $sortlist.="<option selected value=\"".$id."\">".$style."</option>";
83 $sortlist.="<option value=\"".$id."\">".$style."</option>";
87 '<select class="form-control" name="search_sort">'.$sortlist.'</select');
/dports/dns/bind911/bind-9.11.37/lib/lwres/
H A Dlwconfig.c247 lwres_resetaddr(&confdata->sortlist[i].addr); in lwres_conf_init()
248 lwres_resetaddr(&confdata->sortlist[i].mask); in lwres_conf_init()
279 lwres_resetaddr(&confdata->sortlist[i].addr); in lwres_conf_clear()
536 &confdata->sortlist[idx].mask, in lwres_conf_parsesortlist()
544 confdata->sortlist[idx].mask = in lwres_conf_parsesortlist()
545 confdata->sortlist[idx].addr; in lwres_conf_parsesortlist()
743 confdata->sortlist[i].addr.address, in lwres_conf_print()
750 tmpaddr = confdata->sortlist[i].mask; in lwres_conf_print()
754 confdata->sortlist[i].mask.address, in lwres_conf_print()
757 confdata->sortlist[i].mask.family); in lwres_conf_print()
[all …]
/dports/www/mod_rivet/rivet-3.2.0/rivet/packages/simpledb/
H A Dsimpledb.test14 set sortlist {}
17 lappend sortlist [list $key $val]
19 set sortlist [lsort -index 0 $sortlist]
20 foreach {keyval} $sortlist {
/dports/x11/alttab/alttab-1.6.0/src/
H A Dwin.c52 DL_FOREACH(g.sortlist, s) { in sort_by_order()
73 DL_FOREACH(g.sortlist, s) { in print_sortlist()
91 DL_FOREACH(g.sortlist, s) { in print_winlist()
114 DL_SEARCH_SCALAR(g.sortlist, s, id, w); in addToSortlist()
124 DL_DELETE(g.sortlist, s); in addToSortlist()
130 DL_PREPEND(g.sortlist, s); in addToSortlist()
132 DL_APPEND(g.sortlist, s); in addToSortlist()
637 if (g.sortlist != NULL && aw == g.sortlist->id) in winPropChangeEvent()
681 DL_SEARCH_SCALAR(g.sortlist, s, id, e.window); in winDestroyEvent()
686 DL_DELETE(g.sortlist, s); in winDestroyEvent()
[all …]
/dports/textproc/augeas/augeas-1.12.0/lenses/tests/
H A Dtest_resolv.aug10 # A sortlist now
11 sortlist 130.155.160.0/255.255.240.0 130.155.0.0
32 { "#comment" = "A sortlist now" }
33 { "sortlist"
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/mysql/
H A Dmysql_audit72 sortlist = weakbool(os.getenv('sorted', 'N')) or toplist > 0
155 occitems = sorted(occitems, key=operator.itemgetter(1 if sortlist else 0),
156 reverse=sortlist)
169 occitems = sorted(occitems, key=operator.itemgetter(1 if sortlist else 0),
170 reverse=sortlist)

12345678910>>...27