Symbol: qsort
bin/ps/ps.c
435
qsort(KSort, nentries, sizeof(KINFO *), pscomp);
bin/sh/alias.c
191
qsort(sorted, aliases, sizeof(*sorted), comparealiases);
bin/sh/expand.c
1060
qsort(&dstlist->args[firstmatch],
bin/sh/var.c
626
qsort(vars, n, sizeof(*vars), var_compare);
crypto/libressl/apps/openssl/certhash.c
188
qsort(list, len, sizeof(struct hashinfo *), hashinfo_compare);
crypto/libressl/apps/openssl/openssl.c
787
qsort(functions, i, sizeof *functions, SortFnByName);
crypto/libressl/crypto/asn1/tasn_enc.c
475
qsort(derlst, sk_ASN1_VALUE_num(sk), sizeof(*derlst), der_cmp);
crypto/libressl/crypto/objects/o_names.c
305
qsort((void *)d.names, d.n, sizeof *d.names, do_all_sorted_cmp);
crypto/libressl/crypto/stack/stack.c
331
qsort(st->data, st->num, sizeof(char *), comp_func);
crypto/openssh/sftp.c
1037
qsort(indices, nentries, sizeof(*indices), sglob_comp);
crypto/openssh/sftp.c
888
qsort(d, n, sizeof(*d), sdirent_comp);
crypto/openssh/ssh-keygen.c
1720
qsort(cert_ext, ncert_ext, sizeof(*cert_ext), cert_ext_cmp);
games/atc/log.c
230
qsort(score, num_scores, sizeof (*score), compar);
games/boggle/boggle/bog.c
357
qsort(pword, npwords, sizeof(pword[0]), compar);
games/hack/hack.mklev.c
186
qsort(rooms, nroom, sizeof(rooms[0]), comp);
games/robots/score.c
104
qsort(Top, MAXSCORES, sizeof Top[0], cmp_sc);
games/tetris/scores.c
283
qsort((void *)hs, nscores, sizeof(*hs), cmpscores);
games/wump/wump.c
561
qsort(cave[i].tunnel, (u_int)link_num,
include/stdlib.h
112
void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
lib/libc/gen/fts.c
969
qsort(sp->fts_array, nitems, sizeof(FTSENT *), fts_compar);
lib/libc/gen/glob.c
547
qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
lib/libc/gen/scandir.c
113
qsort(names, nitems, sizeof(struct dirent *),
lib/libc/iconv/iconv.c
219
qsort((void *)list, sz, sizeof(char *), qsort_helper);
lib/libc/net/getaddrinfo.c
623
qsort(aio, n, sizeof(*aio), comp_dst);
lib/libc/net/name6.c
712
qsort(aio, n, sizeof(*aio), comp_dst);
lib/libc/net/nsdispatch.c
195
qsort(vec, count, esize, comparison);
lib/libc/net/nsdispatch.c
521
qsort(mod.mtab, mod.mtabsize, sizeof(mod.mtab[0]),
lib/libc/stdlib/qsort.c
182
qsort(a, r / es, es, cmp);
lib/libdevstat/devstat.c
703
qsort(*dev_select, *num_selections,
lib/libexecinfo/symtab.c
155
qsort(st->symbols, st->nsymbols, sizeof(*st->symbols),
lib/libposix1e/acl_support.c
99
qsort(&acl->acl_entry[0], acl->acl_cnt, sizeof(struct acl_entry),
lib/libssh/openbsd-compat/glob.c
583
qsort(path_stat, n, sizeof(*path_stat), compare_gps);
lib/libssh/openbsd-compat/glob.c
590
qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
libexec/dma/dns.c
263
qsort(hosts, nhosts, sizeof(*hosts), sort_pref);
sbin/dump/optr.c
365
qsort(ddatev, nddates, sizeof(struct dumpdates *), datesort);
sbin/fsck/pass2.c
126
qsort(inpsort + i, (size_t)n, sizeof *inpsort, blksort);
sbin/hammer/cmd_softprune.c
544
qsort(scan->prune.elms, scan->prune.nelms, sizeof(*elm),
sbin/ifconfig/ifieee80211.c
2288
qsort(ci->ic_chans, ci->ic_nchans, sizeof(ci->ic_chans[0]),
sbin/newfs_hammer2/mkfs_hammer2.c
464
qsort(root_blockref, opt->NLabels, sizeof(root_blockref[0]), blkrefary_cmp);
sbin/restore/interactive.c
549
qsort((char *)list, entries, sizeof(struct afile), fcmp);
share/examples/sunrpc/sort/sort_proc.c
21
qsort(ssp->ss.ss_val, ssp->ss.ss_len, sizeof (char *), comparestrings);
tools/tools/ath/athdecode/main.c
330
qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar);
tools/tools/ath/athpoke/athpoke.c
215
qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar);
tools/tools/ath/athregs/dumpregs.c
302
qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar);
tools/tools/bus_autoconf/bus_usb.c
154
qsort(id, nid, sizeof(*id), &usb_compare);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
384
qsort(&table[i][0], n, sizeof(PTW_tableentry), &compare);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
402
qsort(sh, (n-1)*keylen, sizeof(sorthelper), &comparesorthelper);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
415
qsort(helper, keylen-1, sizeof(doublesorthelper), &comparedoublesorthelper);
usr.bin/crunch/crunchgen/crunched_main.c
107
qsort(prognames, nprog, sizeof(char *), cmpstringp);
usr.bin/dsynth/build.c
843
qsort(idep_ary, count, sizeof(pkg_t *), qsort_idep);
usr.bin/dsynth/build.c
844
qsort(depi_ary, count, sizeof(pkg_t *), qsort_depi);
usr.bin/dsynth/repo.c
358
qsort(ary, count, sizeof(pinfo_t *), pinfocmp);
usr.bin/kcollect/kcollect.c
914
qsort(&(*ret_ary)[DATA_BASE_INDEX], recCounter - DATA_BASE_INDEX,
usr.bin/locale/locale.c
359
qsort(charmaps->sl_str, charmaps->sl_cur, sizeof(char *), scmp);
usr.bin/locale/locale.c
424
qsort(locales->sl_str, locales->sl_cur, sizeof(char *), scmp);
usr.bin/mail/cmd2.c
477
qsort(ring, tab->i_count, sizeof(char *), igcomp);
usr.bin/mail/cmd3.c
496
qsort(list, ap-list, sizeof(*list), diction);
usr.bin/ministat/ministat.c
502
qsort(s->points, s->n, sizeof *s->points, dbl_cmp);
usr.bin/ruptime/ruptime.c
155
qsort(hs, nhosts, sizeof(hs[0]), cmp);
usr.bin/rwho/rwho.c
135
qsort((char *)myutmp, nusers, sizeof (struct myutmp), utmpcmp);
usr.bin/sort/file.c
1226
qsort(list, count, elem_size, cmp_func);
usr.bin/strfile/strfile.c
341
qsort(Firstch, (size_t)Tbl.str_numstr, sizeof(*Firstch), cmp_str);
usr.bin/systat/pftop.c
343
qsort(array, i, sizeof(array[0]), statebwcmp);
usr.bin/systat/pigs.c
102
qsort(pt, nproc + 1, sizeof (struct p_times), compar);
usr.bin/top/commands.c
219
qsort((char *)errs, errcnt, sizeof(struct errs), err_compar);
usr.bin/top/m_dragonfly.c
667
qsort((char *)pref, active_procs, sizeof(struct kinfo_proc *),
usr.bin/units/units.c
422
qsort(theunit->numerator, count, sizeof(char *), compare);
usr.bin/units/units.c
424
qsort(theunit->denominator, count, sizeof(char *), compare);
usr.bin/users/users.c
80
qsort(names, ncnt, 32, scmp);
usr.bin/vmstat/vmstat.c
1090
qsort(kmemstats, nkms, sizeof(struct malloc_type), mcompare);
usr.bin/window/compress.c
616
qsort((char *) tokens, i, sizeof *tokens,
usr.sbin/efibootmgr/efibootmgr.c
567
qsort(vals, cnt, sizeof(uint16_t), compare);
usr.sbin/installer/libinstaller/mount.c
84
qsort((void*)mt_array, count, sizeof(struct statfs), compare);
usr.sbin/kbdmap/kbdmap.c
673
qsort(lang_list->sl_str, lang_list->sl_cur, sizeof(char*),
usr.sbin/kbdmap/kbdmap.c
737
qsort(km_sorted, num_keymaps, sizeof(struct keymap *), compare_keymap);
usr.sbin/lpr/common_source/common.c
164
qsort(queue, nitems, sizeof(struct jobqueue *), compar);
usr.sbin/lpr/pac/pac.c
258
qsort(base, hcount, sizeof hp, qucmp);
usr.sbin/mfiutil/mfi_config.c
713
qsort(state.arrays, config->array_count, sizeof(int),
usr.sbin/mfiutil/mfi_config.c
730
qsort(state.volumes, config->log_drv_count, sizeof(int),
usr.sbin/mptutil/mpt_evt.c
143
qsort(entries, num_events, sizeof(MPI_LOG_0_ENTRY *), event_compare);
usr.sbin/newsyslog/newsyslog.c
1627
qsort(oldlogs, logcnt, sizeof(struct oldlog_entry),
usr.sbin/nscd/agent.c
83
qsort(new_agents, new_agents_num, sizeof(struct agent *),
usr.sbin/nscd/cachelib.c
635
qsort(the_cache->entries, the_cache->entries_size,
usr.sbin/nscd/config.c
280
qsort(config->entries, config->entries_size,
usr.sbin/nscd/config.c
351
qsort(config_entry->mp_cache_entries,
usr.sbin/nscd/hashtable.h
172
qsort(the_entry->field.values, the_entry->field.size, \
usr.sbin/quot/quot.c
281
#define sortusers(users) (qsort((users),nusers,sizeof(struct user), \
usr.sbin/trpt/trpt.c
183
qsort(tcp_pcbs, npcbs, sizeof(caddr_t), numeric);
usr.sbin/tzsetup/tzsetup.c
467
qsort(countries, NCOUNTRIES, sizeof(countries[0]), compare_countries);
usr.sbin/zic/zic.c
1369
qsort(attypes, timecnt, sizeof *attypes, atcomp);
usr.sbin/zic/zic.c
680
qsort(rules, nrules,sizeof *rules, rcomp);