/freebsd/contrib/diff/src/ |
H A D | diff.c | 1064 memset (cmp.file, 0, sizeof cmp.file); in compare_files() 1107 cmp.file[f].desc = cmp.file[0].desc; in compare_files() 1108 cmp.file[f].stat = cmp.file[0].stat; in compare_files() 1132 else if (stat (cmp.file[f].name, &cmp.file[f].stat) != 0) in compare_files() 1156 memset (&cmp.file[f].stat, 0, sizeof cmp.file[f].stat); in compare_files() 1157 cmp.file[f].stat.st_mode = cmp.file[1 - f].stat.st_mode; in compare_files() 1205 && 0 < same_file (&cmp.file[0].stat, &cmp.file[1].stat) in compare_files() 1226 cmp.file[0].name, cmp.file[1].name); in compare_files() 1275 && cmp.file[0].stat.st_size != cmp.file[1].stat.st_size) in compare_files() 1297 cmp.file[1].desc = cmp.file[0].desc; in compare_files() [all …]
|
H A D | analyze.c | 810 if (cmp->file[0].stat.st_size != cmp->file[1].stat.st_size in diff_2_files() 811 && (cmp->file[0].desc < 0 || S_ISREG (cmp->file[0].stat.st_mode)) in diff_2_files() 812 && (cmp->file[1].desc < 0 || S_ISREG (cmp->file[1].stat.st_mode))) in diff_2_files() 816 else if (cmp->file[0].desc == cmp->file[1].desc) in diff_2_files() 831 cmp->file[f].buffer = xrealloc (cmp->file[f].buffer, buffer_size); in diff_2_files() 833 for (;; cmp->file[0].buffered = cmp->file[1].buffered = 0) in diff_2_files() 842 if (cmp->file[0].buffered != cmp->file[1].buffered in diff_2_files() 869 size_t s = cmp->file[0].buffered_lines + cmp->file[1].buffered_lines + 4; in diff_2_files() 872 cmp->file[1].changed = flag_space + cmp->file[0].buffered_lines + 3; in diff_2_files() 1013 free (cmp->file[f].linbuf + cmp->file[f].linbuf_base); in diff_2_files() [all …]
|
H A D | dir.c | 200 diff_dirs (struct comparison const *cmp, in diff_dirs() argument 208 if ((cmp->file[0].desc == -1 || dir_loop (cmp, 0)) in diff_dirs() 209 && (cmp->file[1].desc == -1 || dir_loop (cmp, 1))) in diff_dirs() 212 cmp->file[cmp->file[0].desc == -1].name); in diff_dirs() 218 if (! dir_read (&cmp->file[i], &dirdata[i])) in diff_dirs() 220 perror_with_name (cmp->file[i].name); in diff_dirs() 243 if (starting_file && ! cmp->parent) in diff_dirs() 259 int v1 = (*handle_file) (cmp, in diff_dirs() 281 dir_loop (struct comparison const *cmp, int i) in dir_loop() argument 283 struct comparison const *p = cmp; in dir_loop() [all …]
|
/freebsd/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 364 cmp r1, r0 372 cmp ip, #0 [all …]
|
/freebsd/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 370 cmp r1, r0 378 cmp ip, #0 [all …]
|
/freebsd/usr.bin/cmp/tests/ |
H A D | cmp_test2.sh | 54 atf_check -s exit:0 cmp a a.lnk 55 atf_check -s exit:0 cmp a.lnk a 60 atf_check -s exit:0 cmp -h a.lnk a2.lnk 74 atf_check -s exit:0 cmp -s a b 4 3 75 atf_check -s exit:0 cmp -i 4:3 -s a b 76 atf_check -s exit:0 cmp -i 1 -s b c 95 atf_check -s exit:0 cmp -s a b 1k 1k 109 atf_check -s exit:0 cmp -sn 4 a b 110 atf_check -s exit:0 cmp -sn 3 a b 131 cmp -b a b [all …]
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | atomic.h | 96 (void)atomic_fcmpset_32(target, &cmp, newval); in atomic_cas_32() 98 uint32_t expected = cmp; in atomic_cas_32() 101 if (atomic_fcmpset_32(target, &cmp, newval)) in atomic_cas_32() 103 } while (cmp == expected); in atomic_cas_32() 105 return (cmp); in atomic_cas_32() 129 uint64_t expected = cmp; in atomic_cas_64() 132 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64() 134 } while (cmp == expected); in atomic_cas_64() 136 return (cmp); in atomic_cas_64() 163 (uint64_t)cmp, (uint64_t)newval)); in atomic_cas_ptr() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | atomic.h | 105 (void) atomic_fcmpset_32(target, &cmp, newval); in atomic_cas_32() 107 uint32_t expected = cmp; in atomic_cas_32() 110 if (atomic_fcmpset_32(target, &cmp, newval)) in atomic_cas_32() 112 } while (cmp == expected); in atomic_cas_32() 114 return (cmp); in atomic_cas_32() 140 uint64_t expected = cmp; in atomic_cas_64() 143 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64() 145 } while (cmp == expected); in atomic_cas_64() 147 return (cmp); in atomic_cas_64() 175 (uint64_t)cmp, (uint64_t)newval)); in atomic_cas_ptr() [all …]
|
/freebsd/usr.bin/tail/tests/ |
H A D | tail_test.sh | 37 atf_check cmp expectfile outfile 38 atf_check cmp expectfile outpipe 60 atf_check cmp expectfile outfile 61 atf_check cmp expectfile outpipe 82 atf_check cmp expectfile outfile 83 atf_check cmp expectfile outpipe 103 atf_check cmp expectfile outfile 104 atf_check cmp expectfile outpipe 125 atf_check cmp expectfile outfile 126 atf_check cmp expectfile outpipe [all …]
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | update_authors.pl | 269 my $cmp; 293 my $cmp; 296 $cmp = (($b =~ tr/@//) == 1) <=> (($a =~ tr/@//) == 1); 297 return $cmp unless $cmp == 0; 300 $cmp = (($a =~ $internal_re) <=> ($b =~ $internal_re)); 301 return $cmp unless $cmp == 0; 304 $cmp = (($a =~ $noreply_re) <=> ($b =~ $noreply_re)); 305 return $cmp unless $cmp == 0; 309 return $cmp unless $cmp == 0; 314 $cmp = ($adom cmp $bdom); [all …]
|
/freebsd/contrib/arm-optimized-routines/pl/math/ |
H A D | sv_math.h | 45 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call_f64() 46 while (svptest_any (cmp, p)) in sv_call_f64() 52 p = svpnext_b64 (cmp, p); in sv_call_f64() 59 svfloat64_t y, svbool_t cmp) in sv_call2_f64() argument 62 while (svptest_any (cmp, p)) in sv_call2_f64() 69 p = svpnext_b64 (cmp, p); in sv_call2_f64() 104 while (svptest_any (cmp, p)) in sv_call_f32() 110 p = svpnext_b32 (cmp, p); in sv_call_f32() 117 svfloat32_t y, svbool_t cmp) in sv_call2_f32() argument 120 while (svptest_any (cmp, p)) in sv_call2_f32() [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | x86cpuid.pl | 92 &cmp ("edi",4); 108 &cmp ("ebp",0); 119 &cmp ("esi",0); 134 &cmp ("edi",7); 148 &cmp ("eax",6); 150 &cmp ("eax",2); 295 &cmp ("ecx",7); 297 &cmp ("ecx",0); 320 &cmp ("ecx",0); 333 &cmp ("ecx",0); [all …]
|
/freebsd/contrib/netbsd-tests/include/sys/ |
H A D | t_socket.c | 32 struct cmsghdr *cmp; in ATF_TC_BODY() local 48 cmp->cmsg_level = SOL_SOCKET; in ATF_TC_BODY() 49 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY() 56 msg.msg_control = cmp; in ATF_TC_BODY() 83 struct cmsghdr *cmp; in ATF_TC_BODY() local 137 cmp->cmsg_level = SOL_SOCKET; in ATF_TC_BODY() 138 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY() 145 msg.msg_control = cmp; in ATF_TC_BODY() 147 *(int *)CMSG_DATA(cmp) = fd[0]; in ATF_TC_BODY() 158 *(int *)CMSG_DATA(cmp) = -1; in ATF_TC_BODY() [all …]
|
/freebsd/lib/libc/stdlib/ |
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))) 135 pm = med3(pl, pm, pn, cmp, thunk); in local_qsort() 190 local_qsort(a, d1 / es, es, cmp, thunk); in local_qsort() 217 local_qsort_r(a, n, es, cmp, thunk); 223 local_qsort_r_compat(a, n, es, cmp, thunk); in __qsort_r_compat() 241 } else if (cmp == NULL) { in qsort_s() 252 local_qsort_s(a, n, es, cmp, thunk); in qsort_s() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | params_api_test.c | 162 le_copy(cmp, &out, sizeof(out)); in test_param_int() 168 le_copy(cmp, &in, sizeof(in)); in test_param_int() 195 le_copy(cmp, &in, sizeof(in)); in test_param_long() 221 le_copy(cmp, &in, sizeof(in)); in test_param_uint() 248 le_copy(cmp, &in, sizeof(in)); in test_param_ulong() 275 le_copy(cmp, &in, sizeof(in)); in test_param_int32() 302 le_copy(cmp, &in, sizeof(in)); in test_param_uint32() 329 le_copy(cmp, &in, sizeof(in)); in test_param_int64() 356 le_copy(cmp, &in, sizeof(in)); in test_param_uint64() 383 le_copy(cmp, &in, sizeof(in)); in test_param_size_t() [all …]
|
/freebsd/lib/libc/db/test/ |
H A D | run.test | 72 if (cmp -s $TMP1 $TMP3) ; then : 86 if (cmp -s $TMP1 $TMP3) ; then : 111 if (cmp -s $TMP1 $TMP3) ; then : 124 if (cmp -s $TMP1 $TMP3) ; then : 147 if (cmp -s $TMP1 $TMP3) ; then : 166 if (cmp -s $TMP1 $TMP3) ; then : 183 if (cmp -s $TMP1 $TMP3) ; then : 248 if (cmp -s $TMP1 $TMP3) ; then : 284 if (cmp -s $TMP1 $TMP3) ; then : 336 if (cmp -s $TMP1 $TMP3) ; then : [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | t-qic.c | 59 int cmp; local 70 cmp = strcmp(line_in, line_back); 71 SM_TEST(exp == cmp); 72 if (cmp != exp && !SmTestVerbose) 77 fprintf(stderr, "cmp=%d\n", cmp); 85 fprintf(stderr, "cmp=%d\n", cmp); 106 int i, los, cmp, mode; local 176 SM_TEST(inout[i].qic_exp == cmp); 185 fprintf(stderr, "cmp=%d\n", cmp); 203 SM_TEST(inout[i].qic_exp == cmp); [all …]
|
/freebsd/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 178 atf_check -s exit:1 cmp -s file1.Z file2.Z [all …]
|
/freebsd/crypto/openssl/ssl/record/ |
H A D | dtls1_bitmap.c | 40 int cmp; in dtls1_record_replay_check() local 44 cmp = satsub64be(seq, bitmap->max_seq_num); in dtls1_record_replay_check() 45 if (cmp > 0) { in dtls1_record_replay_check() 49 shift = -cmp; in dtls1_record_replay_check() 61 int cmp; in dtls1_record_bitmap_update() local 65 cmp = satsub64be(seq, bitmap->max_seq_num); in dtls1_record_bitmap_update() 66 if (cmp > 0) { in dtls1_record_bitmap_update() 67 shift = cmp; in dtls1_record_bitmap_update() 74 shift = -cmp; in dtls1_record_bitmap_update()
|
/freebsd/sys/netinet/ |
H A D | accf_http.c | 51 int max, char *cmp); 100 for (; offset < m->m_len; offset++, cmp++) { in mbufstrcmp() 101 if (*cmp == '\0') in mbufstrcmp() 103 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrcmp() 106 if (*cmp == '\0') in mbufstrcmp() 130 if (max == 0 || *cmp == '\0') in mbufstrncmp() 132 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrncmp() 135 if (max == 0 || *cmp == '\0') in mbufstrncmp() 156 char *cmp; in sohashttpget() local 165 STRSETUP(cmp, cmplen, "ET "); in sohashttpget() [all …]
|
/freebsd/sys/sys/ |
H A D | queue_mergesort.h | 185 #define SLIST_MERGESORT(head, thunk, cmp, TYPE, NAME) \ argument 186 SYSQUEUE_MERGESORT((head), (thunk), (cmp), TYPE, NAME, SLIST_HEAD, \ 189 #define SLIST_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument 193 #define LIST_MERGESORT(head, thunk, cmp, TYPE, NAME) \ argument 194 SYSQUEUE_MERGESORT((head), (thunk), (cmp), TYPE, NAME, LIST_HEAD, \ 197 #define LIST_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument 201 #define STAILQ_MERGESORT(head, thunk, cmp, TYPE, NAME) \ argument 205 #define STAILQ_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument 209 #define TAILQ_MERGESORT(head, thunk, cmp, TYPE, NAME) \ argument 210 SYSQUEUE_MERGESORT((head), (thunk), (cmp), TYPE, NAME, TAILQ_HEAD, \ [all …]
|
/freebsd/contrib/libdiff/compat/ |
H A D | merge.c | 55 int (*cmp)(const void *, const void *)); 94 int (*cmp)(const void *, const void *)) in mergesort() 121 setup(list1, list2, nmemb, size, cmp); in mergesort() 135 if ((*cmp)(f1, f2) <= 0) { in mergesort() 154 (*cmp)(q, p) <= sense) in mergesort() 175 if ((*cmp)(q, in mergesort() 261 insertionsort(list1, n, size, cmp); in setup() 277 sense = (cmp(f1, f1 + size) > 0); in setup() 282 if ((cmp(f2, f2+ size) > 0) != sense) in setup() 314 if (cmp (f1, f1 + size) > 0) in setup() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoZa.td | 74 (vt GPR:$cmp), 76 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>; 78 (vt GPR:$cmp), 82 (vt GPR:$cmp), 86 (vt GPR:$cmp), 90 (vt GPR:$cmp), 96 (vt GPR:$cmp), 100 (vt GPR:$cmp), 104 (vt GPR:$cmp), 108 (vt GPR:$cmp), [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | sftp-cmds.sh | 72 cmp $DATA ${COPY} || fail "corrupted copy after get" 78 cmp $DATA ${COPY} || fail "corrupted copy after get" 100 cmp ${COPY} "$GLOBMETACOPY" || \ 107 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after get" 114 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get" 121 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after get" 128 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get" 135 cmp $DATA ${COPY} || fail "corrupted copy after put" 153 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after put" 160 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_atomic_msvc.h | 169 u8 *cmp, in atomic_compare_exchange_strong() argument 174 u8 cmpv = *cmp; in atomic_compare_exchange_strong() 190 *cmp = prev; in atomic_compare_exchange_strong() 198 uptr cmpv = *cmp; in atomic_compare_exchange_strong() 203 *cmp = prev; in atomic_compare_exchange_strong() 211 u16 cmpv = *cmp; in atomic_compare_exchange_strong() 216 *cmp = prev; in atomic_compare_exchange_strong() 224 u32 cmpv = *cmp; in atomic_compare_exchange_strong() 229 *cmp = prev; in atomic_compare_exchange_strong() 237 u64 cmpv = *cmp; in atomic_compare_exchange_strong() [all …]
|