Searched defs:compar (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlfind.c57 size_t width, int (*compar)())
64 if ((*compar)(key, base) == 0)
56 lfind(const void *ky, const void *bs, size_t *nelp, size_t width, int (*compar)()) argument
H A Dtsearch.c62 tsearch(const void *ky, void **rtp, int (*compar)()) argument
71 int r = (*compar)(key, (*rootp)->key); /* T2: */
89 tdelete(const void *ky, void **rtp, int (*compar)()) argument
100 while ((ans = (*compar)(key, (*rootp)->key)) != 0) {
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c76 void *slp_tsearch(const void *ky, void **rtp, int (* compar)()) { argument
84 int r = (*compar)(key, (*rootp)->key); /* T2: */
101 int (*compar)(const void *, const void *)) {
107 int r = (*compar)(key, (*rootp)->key); /* T2: */
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dtsearch.c49 * compar: Comparison function
52 tsearch(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) argument
59 int r = (*compar)(key, (*rootp)->key); /* T2: */
81 * compar: Comparison function
84 tdelete(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) argument
93 while ((ans = (*compar)(key, (*rootp)->key)) != 0) {
H A Dqsort.c56 qsort(char *base, int n, int size, int (*compar)()) argument
64 qcmp = compar;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dcollate.c222 int next, compar, l; local
236 compar = *key - *p->str;
237 if (compar == 0) {
239 compar = wcsncmp(key, p->str, l);
240 if (compar == 0) {
245 if (compar > 0)
258 int next, compar; local
268 compar = key - p->val;
269 if (compar == 0)
271 if (compar >
[all...]
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c87 static int compar(struct tz_country *, struct tz_country *);
408 (int (*)(const void *, const void *))compar);
1383 compar(struct tz_country *p1, struct tz_country *p2) function
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.h267 int (*compar)(const void *, const void *); member in struct:nsc_db
335 int (*compar) (const void *, const void *),
/illumos-gate/usr/src/cmd/ls/
H A Dls.c254 static int compar(struct lbuf **pp1, struct lbuf **pp2);
281 static int rflg = 1; /* init to 1 for special use in compar */
1098 (int (*)(const void *, const void *))compar);
1176 (int (*)(const void *, const void *))compar);
2280 compar(struct lbuf **pp1, struct lbuf **pp2) function

Completed in 57 milliseconds