Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 763) sorted by relevance

12345678910>>...31

/freebsd-13.1/contrib/diff/src/
H A Ddiff.c1064 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 Danalyze.c810 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 Ddir.c200 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-13.1/sys/libkern/arm/
H A Ddivsi3.S62 cmp r0, #1
89 cmp r0, #1
185 cmp r1, r0
187 cmp r1, r0, lsl #1
189 cmp r1, r0, lsl #2
191 cmp r1, r0, lsl #3
193 cmp r1, r0, lsl #4
195 cmp r1, r0, lsl #5
372 cmp r1, r0
380 cmp ip, #0
[all …]
/freebsd-13.1/lib/libc/arm/gen/
H A Ddivsi3.S60 cmp r0, #1
83 cmp r0, #1
179 cmp r1, r0
181 cmp r1, r0, lsl #1
183 cmp r1, r0, lsl #2
185 cmp r1, r0, lsl #3
187 cmp r1, r0, lsl #4
189 cmp r1, r0, lsl #5
366 cmp r1, r0
374 cmp ip, #0
[all …]
/freebsd-13.1/usr.bin/cmp/tests/
H A Dcmp_test2.sh55 atf_check -s exit:0 cmp a a.lnk
56 atf_check -s exit:0 cmp a.lnk a
61 atf_check -s exit:0 cmp -h a.lnk a2.lnk
75 atf_check -s exit:0 cmp -s a b 4 3
76 atf_check -s exit:0 cmp -i 4:3 -s a b
77 atf_check -s exit:0 cmp -i 1 -s b c
96 atf_check -s exit:0 cmp -s a b 1k 1k
110 atf_check -s exit:0 cmp -sn 4 a b
111 atf_check -s exit:0 cmp -sn 3 a b
132 cmp -b a b
[all …]
/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Datomic.h98 (void)atomic_fcmpset_32(target, &cmp, newval); in atomic_cas_32()
100 uint32_t expected = cmp; in atomic_cas_32()
103 if (atomic_fcmpset_32(target, &cmp, newval)) in atomic_cas_32()
105 } while (cmp == expected); in atomic_cas_32()
107 return (cmp); in atomic_cas_32()
131 uint64_t expected = cmp; in atomic_cas_64()
134 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64()
136 } while (cmp == expected); in atomic_cas_64()
138 return (cmp); in atomic_cas_64()
165 (uint64_t)cmp, (uint64_t)newval)); in atomic_cas_ptr()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Datomic.h103 (void) atomic_fcmpset_32(target, &cmp, newval); in atomic_cas_32()
105 uint32_t expected = cmp; in atomic_cas_32()
108 if (atomic_fcmpset_32(target, &cmp, newval)) in atomic_cas_32()
110 } while (cmp == expected); in atomic_cas_32()
112 return (cmp); in atomic_cas_32()
138 uint64_t expected = cmp; in atomic_cas_64()
141 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64()
143 } while (cmp == expected); in atomic_cas_64()
145 return (cmp); in atomic_cas_64()
173 (uint64_t)cmp, (uint64_t)newval)); in atomic_cas_ptr()
[all …]
/freebsd-13.1/usr.bin/tail/tests/
H A Dtail_test.sh38 atf_check cmp expectfile outfile
39 atf_check cmp expectfile outpipe
61 atf_check cmp expectfile outfile
62 atf_check cmp expectfile outpipe
83 atf_check cmp expectfile outfile
84 atf_check cmp expectfile outpipe
104 atf_check cmp expectfile outfile
105 atf_check cmp expectfile outpipe
126 atf_check cmp expectfile outfile
127 atf_check cmp expectfile outpipe
[all …]
/freebsd-13.1/crypto/openssl/crypto/
H A Dx86cpuid.pl94 &cmp ("edi",4);
110 &cmp ("ebp",0);
121 &cmp ("esi",0);
136 &cmp ("edi",7);
150 &cmp ("eax",6);
152 &cmp ("eax",2);
297 &cmp ("ecx",7);
299 &cmp ("ecx",0);
322 &cmp ("ecx",0);
335 &cmp ("ecx",0);
[all …]
/freebsd-13.1/contrib/netbsd-tests/include/sys/
H A Dt_socket.c32 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-13.1/contrib/sendmail/libsm/
H A Dt-qic.c59 int cmp; local
65 cmp = strcmp(line_in, line_back);
66 SM_TEST(exp == cmp);
67 if (cmp != exp && !SmTestVerbose)
72 fprintf(stderr, "cmp=%d\n", cmp);
80 fprintf(stderr, "cmp=%d\n", cmp);
101 int i, los, cmp; local
164 SM_TEST(inout[i].qic_exp == cmp);
173 fprintf(stderr, "cmp=%d\n", cmp);
191 SM_TEST(inout[i].qic_exp == cmp);
[all …]
/freebsd-13.1/lib/libc/db/test/
H A Drun.test75 if (cmp -s $TMP1 $TMP3) ; then :
89 if (cmp -s $TMP1 $TMP3) ; then :
114 if (cmp -s $TMP1 $TMP3) ; then :
127 if (cmp -s $TMP1 $TMP3) ; then :
150 if (cmp -s $TMP1 $TMP3) ; then :
169 if (cmp -s $TMP1 $TMP3) ; then :
186 if (cmp -s $TMP1 $TMP3) ; then :
251 if (cmp -s $TMP1 $TMP3) ; then :
287 if (cmp -s $TMP1 $TMP3) ; then :
339 if (cmp -s $TMP1 $TMP3) ; then :
[all …]
/freebsd-13.1/lib/libc/stdlib/
H A Dqsort.c75 #define CMP(t, x, y) (cmp((t), (x), (y)))
77 #define CMP(t, x, y) (cmp((x), (y), (t)))
79 #define CMP(t, x, y) (cmp((x), (y)))
131 pm = med3(pm - d, pm, pm + d, cmp, thunk); in local_qsort()
134 pm = med3(pl, pm, pn, cmp, thunk); in local_qsort()
184 local_qsort(a, d1 / es, es, cmp, thunk); in local_qsort()
211 local_qsort_r(a, n, es, cmp, thunk); in qsort_r()
229 } else if (cmp == NULL) { in qsort_s()
236 local_qsort_s(a, n, es, cmp, thunk); in qsort_s()
241 qsort(void *a, size_t n, size_t es, cmp_t *cmp) in qsort() argument
[all …]
/freebsd-13.1/usr.bin/compress/tests/
H A Dcompress_test.sh42 atf_check cmp file1 expectfile1
61 atf_check cmp file1 expectfile1
138 atf_check -s exit:1 cmp -s file1.Z expectfile1
140 atf_check cmp file1 expectfile1
156 atf_check -s exit:1 cmp -s file1.Z expectfile1
157 atf_check -s exit:1 cmp -s file2.Z expectfile2
158 atf_check -s exit:1 cmp -s file1.Z file2.Z
160 atf_check cmp file1 expectfile1
161 atf_check cmp file2 expectfile2
179 atf_check -s exit:1 cmp -s file1.Z file2.Z
[all …]
/freebsd-13.1/crypto/openssl/ssl/record/
H A Ddtls1_bitmap.c40 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-13.1/sys/netinet/
H A Daccf_http.c53 int max, char *cmp);
102 for (; offset < m->m_len; offset++, cmp++) { in mbufstrcmp()
103 if (*cmp == '\0') in mbufstrcmp()
105 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrcmp()
108 if (*cmp == '\0') in mbufstrcmp()
132 if (max == 0 || *cmp == '\0') in mbufstrncmp()
134 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrncmp()
137 if (max == 0 || *cmp == '\0') in mbufstrncmp()
158 char *cmp; in sohashttpget() local
167 STRSETUP(cmp, cmplen, "ET "); in sohashttpget()
[all …]
/freebsd-13.1/crypto/openssh/regress/
H A Dsftp-cmds.sh72 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-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h169 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 …]
H A Dsanitizer_lfstack.h36 u64 cmp = atomic_load(&head_, memory_order_relaxed); in Push() local
38 u64 cnt = (cmp & kCounterMask) + kCounterInc; in Push()
40 p->next = (T*)(uptr)(cmp & kPtrMask); in Push()
41 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
48 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() local
50 T *cur = (T*)(uptr)(cmp & kPtrMask); in Pop()
54 u64 cnt = (cmp & kCounterMask); in Pop()
56 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Ddfaddsub.S111 A_POS = cmp.gt(AH,#-1)
143 p0 = cmp.eq(ATMPH,#0)
144 p0 = cmp.eq(ATMPL,#0)
173 p0 = cmp.eq(TMP,#2)
194 p0 = cmp.eq(ATMPH,#0)
195 p0 = cmp.eq(ATMPL,#0)
211 p0 = cmp.gt(EXPB,#0)
315 p0 = cmp.gt(AH,#-1)
316 p1 = cmp.gt(BH,#-1)
367 p0 = cmp.eq(A,B)
[all …]
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dobjects.h70 int (*cmp) (const void *, const void *));
73 int (*cmp) (const void *, const void *),
81 # define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \ argument
82 _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp)
141 # define OBJ_bsearch(type1,key,type2,base,num,cmp) \ argument
144 ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \
145 (void)CHECKED_PTR_OF(type2,cmp##_type_2), \
146 cmp##_BSEARCH_CMP_FN)))
151 ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \
152 (void)type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \
[all …]
/freebsd-13.1/crypto/openssl/crypto/bn/asm/
H A Dia64.S948 cmp.ltu p6,p0=r25,r24
953 cmp.ltu p6,p0=r26,r25
958 cmp.ltu p6,p0=r27,r26
965 cmp.ltu p6,p0=r28,r27
971 cmp.ltu p6,p0=r29,r28
977 cmp.ltu p6,p0=r30,r29
986 cmp.ltu p6,p0=r31,r30
1028 cmp.ltu p6,p0=r25,r24
1033 cmp.ltu p6,p0=r26,r25
1038 cmp.ltu p6,p0=r27,r26
[all …]
/freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/
H A Drb.h416 int cmp; \
420 if (cmp < 0) { \
435 if (cmp < 0) { \
454 if (cmp < 0) { \
470 int cmp; \
476 int cmp = pathp->cmp = a_cmp(node, pathp->node); \
478 if (cmp < 0) { \
540 int cmp; \
546 int cmp = pathp->cmp = a_cmp(node, pathp->node); \
547 if (cmp < 0) { \
[all …]
/freebsd-13.1/sys/contrib/zlib/contrib/gcc_gvmat64/
H A Dgvmat64.S223 cmp edi, esi
245 cmp r10d, eax
298 cmp bx,word ptr [rsi + r8 - 1]
307 cmp r8d, ebp
327 cmp r8d, ebp
346 cmp r8d, ebp
388 cmp r8d, ebp
493 cmp eax, MAX_MATCH
502 cmp eax, r11d
521 cmp eax, [nicematch]
[all …]

12345678910>>...31