Home
last modified time | relevance | path

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

12345678910>>...33

/freebsd-12.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-12.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-12.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-12.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-12.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-12.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-12.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-12.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-12.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-12.1/sys/netinet/
H A Daccf_http.c53 int max, char *cmp);
114 for (; offset < m->m_len; offset++, cmp++) { in mbufstrcmp()
115 if (*cmp == '\0') in mbufstrcmp()
117 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrcmp()
120 if (*cmp == '\0') in mbufstrcmp()
144 if (max == 0 || *cmp == '\0') in mbufstrncmp()
146 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrncmp()
149 if (max == 0 || *cmp == '\0') in mbufstrncmp()
170 char *cmp; in sohashttpget() local
179 STRSETUP(cmp, cmplen, "ET "); in sohashttpget()
[all …]
/freebsd-12.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-12.1/contrib/compiler-rt/lib/builtins/hexagon/
H A Ddfaddsub.S112 A_POS = cmp.gt(AH,#-1)
144 p0 = cmp.eq(ATMPH,#0)
145 p0 = cmp.eq(ATMPL,#0)
174 p0 = cmp.eq(TMP,#2)
196 p0 = cmp.eq(ATMPH,#0)
197 p0 = cmp.eq(ATMPL,#0)
213 p0 = cmp.gt(EXPB,#0)
317 p0 = cmp.gt(AH,#-1)
318 p1 = cmp.gt(BH,#-1)
369 p0 = cmp.eq(A,B)
[all …]
/freebsd-12.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"
102 cmp ${COPY} "$GLOBMETACOPY" || \
109 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after get"
116 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"
123 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after get"
130 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"
137 cmp $DATA ${COPY} || fail "corrupted copy after put"
157 cmp $DATA ${COPY}.dd/$DATANAME || fail "corrupted copy after put"
164 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put"
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h179 u8 *cmp, in atomic_compare_exchange_strong() argument
184 u8 cmpv = *cmp; in atomic_compare_exchange_strong()
200 *cmp = prev; in atomic_compare_exchange_strong()
208 uptr cmpv = *cmp; in atomic_compare_exchange_strong()
213 *cmp = prev; in atomic_compare_exchange_strong()
221 u16 cmpv = *cmp; in atomic_compare_exchange_strong()
226 *cmp = prev; in atomic_compare_exchange_strong()
234 u32 cmpv = *cmp; in atomic_compare_exchange_strong()
239 *cmp = prev; in atomic_compare_exchange_strong()
247 u64 cmpv = *cmp; in atomic_compare_exchange_strong()
[all …]
H A Dsanitizer_lfstack.h37 u64 cmp = atomic_load(&head_, memory_order_relaxed); in Push() local
39 u64 cnt = (cmp & kCounterMask) + kCounterInc; in Push()
41 p->next = (T*)(uptr)(cmp & kPtrMask); in Push()
42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() local
51 T *cur = (T*)(uptr)(cmp & kPtrMask); in Pop()
55 u64 cnt = (cmp & kCounterMask); in Pop()
57 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
/freebsd-12.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-12.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-12.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-12.1/usr.bin/cmp/tests/
H A Dcmp_test2.sh53 atf_check -s exit:0 cmp a a.lnk
54 atf_check -s exit:0 cmp a.lnk a
55 atf_check -s not-exit:0 -o ignore cmp a b.lnk
56 atf_check -s not-exit:0 -o ignore cmp b.lnk a
57 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a a.lnk
58 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a.lnk a
59 atf_check -s exit:0 cmp -h a.lnk a2.lnk
60 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a.lnk adup.lnk
/freebsd-12.1/lib/libc/stdlib/
H A Dqsort.c69 #define CMP(t, x, y) (cmp((t), (x), (y)))
71 #define CMP(t, x, y) (cmp((x), (y)))
92 qsort(void *a, size_t n, size_t es, cmp_t *cmp) in qsort_r()
117 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); in qsort_r()
118 pm = med3(pm - d, pm, pm + d, cmp, thunk); in qsort_r()
119 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); in qsort_r()
121 pm = med3(pl, pm, pn, cmp, thunk); in qsort_r()
172 qsort_r(a, d1 / es, es, thunk, cmp); in qsort_r()
174 qsort(a, d1 / es, es, cmp); in qsort_r()
188 qsort_r(pn - d2, d2 / es, es, thunk, cmp); in qsort_r()
[all …]
/freebsd-12.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 …]
/freebsd-12.1/contrib/gcc/config/arm/
H A Dlib1funcs.asm713 cmp divisor, #0
733 cmp r0, r1
782 cmp divisor, #0
847 cmp work, #0
856 cmp r1, #0
864 cmp r3, r1
871 cmp ip, #0
886 cmp ip, #0
942 cmp work, #0
951 cmp r1, #0
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.c59 slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) in slist_add()
64 if (cmp((*nextp)->l_data, data) > 0) in slist_add()
79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), in list_remove()
85 if (!cmp) in list_remove()
86 cmp = list_defcmp; in list_remove()
89 if (cmp(le->l_data, data, private) == 0) { in list_remove()
156 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *)) in list_find()
159 if (cmp(list->l_data, tmpl) == 0) in list_find()
190 slist_merge(list_t **list1p, list_t *list2, int (*cmp)(void *, void *)) in slist_merge()
202 if (cmp(list1->l_data, list2->l_data) > 0) { in slist_merge()

12345678910>>...33