Searched refs:cmp (Results 1 - 25 of 620) sorted by path

1234567891011>>

/freebsd-13-stable/
H A DMakefile381 CHECK_TIME!= cmp=`mktemp`; find ${.CURDIR}/sys/sys/param.h -newer "$$cmp" && rm "$$cmp"; echo
H A DMakefile.inc11312 ITOOLS= [ awk cap_mkdb cat chflags chmod chown cmp cp \
2698 usr.bin/cmp \
/freebsd-13-stable/bin/ed/test/
H A Dckscripts.sh29 if cmp -s $base.o $base.r; then :; else
/freebsd-13-stable/bin/ls/
H A DMakefile8 SRCS= cmp.c ls.c print.c util.c
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.fds.ksh86 if ! cmp $tmpout1 $tmpout2 ; then
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c461 int cmp; local
475 cmp = strcmp(a->ls_lock, b->ls_lock);
476 if (cmp != 0)
477 return (cmp);
534 lsmergesort(int (*cmp)(lsrec_t *, lsrec_t *), lsrec_t **a, lsrec_t **b, int n)
540 lsmergesort(cmp, a, b, m);
542 lsmergesort(cmp, a + m, b + m, n - m);
548 *a++ = cmp(b[i], b[j]) < 0 ? b[i++] : b[j--];
553 coalesce(int (*cmp)(lsrec_t *, lsrec_t *), lsrec_t **lock, int n)
562 if (cmp(curren
590 predicate_add(char **pred, char *what, char *cmp, uintptr_t value) argument
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c66 long long cmp = 10; local
73 while (val > cmp && cmp > 0) {
75 cmp *= 10;
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.c59 slist_add(list_t **list, void *data, int (*cmp)(void *, void *))
64 if (cmp((*nextp)->l_data, data) > 0)
79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *),
85 if (!cmp)
86 cmp = list_defcmp;
89 if (cmp(le->l_data, data, private) == 0) {
156 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *))
159 if (cmp(list->l_data, tmpl) == 0)
187 * Merges two sorted lists. Equal nodes (as determined by cmp) are retained.
190 slist_merge(list_t **list1p, list_t *list2, int (*cmp)(voi
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dhash.c93 hash_new(int nbuckets, int (*hashfn)(int, void *), int (*cmp)(void *, void *))
101 hash->h_cmp = cmp ? cmp : hash_def_cmp;
/freebsd-13-stable/cddl/usr.sbin/dtrace/tests/tools/
H A Ddtest.sh111 ! cmp $STDOUT $EXOUT >/dev/null 2>&1; then
/freebsd-13-stable/contrib/apr/atomic/unix/
H A Dbuiltins.c57 apr_uint32_t cmp)
59 return __sync_val_compare_and_swap(mem, cmp, with);
69 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
71 return (void*) __sync_val_compare_and_swap(mem, cmp, with);
H A Dbuiltins64.c52 apr_uint64_t cmp)
54 return __sync_val_compare_and_swap(mem, cmp, with);
H A Dia32.c75 apr_uint32_t cmp)
81 : "r" (with), "m" (*(mem)), "0"(cmp)
96 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
102 : "r" (with), "m" (*mem), "0" (cmp));
107 "0" ((unsigned long)cmp));
H A Dmutex.c150 apr_uint32_t cmp)
156 if (prev == cmp) {
178 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
184 if (prev == cmp) {
H A Dmutex64.c150 apr_uint64_t cmp)
156 if (prev == cmp) {
H A Dppc.c114 apr_uint32_t cmp)
127 : "b" (mem), "r" (with), "r" (cmp)
149 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
162 : "b" (mem), "r" (with), "r" (cmp)
174 : "b" (mem), "r" (with), "r" (cmp)
H A Ds390.c93 apr_uint32_t cmp)
96 : "+d" (cmp), "=Q" (*mem)
100 return cmp;
117 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
119 void *prev = (void *) cmp;
H A Dsolaris.c63 apr_uint32_t cmp)
65 return atomic_cas_32(mem, cmp, with);
73 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument
75 return atomic_cas_ptr(mem, (void*) cmp, with);
/freebsd-13-stable/contrib/apr/
H A Dconfigure12890 cmp -s conftest.i conftest.out \
12920 cmp -s conftest.i conftest.out \
32419 if cmp -s $i $i.save 2>/dev/null; then
/freebsd-13-stable/contrib/apr/include/
H A Dapr_atomic.h98 * compare an apr_uint32_t's value with 'cmp'.
102 * @param cmp the value to compare it to
106 apr_uint32_t cmp);
165 * compare an apr_uint64_t's value with 'cmp'.
169 * @param cmp the value to compare it to
173 apr_uint64_t cmp);
184 * compare the pointer's value with cmp.
188 * @param cmp the value to compare it to
191 APR_DECLARE(void*) apr_atomic_casptr(volatile void **mem, void *with, const void *cmp);
/freebsd-13-stable/contrib/apr/strings/
H A Dapr_cstr.c291 const int cmp = ucharmap[c1] - ucharmap[c2]; local
292 /* Not necessary to test for !c2, this is caught by cmp */
293 if (cmp || !c1)
294 return cmp;
308 const int cmp = ucharmap[c1] - ucharmap[c2]; local
309 /* Not necessary to test for !c2, this is caught by cmp */
310 if (cmp || !c1)
311 return cmp;
/freebsd-13-stable/contrib/atf/atf-sh/
H A Datf-check_test.sh240 cmp -s out exp || atf_fail "Saved output does not match expected results"
337 cmp -s out exp || atf_fail "Saved output does not match expected results"
/freebsd-13-stable/contrib/bc/src/
H A Dnum.c254 ssize_t cmp; local
290 cmp = bc_num_compare(max_num, min_num, b_int + min);
292 if (cmp) return bc_num_neg((size_t) cmp, !a_max == !neg);
995 ssize_t cmp; local
997 if (b->len > len && a[len]) cmp = bc_num_compare(a, b->num, len + 1);
999 if (a[len]) cmp = 1;
1000 else cmp = bc_num_compare(a, b->num, len);
1002 else cmp = -1;
1004 return cmp;
1083 ssize_t cmp; local
2421 ssize_t cmp; local
[all...]
H A Dprogram.c657 ssize_t cmp; local
669 cmp = bc_num_cmp(n1, n2);
675 cond = (cmp == 0);
681 cond = (cmp <= 0);
687 cond = (cmp >= 0);
693 cond = (cmp != 0);
699 cond = (cmp < 0);
705 cond = (cmp > 0);
/freebsd-13-stable/contrib/bmake/
H A Dbsd.after-import.mk109 @cmp -s ${.TARGET} ${.CURDIR}/Makefile || \
121 @cmp -s ${.TARGET} ${.CURDIR}/unit-tests/Makefile || \

Completed in 312 milliseconds

1234567891011>>