/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | x86_64-gcc.c | 309 /* mul_add_c(a,b,c0,c1,c2) -- c+=a*b for three word number c=(c2,c1,c0) */ 310 /* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) */ 311 /* sqr_add_c(a,i,c0,c1,c2) -- c+=a[i]^2 for three word number c=(c2,c1,c0) */ 313 * sqr_add_c2(a,i,c0,c1,c2) -- c+=2*a[i]*a[j] for three word number 314 * c=(c2,c1,c0) 323 # define mul_add_c(a,b,c0,c1,c2) do { \ 328 c1 += hi; c2 += (c1<hi)?1:0; \ 331 # define mul_add_c2(a,b,c0,c1,c2) do { \ 336 c1 += tt; c2 += (c1<tt)?1:0; \ 338 c1 += hi; c2 += (c1<hi)?1:0; \ [all …]
|
H A D | s390x.S | 365 #define c2 %r5 macro 368 #define mul_add_c(ai,bi,c1,c2,c3) \ argument 372 alcgr c2,%r6; \ 383 lghi c2,0 387 mul_add_c(0,0,c1,c2,c3); 391 mul_add_c(0,1,c2,c3,c1); 392 mul_add_c(1,0,c2,c3,c1); 393 stg c2,1*8(%r2) 394 lghi c2,0 396 mul_add_c(2,0,c3,c1,c2); [all …]
|
H A D | sparcv8.S | 568 umul a_0,b_0,c_1 !=!mul_add_c(a[0],b[0],c1,c2,c3); 573 umul a_0,b_1,t_1 !=!mul_add_c(a[0],b[1],c2,c3,c1); 580 umul a_1,b_0,t_1 !mul_add_c(a[1],b[0],c2,c3,c1); 584 st c_2,rp(1) !r[1]=c2; 587 umul a_2,b_0,t_1 !mul_add_c(a[2],b[0],c3,c1,c2); 593 umul a_1,b_1,t_1 !mul_add_c(a[1],b[1],c3,c1,c2); 599 umul a_0,b_2,t_1 !mul_add_c(a[0],b[2],c3,c1,c2); 606 umul a_0,b_3,t_1 !mul_add_c(a[0],b[3],c1,c2,c3); 611 umul a_1,b_2,t_1 !=!mul_add_c(a[1],b[2],c1,c2,c3); 617 umul a_2,b_1,t_1 !mul_add_c(a[2],b[1],c1,c2,c3); [all …]
|
H A D | sparcv8plus.S | 678 mulx a_0,b_0,t_1 !mul_add_c(a[0],b[0],c1,c2,c3); 683 mulx a_0,b_1,t_1 !mul_add_c(a[0],b[1],c2,c3,c1); 689 mulx a_1,b_0,t_1 !=!mul_add_c(a[1],b[0],c2,c3,c1); 694 stuw t_1,rp(1) !r[1]=c2; 697 mulx a_2,b_0,t_1 !mul_add_c(a[2],b[0],c3,c1,c2); 703 mulx a_1,b_1,t_1 !mul_add_c(a[1],b[1],c3,c1,c2); 708 mulx a_0,b_2,t_1 !mul_add_c(a[0],b[2],c3,c1,c2); 716 mulx a_0,b_3,t_1 !mul_add_c(a[0],b[3],c1,c2,c3); 721 mulx a_1,b_2,t_1 !=!mul_add_c(a[1],b[2],c1,c2,c3); 726 mulx a_2,b_1,t_1 !mul_add_c(a[2],b[1],c1,c2,c3); [all …]
|
H A D | ppc.pl | 287 # r9,r10, r11 are the equivalents of c1,c2, c3. 294 #sqr_add_c(a,0,c1,c2,c3) 298 #to add since c1=c2=c3=0. 303 # sqr_add_c2(a,1,0,c2,c3,c1); 317 $ST r10,`1*$BNSZ`(r3) #r[1]=c2; 318 #sqr_add_c(a,1,c3,c1,c2) 324 #sqr_add_c2(a,2,0,c3,c1,c2) 337 #sqr_add_c2(a,3,0,c1,c2,c3); 348 #sqr_add_c2(a,2,1,c1,c2,c3); 361 #sqr_add_c(a,2,c2,c3,c1); [all …]
|
H A D | mips.pl | 1097 $MULTU ($a_0,$b_0) # mul_add_c(a[0],b[0],c1,c2,c3); 1107 $MULTU ($a_0,$b_1) # mul_add_c(a[0],b[1],c2,c3,c1); 1116 $MULTU ($a_1,$b_0) # mul_add_c(a[1],b[0],c2,c3,c1); 1125 $MULTU ($a_2,$b_0) # mul_add_c(a[2],b[0],c3,c1,c2); 1129 $ST $c_2,$BNSZ($a0) # r[1]=c2; 1135 $MULTU ($a_1,$b_1) # mul_add_c(a[1],b[1],c3,c1,c2); 1142 $MULTU ($a_0,$b_2) # mul_add_c(a[0],b[2],c3,c1,c2); 1150 $MULTU ($a_0,$b_3) # mul_add_c(a[0],b[3],c1,c2,c3); 1161 $MULTU ($a_1,$b_2) # mul_add_c(a[1],b[2],c1,c2,c3); 1169 $MULTU ($a_2,$b_1) # mul_add_c(a[2],b[1],c1,c2,c3); [all …]
|
H A D | co-586.pl | 28 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 48 &adc($c2,0); 56 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 77 &adc($c2,0); 85 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 104 &adc($c2,0); 109 &adc($c2,0); 118 local($a,$b,$c0,$c1,$c2); 126 $c2="ebp"; 158 &xor($c2,$c2) if ($j == $bs); [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_asm.c | 440 /* mul_add_c(a,b,c0,c1,c2) -- c+=a*b for three word number c=(c2,c1,c0) */ 441 /* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) */ 442 /* sqr_add_c(a,i,c0,c1,c2) -- c+=a[i]^2 for three word number c=(c2,c1,c0) */ 444 * sqr_add_c2(a,i,c0,c1,c2) -- c+=2*a[i]*a[j] for three word number 445 * c=(c2,c1,c0) 453 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 459 c1 = (c1+hi)&BN_MASK2; c2 += (c1<hi); \ 462 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 468 c1 = (c1+hi)&BN_MASK2; c2 += (c1<hi); \ 472 c1 = (c1+hi)&BN_MASK2; c2 += (c1<hi); \ [all …]
|
/freebsd/bin/sh/tests/expansion/ |
H A D | trim8.0 | 8 c2=$(printf '\303\244') 14 s=$c1$c2$c3$c4 33 testcase 'set -- "${s#$c2}"' "1|$s" 35 testcase 'set -- "${s#$c1}"' "1|$c2$c3$c4" 36 testcase 'set -- "${s#$c1$c2}"' "1|$c3$c4" 37 testcase 'set -- "${s#$c1$c2$c3}"' "1|$c4" 38 testcase 'set -- "${s#$c1$c2$c3$c4}"' "1|" 39 testcase 'set -- "${s#?}"' "1|$c2$c3$c4" 44 testcase 'set -- "${s%$c4}"' "1|$c1$c2$c3" 45 testcase 'set -- "${s%$c3$c4}"' "1|$c1$c2" [all …]
|
H A D | plus-minus6.0 | 16 c2=$(printf \\"$(printf %o@ "$i2")") 17 c2=${c2%@} 21 case $c2 in 22 [\'$nl'$}();&|\"`']) c2=N 25 command eval "set -- \${\$+$c2$c$c2$c$c2}" 26 if [ "$#" -ne 3 ] || [ "$1" != "$c2" ] || [ "$2" != "$c2" ] || 27 [ "$3" != "$c2" ]; then
|
H A D | ifs2.0 | 12 c2=$(printf \\"$(printf %o@ "$i2")") 13 c2=${c2%@} 15 set -- $c2$c$c2$c$c2 16 if [ "$#" -ne 3 ] || [ "$1" != "$c2" ] || [ "$2" != "$c2" ] || 17 [ "$3" != "$c2" ]; then
|
H A D | ifs3.0 | 10 c2=$(printf \\"$(printf %o "$i2")") 12 set -- $c2$c$c2$c$c2 13 if [ "$#" -ne 3 ] || [ "$1" != "$c2" ] || [ "$2" != "$c2" ] || 14 [ "$3" != "$c2" ]; then
|
/freebsd/tools/test/sort/bigtest/ |
H A D | kcmd | 211 for c2 in 0 1 2 3 4 5 10 15 20 25 30 213 echo ${LANG} ${KEYS} ${f1} ${c1} ${f2} ${c2} 215 ${BSDSORT} ${KEYS} +${f1}.${c1} -${f2}.${c2} ${INPUT_FILE} -o siks/sik1 218 echo ${LANG} ${KEYS} +${f1}.${c1} -${f2}.${c2} crash >> test.log 221 ${GNUSORT} ${KEYS} +${f1}.${c1} -${f2}.${c2} ${INPUT_FILE} -o siks/sik2 222 if ! ${FILECMP} siks/sik1 siks/sik2 >siks/res.${f1}.${c1}.${f2}.${c2} 2>&1 ; then 223 echo ${LANG} ${KEYS} +${f1}.${c1} -${f2}.${c2} error +- >> test.log 225 ${BSDSORT} -c ${KEYS} +${f1}.${c1} -${f2}.${c2} siks/sik1 228 echo ${LANG} ${KEYS} +${f1}.${c1} -${f2}.${c2} -c error +- >> test.log 230 rm siks/res.${f1}.${c1}.${f2}.${c2} [all …]
|
/freebsd/bin/sh/tests/builtins/ |
H A D | case6.0 | 8 c2=$(printf '\366') 12 # $c2$c3$c4 form one utf-8 character 15 case $c1$c2$c3$c4 in 23 case $c1$c2$c3$c4 in 24 $c1$c2$c3$c4) ;; 28 case $c1$c2$c3$c4 in 29 "$c1$c2$c3$c4") ;; 33 case $c1$c2$c3$c4 in 38 case $c1$c2$c3$c4 in 39 [!$c2][!b][!c][!d]) ;; [all …]
|
H A D | case5.0 | 8 c2=$(printf '\303\244') 15 case $c1$c2$c3$c4 in 23 case $c1$c2$c3$c4 in 24 $c1$c2$c3$c4) ;; 28 case $c1$c2$c3$c4 in 29 "$c1$c2$c3$c4") ;; 33 case $c1$c2$c3$c4 in 38 case $c1.$c2.$c3.$c4 in 43 case $c1$c2$c3$c4 in 48 case $c1$c2$c3$c4 in [all …]
|
/freebsd/usr.sbin/sa/ |
H A D | main.c | 389 struct cmdinfo c1, c2; in cmp_usrsys() local 393 memcpy(&c2, d2->data, sizeof(c2)); in cmp_usrsys() 396 t2 = c2.ci_utime + c2.ci_stime; in cmp_usrsys() 401 return (cmp_comm(c1.ci_comm, c2.ci_comm)); in cmp_usrsys() 410 struct cmdinfo c1, c2; in cmp_avgusrsys() local 414 memcpy(&c2, d2->data, sizeof(c2)); in cmp_avgusrsys() 419 t2 = c2.ci_utime + c2.ci_stime; in cmp_avgusrsys() 420 t2 /= (double) (c2.ci_calls ? c2.ci_calls : 1); in cmp_avgusrsys() 425 return (cmp_comm(c1.ci_comm, c2.ci_comm)); in cmp_avgusrsys() 434 struct cmdinfo c1, c2; in cmp_dkio() local [all …]
|
/freebsd/contrib/mtree/ |
H A D | specspec.c | 196 NODE *c1, *c2, *n1, *n2; in walk_in_the_forest() local 206 c2 = t2->child; in walk_in_the_forest() 208 c2 = NULL; in walk_in_the_forest() 209 while (c1 != NULL || c2 != NULL) { in walk_in_the_forest() 213 if (c2 != NULL) in walk_in_the_forest() 214 n2 = c2->next; in walk_in_the_forest() 215 if (c1 != NULL && c2 != NULL) { in walk_in_the_forest() 216 if (c1->type != F_DIR && c2->type == F_DIR) { in walk_in_the_forest() 217 n2 = c2; in walk_in_the_forest() 218 c2 = NULL; in walk_in_the_forest() [all …]
|
/freebsd/usr.bin/sort/ |
H A D | vsort.c | 115 cmp_chars(wchar_t c1, wchar_t c2) in cmp_chars() argument 118 if (c1 == c2) in cmp_chars() 123 if (c2 == L'~') in cmp_chars() 127 return ((isdigit_clocale(c2) || !c2) ? 0 : -1); in cmp_chars() 129 if (isdigit_clocale(c2) || !c2) in cmp_chars() 133 return ((isalpha_clocale(c2)) ? ((int) c1 - (int) c2) : -1); in cmp_chars() 135 if (isalpha_clocale(c2)) in cmp_chars() 138 return ((int) c1 - (int) c2); in cmp_chars() 153 wchar_t c1, c2; in cmpversions() local 156 c2 = (si2 < se2) ? bws_get_iter_value(si2) : 0; in cmpversions() [all …]
|
/freebsd/lib/libc/iconv/ |
H A D | citrus_bcs.c | 45 int c1, c2; in _citrus_bcs_strcasecmp() local 47 c1 = c2 = 1; in _citrus_bcs_strcasecmp() 49 while (c1 && c2 && c1 == c2) { in _citrus_bcs_strcasecmp() 51 c2 = _bcs_toupper(*str2++); in _citrus_bcs_strcasecmp() 54 return ((c1 == c2) ? 0 : ((c1 > c2) ? 1 : -1)); in _citrus_bcs_strcasecmp() 64 int c1, c2; in _citrus_bcs_strncasecmp() local 66 c1 = c2 = 1; in _citrus_bcs_strncasecmp() 68 while (c1 && c2 && c1 == c2 && sz != 0) { in _citrus_bcs_strncasecmp() 70 c2 = _bcs_toupper(*str2++); in _citrus_bcs_strncasecmp() 74 return ((c1 == c2) ? 0 : ((c1 > c2) ? 1 : -1)); in _citrus_bcs_strncasecmp()
|
/freebsd/sys/libkern/ |
H A D | iconv_xlat16.c | 121 uint16_t c1, c2, ctmp; in iconv_xlat16_conv() local 135 c2 = *src & 0xff; in iconv_xlat16_conv() 138 c1 = c2 & 0x80 ? c1 | 0x100 : c1; in iconv_xlat16_conv() 139 c2 = c2 & 0x80 ? c2 & 0x7f : c2; in iconv_xlat16_conv() 141 if (ir > 1 && dp->d_table[c1] && dp->d_table[c1][c2]) { in iconv_xlat16_conv() 156 c2 = C2I2(ctmp); in iconv_xlat16_conv() 172 code = dp->d_table[c1][c2]; in iconv_xlat16_conv() 187 c2 = C2I2(ctmp << 8); in iconv_xlat16_conv() 191 code = dp->d_table[c1][c2]; in iconv_xlat16_conv() 302 int c1, c2, out; in iconv_xlat16_tolower() local [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | secretstream.c | 13 unsigned char *c1, *c2, *c3, *csave; in main() local 36 c2 = (unsigned char *) in main() 75 (state, c2, NULL, m2, m2_len, ad, 0, 0); in main() 98 c2, m2_len + crypto_secretstream_xchacha20poly1305_ABYTES, NULL, 0); in main() 127 c2, m2_len + crypto_secretstream_xchacha20poly1305_ABYTES, NULL, 0); in main() 133 (state, m2, NULL, &tag, c2, in main() 138 (state, m2, NULL, &tag, c2, 0, NULL, 0); in main() 144 (state, m2, NULL, &tag, c2, in main() 156 (state, c2, NULL, m2, m2_len, NULL, 0, 0); in main() 167 c2, m2_len + crypto_secretstream_xchacha20poly1305_ABYTES, NULL, 0); in main() [all …]
|
/freebsd/contrib/bzip2/ |
H A D | blocksort.c | 355 UChar c1, c2; in mainGtU() local 360 c1 = block[i1]; c2 = block[i2]; in mainGtU() 361 if (c1 != c2) return (c1 > c2); in mainGtU() 364 c1 = block[i1]; c2 = block[i2]; in mainGtU() 365 if (c1 != c2) return (c1 > c2); in mainGtU() 368 c1 = block[i1]; c2 = block[i2]; in mainGtU() 369 if (c1 != c2) return (c1 > c2); in mainGtU() 372 c1 = block[i1]; c2 = block[i2]; in mainGtU() 373 if (c1 != c2) return (c1 > c2); in mainGtU() 376 c1 = block[i1]; c2 = block[i2]; in mainGtU() [all …]
|
/freebsd/crypto/openssl/crypto/modes/asm/ |
H A D | ghash-sparcv9.pl | 360 ($Hhl,$Hlo,$Hhi,$Xlo,$Xhi,$xE1,$sqr, $C0,$C1,$C2,$C3,$V)= 416 xor $Xlo,$Xhi,$C2 ! Karatsuba pre-processing 417 xmulx $C2,$Hhl,$C1 419 xmulxhi $C2,$Hhl,$C2 429 xor $Xlo,$C2,$C2 431 xor $C3,$C2,$C2 433 xor $Xhi,$C2,$C2 437 xor $C0,$C2,$C2 442 xor $Xlo,$C2,$C2 443 xor $C0,$C2,$C2 [all …]
|
/freebsd/sys/arm/include/ |
H A D | sysreg.h | 45 #define CP14_DBGDSCRext_V7(rr) p14, 0, rr, c0, c2, 2 /* Debug Status and Ctrl Register v7 */ 73 #define CP15_ID_ISAR0(rr) p15, 0, rr, c0, c2, 0 /* Instruction Set Attribute Register 0 */ 74 #define CP15_ID_ISAR1(rr) p15, 0, rr, c0, c2, 1 /* Instruction Set Attribute Register 1 */ 75 #define CP15_ID_ISAR2(rr) p15, 0, rr, c0, c2, 2 /* Instruction Set Attribute Register 2 */ 76 #define CP15_ID_ISAR3(rr) p15, 0, rr, c0, c2, 3 /* Instruction Set Attribute Register 3 */ 77 #define CP15_ID_ISAR4(rr) p15, 0, rr, c0, c2, 4 /* Instruction Set Attribute Register 4 */ 78 #define CP15_ID_ISAR5(rr) p15, 0, rr, c0, c2, 5 /* Instruction Set Attribute Register 5 */ 108 * CP15 C2 registers 110 #define CP15_TTBR0(rr) p15, 0, rr, c2, c0, 0 /* Translation Table Base Register 0 */ 111 #define CP15_TTBR1(rr) p15, 0, rr, c2, c0, 1 /* Translation Table Base Register 1 */ [all …]
|
/freebsd/usr.bin/fortune/strfile/ |
H A D | strfile.c | 359 stable_collate_range_cmp(int c1, int c2) in stable_collate_range_cmp() argument 365 s2[0] = c2; in stable_collate_range_cmp() 368 return (c1 - c2); in stable_collate_range_cmp() 379 int c1, c2, n1, n2, r; in cmp_str() local 388 c2 = (unsigned char)p2->first; in cmp_str() 389 if ((r = stable_collate_range_cmp(c1, c2)) != 0) in cmp_str() 399 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF) in cmp_str() 400 SET_N(n2, c2); in cmp_str() 402 while (!IS_END(c1, n1) && !IS_END(c2, n2)) { in cmp_str() 406 if (isupper(c2)) in cmp_str() [all …]
|