| /freebsd-12-stable/contrib/diff/src/ |
| D | diff.c | 1038 struct comparison cmp; in compare_files() local 1039 #define DIR_P(f) (S_ISDIR (cmp.file[f].stat.st_mode) != 0) in compare_files() 1064 memset (cmp.file, 0, sizeof cmp.file); in compare_files() 1065 cmp.parent = parent; in compare_files() 1074 cmp.file[0].desc = name0 == 0 ? NONEXISTENT : UNOPENED; in compare_files() 1075 cmp.file[1].desc = name1 == 0 ? NONEXISTENT : UNOPENED; in compare_files() 1088 cmp.file[0].name = name0; in compare_files() 1089 cmp.file[1].name = name1; in compare_files() 1093 cmp.file[0].name = free0 in compare_files() 1095 cmp.file[1].name = free1 in compare_files() [all …]
|
| D | analyze.c | 792 diff_2_files (struct comparison *cmp) in diff_2_files() argument 807 if (read_files (cmp->file, files_can_be_treated_as_binary)) in diff_2_files() 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() 826 buffer_lcm (STAT_BLOCKSIZE (cmp->file[0].stat), in diff_2_files() 827 STAT_BLOCKSIZE (cmp->file[1].stat), 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() [all …]
|
| 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-12-stable/sys/libkern/arm/ |
| D | divsi3.S | 62 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 197 cmp r1, r0, lsl #6 199 cmp r1, r0, lsl #7 [all …]
|
| /freebsd-12-stable/lib/libc/arm/gen/ |
| D | divsi3.S | 60 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 191 cmp r1, r0, lsl #6 193 cmp r1, r0, lsl #7 [all …]
|
| /freebsd-12-stable/usr.bin/cmp/tests/ |
| D | cmp_test2.sh | 55 atf_check -s exit:0 cmp a a.lnk 56 atf_check -s exit:0 cmp a.lnk a 57 atf_check -s not-exit:0 -o ignore cmp a b.lnk 58 atf_check -s not-exit:0 -o ignore cmp b.lnk a 59 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a a.lnk 60 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a.lnk a 61 atf_check -s exit:0 cmp -h a.lnk a2.lnk 62 atf_check -s not-exit:0 -o ignore -e ignore cmp -h a.lnk adup.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 [all …]
|
| /freebsd-12-stable/sys/cddl/compat/opensolaris/sys/ |
| D | atomic.h | 52 extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp, 96 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t newval) in atomic_cas_32() argument 99 (void)atomic_fcmpset_32(target, &cmp, newval); in atomic_cas_32() 101 uint32_t expected = cmp; in atomic_cas_32() 104 if (atomic_fcmpset_32(target, &cmp, newval)) in atomic_cas_32() 106 } while (cmp == expected); in atomic_cas_32() 108 return (cmp); in atomic_cas_32() 129 atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t newval) in atomic_cas_64() argument 132 (void)atomic_fcmpset_64(target, &cmp, newval); in atomic_cas_64() 134 uint64_t expected = cmp; in atomic_cas_64() [all …]
|
| /freebsd-12-stable/usr.bin/tail/tests/ |
| D | tail_test.sh | 38 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-stable/crypto/openssl/crypto/ |
| D | x86cpuid.pl | 41 &cmp ("ebx",0x756e6547); # "Genu" 44 &cmp ("edx",0x49656e69); # "ineI" 47 &cmp ("ecx",0x6c65746e); # "ntel" 52 &cmp ("ebx",0x68747541); # "Auth" 55 &cmp ("edx",0x69746E65); # "enti" 58 &cmp ("ecx",0x444D4163); # "cAMD" 66 &cmp ("eax",0x80000001); 73 &cmp ("esi",0x80000008); 88 &cmp ("ebx","esi"); 94 &cmp ("edi",4); [all …]
|
| /freebsd-12-stable/contrib/netbsd-tests/include/sys/ |
| D | t_socket.c | 32 struct cmsghdr *cmp; in ATF_TC_BODY() local 43 cmp = malloc(CMSG_SPACE(sizeof(int))); in ATF_TC_BODY() 48 cmp->cmsg_level = SOL_SOCKET; in ATF_TC_BODY() 49 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY() 50 cmp->cmsg_len = CMSG_LEN(sizeof(int)); in ATF_TC_BODY() 56 msg.msg_control = cmp; in ATF_TC_BODY() 64 *(int *)CMSG_DATA(cmp) = 0x12345678; in ATF_TC_BODY() 83 struct cmsghdr *cmp; in ATF_TC_BODY() local 132 cmp = malloc(CMSG_SPACE(sizeof(int))); in ATF_TC_BODY() 137 cmp->cmsg_level = SOL_SOCKET; in ATF_TC_BODY() [all …]
|
| /freebsd-12-stable/contrib/sendmail/libsm/ |
| D | t-qic.c | 60 int cmp; local 71 cmp = strcmp(line_in, line_back); 72 SM_TEST(exp == cmp); 73 if (cmp != exp && !SmTestVerbose) 78 fprintf(stderr, "cmp=%d\n", cmp); 86 fprintf(stderr, "cmp=%d\n", cmp); 107 int i, los, cmp, mode; local 174 cmp = strcmp(inout[i].qic_out, obp); 175 SM_TEST(inout[i].qic_exp == cmp); 176 if (inout[i].qic_exp != cmp && !SmTestVerbose) [all …]
|
| /freebsd-12-stable/lib/libc/db/test/ |
| D | run.test | 75 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-stable/usr.bin/compress/tests/ |
| D | compress_test.sh | 42 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 177 atf_check -s exit:1 cmp -s file1.Z expectfile1 [all …]
|
| /freebsd-12-stable/sys/netinet/ |
| D | accf_http.c | 50 static int mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp); 53 int max, char *cmp); 92 mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp) in mbufstrcmp() argument 101 for (; offset < m->m_len; offset++, cmp++) { in mbufstrcmp() 102 if (*cmp == '\0') in mbufstrcmp() 104 else if (*cmp != *(mtod(m, char *) + offset)) in mbufstrcmp() 107 if (*cmp == '\0') in mbufstrcmp() 121 mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset, int max, char *cmp) in mbufstrncmp() argument 130 for (; offset < m->m_len; offset++, cmp++, max--) { in mbufstrncmp() 131 if (max == 0 || *cmp == '\0') in mbufstrncmp() [all …]
|
| /freebsd-12-stable/crypto/openssh/regress/ |
| D | sftp-cmds.sh | 72 cmp $DATA ${COPY} || fail "corrupted copy after get" 78 cmp $DATA ${COPY} || fail "corrupted copy after get" 85 cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" 93 cmp ${COPY} "$SPACECOPY" || fail "corrupted copy after get with spaces" 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" [all …]
|
| /freebsd-12-stable/crypto/openssl/ssl/record/ |
| 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-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| 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() 195 uptr *cmp, in atomic_compare_exchange_strong() argument 198 uptr cmpv = *cmp; in atomic_compare_exchange_strong() 203 *cmp = prev; in atomic_compare_exchange_strong() 208 u16 *cmp, in atomic_compare_exchange_strong() argument 211 u16 cmpv = *cmp; in atomic_compare_exchange_strong() 216 *cmp = prev; in atomic_compare_exchange_strong() 221 u32 *cmp, in atomic_compare_exchange_strong() argument [all …]
|
| D | sanitizer_lfstack.h | 36 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-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
| D | dfaddsub.S | 87 BIGB = cmp.gtu(EXPB,EXPA) // Is B substantially greater than A? 111 A_POS = cmp.gt(AH,#-1) 125 NO_STICKIES = cmp.eq(ATMP2,ZERO) 128 B_POS = cmp.gt(BH,#-1) 136 p0 = cmp.gtu(EXPA,ZTMPH) // must be pretty high in case of large cancellation 137 p0 = !cmp.gtu(EXPA,ZTMPL) 143 p0 = cmp.eq(ATMPH,#0) 144 p0 = cmp.eq(ATMPL,#0) 173 p0 = cmp.eq(TMP,#2) 194 p0 = cmp.eq(ATMPH,#0) [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/bn/asm/ |
| D | ia64.S | 208 (p19) cmp.ltu.unc p56,p0=r40,r38 } 213 (p58) cmp.eq.or p57,p0=-1,r41 // (p20) 261 (p19) cmp.gtu.unc p56,p0=r40,r38 } 266 (p58) cmp.eq.or p57,p0=0,r41 // (p20) 341 (p28) cmp.ltu p54,p50=r41,r39 } 452 (p40) cmp.ltu p41,p39=r39,r35 } // (p27) 454 (p42) cmp.leu p41,p39=r39,r35 // (p27) 481 { .mii; cmp.le p6,p0=r34,r0 727 { .mfi; cmp.ltu p6,p0=r25,r24 751 cmp.ltu p7,p0=r17,r16 } [all …]
|
| /freebsd-12-stable/crypto/openssl/include/openssl/ |
| D | objects.h | 70 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))) 148 # define OBJ_bsearch_ex(type1,key,type2,base,num,cmp,flags) \ argument 151 ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \ [all …]
|
| /freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/ |
| D | rb.h | 374 int cmp = (a_cmp)(node, tnode); \ 375 if (cmp < 0) { \ 378 } else if (cmp > 0) { \ 399 int cmp = (a_cmp)(node, tnode); \ 400 if (cmp < 0) { \ 402 } else if (cmp > 0) { \ 416 int cmp; \ 419 && (cmp = (a_cmp)(key, ret)) != 0) { \ 420 if (cmp < 0) { \ 434 int cmp = (a_cmp)(key, tnode); \ [all …]
|
| /freebsd-12-stable/lib/libc/stdlib/ |
| D | qsort.c | 69 #define CMP(t, x, y) (cmp((t), (x), (y))) 71 #define CMP(t, x, y) (cmp((x), (y))) 75 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk in med3() argument 88 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) in qsort_r() argument 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() [all …]
|
| /freebsd-12-stable/sys/contrib/zlib/contrib/gcc_gvmat64/ |
| D | gvmat64.S | 223 cmp edi, esi 245 cmp r10d, eax 298 cmp bx,word ptr [rsi + r8 - 1] 307 cmp r8d, ebp 318 cmp bx,word ptr [rsi + r8 - 1] 327 cmp r8d, ebp 337 cmp bx,word ptr [rsi + r8 - 1] 346 cmp r8d, ebp 357 cmp bx,word ptr [rsi + r8 - 1] 388 cmp r8d, ebp [all …]
|
| /freebsd-12-stable/contrib/gcc/config/arm/ |
| D | lib1funcs.asm | 357 cmp \dividend, \divisor, lsl #shift 388 1: cmp \divisor, #0x10000000 396 1: cmp \divisor, #0x80000000 407 1: cmp \dividend, \divisor 410 cmp \dividend, \divisor, lsr #1 413 cmp \dividend, \divisor, lsr #2 416 cmp \dividend, \divisor, lsr #3 419 cmp \dividend, #0 @ Early termination? 437 cmp \divisor, #(1 << 16) 442 cmp \divisor, #(1 << 8) [all …]
|