/freebsd-current/contrib/bmake/unit-tests/ |
H A D | meta-cmd-cmp.exp | 2 Building .meta-cmd-cmp.cmp 3 Building .meta-cmd-cmp.nocmp 4 Building .meta-cmd-cmp.cmp2 8 `.meta-cmd-cmp.cmp' is up to date. 9 `.meta-cmd-cmp.nocmp' is up to date. 10 .meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE 11 `.meta-cmd-cmp.cmp2' is up to date. 14 .meta-cmd-cmp [all...] |
/freebsd-current/sys/libkern/ |
H A D | bsearch.c | 57 int cmp; local 62 cmp = (*compar)(key, p); 63 if (cmp == 0) 65 if (cmp > 0) { /* key > p: move right */
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | atomic.h | 50 extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp, 93 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t newval) argument 96 (void)atomic_fcmpset_32(target, &cmp, newval); 98 uint32_t expected = cmp; 101 if (atomic_fcmpset_32(target, &cmp, newval)) 103 } while (cmp == expected); 105 return (cmp); 124 atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t newval) argument 127 (void)atomic_fcmpset_64(target, &cmp, newval); 129 uint64_t expected = cmp; 160 atomic_cas_ptr(volatile void *target, void *cmp, void *newval) argument 167 atomic_cas_ptr(volatile void *target, void *cmp, void *newval) argument [all...] |
/freebsd-current/crypto/openssl/ssl/record/ |
H A D | dtls1_bitmap.c | 40 int cmp; local 44 cmp = satsub64be(seq, bitmap->max_seq_num); 45 if (cmp > 0) { 49 shift = -cmp; 61 int cmp; local 65 cmp = satsub64be(seq, bitmap->max_seq_num); 66 if (cmp > 0) { 67 shift = cmp; 74 shift = -cmp;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_lfstack.h | 36 u64 cmp = atomic_load(&head_, memory_order_relaxed); local 38 u64 cnt = (cmp & kCounterMask) + kCounterInc; 40 p->next = (T*)(uptr)(cmp & kPtrMask); 41 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 48 u64 cmp = atomic_load(&head_, memory_order_acquire); local 50 T *cur = (T*)(uptr)(cmp & kPtrMask); 54 u64 cnt = (cmp & kCounterMask); 56 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | sort.h | 36 #define sort(base, num, size, cmp, swap) do { \ 38 qsort(base, num, size, cmp); \
|
/freebsd-current/usr.bin/cmp/ |
H A D | Makefile | 4 PROG= cmp 5 SRCS= cmp.c link.c misc.c regular.c special.c
|
/freebsd-current/usr.bin/csplit/tests/ |
H A D | csplit_test.sh | 51 atf_check cmp expectfile00 xx00 52 atf_check cmp expectfile01 xx01 53 atf_check cmp expectfile02 xx02
|
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | atomic.h | 56 extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp, 102 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t newval) argument 105 (void) atomic_fcmpset_32(target, &cmp, newval); 107 uint32_t expected = cmp; 110 if (atomic_fcmpset_32(target, &cmp, newval)) 112 } while (cmp == expected); 114 return (cmp); 135 atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t newval) argument 138 (void) atomic_fcmpset_64(target, &cmp, newval); 140 uint64_t expected = cmp; 172 atomic_cas_ptr(volatile void *target, void *cmp, void *newval) argument 179 atomic_cas_ptr(volatile void *target, void *cmp, void *newval) argument [all...] |
/freebsd-current/lib/libc/arm/gen/ |
H A D | divsi3.S | 58 cmp r0, #1 81 cmp r0, #1 177 cmp r1, r0 179 cmp r1, r0, lsl #1 181 cmp r1, r0, lsl #2 183 cmp r1, r0, lsl #3 185 cmp r1, r0, lsl #4 187 cmp r1, r0, lsl #5 189 cmp r1, r0, lsl #6 191 cmp r [all...] |
/freebsd-current/sys/libkern/arm/ |
H A D | divsi3.S | 60 cmp r0, #1 87 cmp r0, #1 183 cmp r1, r0 185 cmp r1, r0, lsl #1 187 cmp r1, r0, lsl #2 189 cmp r1, r0, lsl #3 191 cmp r1, r0, lsl #4 193 cmp r1, r0, lsl #5 195 cmp r1, r0, lsl #6 197 cmp r [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | clzdi2.S | 23 cmp r0, 0 29 cmp r1, 0 44 cmp r0, 0 47 cmp r1, 0
|
/freebsd-current/contrib/netbsd-tests/include/sys/ |
H A D | t_socket.c | 32 struct cmsghdr *cmp; local 43 cmp = malloc(CMSG_SPACE(sizeof(int))); 48 cmp->cmsg_level = SOL_SOCKET; 49 cmp->cmsg_type = SCM_RIGHTS; 50 cmp->cmsg_len = CMSG_LEN(sizeof(int)); 56 msg.msg_control = cmp; 64 *(int *)CMSG_DATA(cmp) = 0x12345678; 83 struct cmsghdr *cmp; local 132 cmp = malloc(CMSG_SPACE(sizeof(int))); 137 cmp [all...] |
/freebsd-current/contrib/arm-optimized-routines/pl/math/ |
H A D | sv_math.h | 43 sv_call_f64 (double (*f) (double), svfloat64_t x, svfloat64_t y, svbool_t cmp) argument 45 svbool_t p = svpfirst (cmp, svpfalse ()); 46 while (svptest_any (cmp, p)) 52 p = svpnext_b64 (cmp, p); 59 svfloat64_t y, svbool_t cmp) 61 svbool_t p = svpfirst (cmp, svpfalse ()); 62 while (svptest_any (cmp, p)) 69 p = svpnext_b64 (cmp, p); 101 sv_call_f32 (float (*f) (float), svfloat32_t x, svfloat32_t y, svbool_t cmp) argument 103 svbool_t p = svpfirst (cmp, svpfals 58 sv_call2_f64(double (*f) (double, double), svfloat64_t x1, svfloat64_t x2, svfloat64_t y, svbool_t cmp) argument 116 sv_call2_f32(float (*f) (float, float), svfloat32_t x1, svfloat32_t x2, svfloat32_t y, svbool_t cmp) argument [all...] |
/freebsd-current/lib/libc/stdlib/ |
H A D | bsearch.c | 71 int cmp; local 76 cmp = COMPAR(key, p); 77 if (cmp == 0) 79 if (cmp > 0) { /* key > p: move right */
|
H A D | qsort.c | 71 #define CMP(t, x, y) (cmp((x), (y), (t))) 73 #define CMP(t, x, y) (cmp((t), (x), (y))) 75 #define CMP(t, x, y) (cmp((x), (y), (t))) 77 #define CMP(t, x, y) (cmp((x), (y))) 81 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk argument 104 local_qsort(void *a, size_t n, size_t es, cmp_t *cmp, void *thunk) argument 131 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); 132 pm = med3(pm - d, pm, pm + d, cmp, thunk); 133 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); 135 pm = med3(pl, pm, pn, cmp, thun 215 qsort_r(void *a, size_t n, size_t es, cmp_t *cmp, void *thunk) argument 221 __qsort_r_compat(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument 227 qsort_s(void *a, rsize_t n, rsize_t es, cmp_t *cmp, void *thunk) argument 257 qsort(void *a, size_t n, size_t es, cmp_t *cmp) argument [all...] |
/freebsd-current/contrib/diff/src/ |
H A D | diff.c | 1041 struct comparison cmp; 1042 #define DIR_P(f) (S_ISDIR (cmp.file[f].stat.st_mode) != 0) 1067 memset (cmp.file, 0, sizeof cmp.file); 1068 cmp.parent = parent; 1070 /* cmp.file[f].desc markers */ 1077 cmp.file[0].desc = name0 == 0 ? NONEXISTENT : UNOPENED; 1078 cmp.file[1].desc = name1 == 0 ? NONEXISTENT : UNOPENED; 1091 cmp.file[0].name = name0; 1092 cmp 1038 struct comparison cmp; local [all...] |
H A D | dir.c | 201 diff_dirs (struct comparison const *cmp, 209 if ((cmp->file[0].desc == -1 || dir_loop (cmp, 0)) 210 && (cmp->file[1].desc == -1 || dir_loop (cmp, 1))) 213 cmp->file[cmp->file[0].desc == -1].name); 219 if (! dir_read (&cmp->file[i], &dirdata[i])) 221 perror_with_name (cmp->file[i].name); 244 if (starting_file && ! cmp 200 diff_dirs(struct comparison const *cmp, int (*handle_file) (struct comparison const *, char const *, char const *)) argument 281 dir_loop(struct comparison const *cmp, int i) argument [all...] |
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | compare.inc | 12 // [cmp.categories], comparison category types 25 // [cmp.common], common comparison category type 29 // [cmp.concept], concept three_way_comparable 33 // [cmp.result], result of three-way comparison 41 // [cmp.alg], comparison algorithms
|
/freebsd-current/usr.bin/cmp/tests/ |
H A D | cmp_test2.sh | 29 atf_set "descr" "Test cmp(1)'s handling of non-regular files" 34 atf_check -s exit:0 -o empty -e empty -x "cat a | cmp a -" 35 atf_check -s exit:0 -o empty -e empty -x "cat a | cmp - a" 36 atf_check -s exit:1 -o not-empty -e empty -x "cat b | cmp a -" 37 atf_check -s exit:1 -o not-empty -e empty -x "cat b | cmp - a" 39 atf_check -s exit:0 -o empty -e empty -x "cmp a a <&-" 44 atf_set "descr" "Test cmp(1)'s handling of symlinks" 54 atf_check -s exit:0 cmp a a.lnk 55 atf_check -s exit:0 cmp a.lnk a 56 atf_check -s not-exit:0 -o ignore cmp [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
H A D | divsi3.S | 26 p0 = cmp.ge(r0,#0) 27 p1 = cmp.ge(r1,#0) 35 p2 = cmp.gtu(r2,r1) 41 p0 = cmp.gtu(r2,r5) 48 p0 = cmp.gtu(r2,r5) 66 p0 = cmp.gtu(r2,r1) 72 p0 = cmp.gtu(r2,r1)
|
H A D | modsi3.S | 26 p2 = cmp.ge(r0,#0) 33 p0 = cmp.gtu(r1,r2) 40 p1 = cmp.eq(r3,#0) 48 p0 = cmp.gtu(r2,r0) 54 p0 = cmp.gtu(r2,r0)
|
/freebsd-current/usr.bin/compress/tests/ |
H A D | compress_test.sh | 41 atf_check cmp file1 expectfile1 60 atf_check cmp file1 expectfile1 137 atf_check -s exit:1 cmp -s file1.Z expectfile1 139 atf_check cmp file1 expectfile1 155 atf_check -s exit:1 cmp -s file1.Z expectfile1 156 atf_check -s exit:1 cmp -s file2.Z expectfile2 157 atf_check -s exit:1 cmp -s file1.Z file2.Z 159 atf_check cmp file1 expectfile1 160 atf_check cmp file2 expectfile2 176 atf_check -s exit:1 cmp [all...] |
/freebsd-current/contrib/arm-optimized-routines/math/aarch64/ |
H A D | v_cosf.c | 33 special_case (float32x4_t x, float32x4_t y, uint32x4_t odd, uint32x4_t cmp) argument 37 return v_call_f32 (cosf, x, y, cmp); 44 uint32x4_t odd, cmp; local 48 cmp = vcgeq_u32 (vreinterpretq_u32_f32 (r), 50 if (unlikely (v_any_u32 (cmp))) 54 r = vbslq_f32 (cmp, v_f32 (1.0f), r); 56 cmp = vcageq_f32 (x, d->range_val); 79 if (unlikely (v_any_u32 (cmp))) 80 return special_case (x, y, odd, cmp);
|
H A D | v_sinf.c | 37 special_case (float32x4_t x, float32x4_t y, uint32x4_t odd, uint32x4_t cmp) argument 41 return v_call_f32 (sinf, x, y, cmp); 48 uint32x4_t odd, cmp; local 52 cmp = vcgeq_u32 (vsubq_u32 (ir, TinyBound), Thresh); 56 r = vbslq_f32 (cmp, vreinterpretq_f32_u32 (cmp), x); 59 cmp = vcageq_f32 (x, d->range_val); 79 if (unlikely (v_any_u32 (cmp))) 80 return special_case (x, y, odd, cmp);
|