Home
last modified time | relevance | path

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

12345678

/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dmerge_summary.awk128 asort(expected_lines, sorted)
129 for (j in sorted)
130 print sorted[j]
133 asort(unexpected_pass_lines, sorted)
134 for (j in sorted)
135 print sorted[j]
138 asort(unexpected_lines, sorted)
139 for (j in sorted)
140 print sorted[j]
/freebsd/crypto/openssl/test/
H A Dpriority_queue_test.c55 static size_t values[MAX_SAMPLES], sorted[MAX_SAMPLES], ref[MAX_SAMPLES]; in test_size_t_priority_queue_int() local
69 memset(sorted, 0, sizeof(sorted)); in test_size_t_priority_queue_int()
74 memcpy(sorted, values, sizeof(*sorted) * count); in test_size_t_priority_queue_int()
75 qsort(sorted, count, sizeof(*sorted), &qsort_size_t_compare); in test_size_t_priority_queue_int()
78 memcpy(values, sorted, sizeof(*values) * count); in test_size_t_priority_queue_int()
93 if (!TEST_size_t_eq(*ossl_pqueue_size_t_peek(pq), *sorted) in test_size_t_priority_queue_int()
107 memcpy(sorted, values, sizeof(*sorted) * count); in test_size_t_priority_queue_int()
108 qsort(sorted, count, sizeof(*sorted), &qsort_size_t_compare); in test_size_t_priority_queue_int()
111 if (!TEST_size_t_eq(*ossl_pqueue_size_t_peek(pq), sorted[i]) in test_size_t_priority_queue_int()
112 || !TEST_size_t_eq(*ossl_pqueue_size_t_pop(pq), sorted[i])) in test_size_t_priority_queue_int()
/freebsd/contrib/llvm-project/lld/COFF/
H A DCallGraphSort.cpp155 std::vector<int> sorted(clusters.size()); in run() local
159 std::iota(sorted.begin(), sorted.end(), 0); in run()
160 llvm::stable_sort(sorted, [&](int a, int b) { in run()
164 for (int l : sorted) { in run()
189 sorted.clear(); in run()
192 sorted.push_back(i); in run()
193 llvm::stable_sort(sorted, [&](int a, int b) { in run()
201 for (int leader : sorted) { in run()
219 for (int leader : sorted) in run()
/freebsd/bin/sh/
H A Dalias.c176 struct alias **sorted, *ap; in printaliases() local
179 sorted = ckmalloc(aliases * sizeof(*sorted)); in printaliases()
184 sorted[j++] = ap; in printaliases()
185 qsort(sorted, aliases, sizeof(*sorted), comparealiases); in printaliases()
187 printalias(sorted[i]); in printaliases()
191 ckfree(sorted); in printaliases()
/freebsd/usr.bin/sort/
H A Dradixsort.c64 struct sort_list_item **sorted; member
344 sl->sorted[sl->start_position] = sl->tosort[0]; in run_sort_level_next()
358 sl->sorted[sl->start_position++] = sl->tosort[1]; in run_sort_level_next()
359 sl->sorted[sl->start_position] = sl->tosort[0]; in run_sort_level_next()
361 sl->sorted[sl->start_position++] = sl->tosort[0]; in run_sort_level_next()
362 sl->sorted[sl->start_position] = sl->tosort[1]; in run_sort_level_next()
401 memcpy(sl->sorted + sl->start_position, in run_sort_level_next()
452 memcpy(sl->sorted + sl->start_position, sl->leaves, in run_sort_level_next()
468 slc->sorted = sl->sorted; in run_sort_level_next()
489 slc->sorted = sl->sorted; in run_sort_level_next()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DCallGraphSort.cpp195 std::vector<int> sorted(clusters.size()); in run() local
199 std::iota(sorted.begin(), sorted.end(), 0); in run()
200 llvm::stable_sort(sorted, [&](int a, int b) { in run()
204 for (int l : sorted) { in run()
229 sorted.clear(); in run()
232 sorted.push_back(i); in run()
233 llvm::stable_sort(sorted, [&](int a, int b) { in run()
239 for (int leader : sorted) { in run()
258 for (int leader : sorted) in run()
/freebsd/crypto/openssl/crypto/stack/
H A Dstack.c31 int sorted; member
42 sk->sorted = 0; in OPENSSL_sk_set_cmp_func()
57 ret->sorted = 0; in OPENSSL_sk_dup()
95 ret->sorted = 0; in OPENSSL_sk_deep_copy()
281 st->sorted = 0; in OPENSSL_sk_insert()
344 if (!st->sorted) { in internal_find()
476 st->sorted = 0; in OPENSSL_sk_set()
482 if (st != NULL && !st->sorted && st->comp != NULL) { in OPENSSL_sk_sort()
485 st->sorted = 1; /* empty or single-element stack is considered sorted */ in OPENSSL_sk_sort()
491 return st == NULL ? 1 : st->sorted; in OPENSSL_sk_is_sorted()
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-order-shuffle.mk38 sorted:= ${WORDS:Ox:O}
39 .if ${sorted} != ${WORDS:O}
40 . error ${sorted} != ${WORDS:O}
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DArchitecture.def14 /// X86 architectures sorted by cpu type and sub type id.
22 /// ARM architectures sorted by cpu sub type id.
36 /// ARM64 architectures sorted by cpu sub type id.
43 /// ARM64_32 architectures sorted by cpu sub type id
/freebsd/contrib/llvm-project/lld/MachO/
H A DSectionPriorities.cpp162 std::vector<int> sorted(clusters.size()); in run() local
167 std::iota(sorted.begin(), sorted.end(), 0); in run()
169 llvm::stable_sort(sorted, [&](int a, int b) { in run()
173 for (int l : sorted) { in run()
198 sorted.clear(); in run()
201 sorted.push_back(i); in run()
202 llvm::stable_sort(sorted, [&](int a, int b) { in run()
211 for (int leader : sorted) { in run()
228 for (int leader : sorted) in run()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTimer.cpp139 std::vector<Stats> sorted; in DumpCategoryTimes() local
146 sorted.push_back(stats); in DumpCategoryTimes()
149 if (sorted.empty()) in DumpCategoryTimes()
153 llvm::sort(sorted, CategoryMapIteratorSortCriterion); in DumpCategoryTimes()
155 for (const auto &stats : sorted) in DumpCategoryTimes()
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dallow.py111 for (nwho, perms) in sorted(d.items()):
117 (nwho[1:], ",".join(sorted(perms)))
127 s += "\t%s\n" % ",".join(sorted(self.create))
261 for (name, note) in sorted(perms_subcmd.iteritems()):
264 for (name, note) in sorted(perms_other.iteritems()):
267 for (name, prop) in sorted(zfs.dataset.proptable.iteritems()):
333 for fs in sorted(p.keys(), reverse=True):
/freebsd/usr.bin/gprof/
H A Dprintgprof.c405 arctype sorted; in sortchildren() local
416 sorted.arc_childlist = 0; in sortchildren()
424 for ( prevp = &sorted ; in sortchildren()
437 parentp -> children = sorted.arc_childlist; in sortchildren()
445 arctype sorted; in sortparents() local
456 sorted.arc_parentlist = 0; in sortparents()
464 for ( prevp = &sorted ; in sortparents()
477 childp -> parents = sorted.arc_parentlist; in sortparents()
/freebsd/contrib/ncurses/man/
H A DMKterminfo.sh78 sorted=$MYTEMP/sorted
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c1546 dt_ahashent_t *h, **sorted; local
1570 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *));
1572 if (sorted == NULL)
1576 sorted[i++] = h;
1581 dt_aggregate_qsort(dtp, sorted, nentries,
1589 qsort(sorted, nentries, sizeof (dt_ahashent_t *), sfunc);
1595 h = sorted[i];
1609 dt_free(dtp, sorted);
1689 dt_ahashent_t *h, **sorted = NULL, ***bundle, **nbundle; local
1971 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *));
[all …]
/freebsd/usr.bin/col/
H A Dcol.c429 static CHAR *sorted; in flush_line() local
438 if ((sorted = realloc(sorted, in flush_line()
463 sorted[count[c->c_column]++] = *c; in flush_line()
464 c = sorted; in flush_line()
/freebsd/share/misc/
H A Dorganization.dot25 # Development teams go here alphabetically sorted by FreeBSD login name
42 # Admin teams go here alphabetically sorted
53 # Misc hats go here alphabetically sorted
61 # Keep the list sorted by the superior team entry.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAllDiagnosticKinds.inc10 /// Defines the Diagnostic IDs in ID sorted order. The order is dictated by
16 // sure tables based on Diagnostic IDs are partitioned/sorted based on
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-sprd.txt11 - clocks: List of clock input name strings sorted in the same order
20 sorted in the same order as the dma-names property.
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/
H A Dzts-report.py.in460 for test in sorted(expected):
488 for test in sorted(known.keys()):
496 for test in sorted(unexpected):
/freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_typefun.c8 int sorted; member
/freebsd/crypto/krb5/src/util/
H A Dprincflags.py137 for v, k in sorted(_flagnames.items()):
228 a = sorted(pflags.items(), key=lambda k, v: (v.flag, -v.invert, k))
/freebsd/lib/libc/iconv/
H A Dbsd_iconv.c152 __bsd___iconv_get_list(char ***rlist, size_t *rsz, bool sorted) in __bsd___iconv_get_list() argument
156 ret = _citrus_esdb_get_list(rlist, rsz, sorted); in __bsd___iconv_get_list()
/freebsd/sys/contrib/dev/iwlwifi/
H A Dzzz_fw_ports_fwget.sh18 sortedf=$(mktemp -p /tmp iwlwifi-fwget-sorted.XXXXXX)
/freebsd/contrib/kyua/
H A DAUTHORS6 # Names are sorted alphabetically and should be added to this file as:

12345678