Home
last modified time | relevance | path

Searched full:b2 (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_memmem.c61 char b2[] = "0123456789"; variable
81 expect(memmem(b2, lb2, p0, lp0) == NULL); in ATF_TC_BODY()
84 expect(memmem(b2, lb2, p0, lp0) == b2); in ATF_TC_BODY()
90 expect(memmem(b2, lb2, p1, lp1) == b2); in ATF_TC_BODY()
91 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4)); in ATF_TC_BODY()
92 expect(memmem(b2, lb2, p3, lp3) == (b2 + 7)); in ATF_TC_BODY()
94 expect(memmem(b2, lb2, p5, lp5) == b2); in ATF_TC_BODY()
95 expect(memmem(b2, lb2, p6, lp6) == (b2 + 9)); in ATF_TC_BODY()
97 expect(memmem(b2, lb2, p4, lp4) == NULL); in ATF_TC_BODY()
98 expect(memmem(b2, lb2, p7, lp7) == NULL); in ATF_TC_BODY()
[all …]
/freebsd/contrib/bc/vs/
H A Dbcl.sln6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bcl", "bcl.vcxproj", "{76B451C9-72BF-45B2-B78D…
18 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x64.ActiveCfg = Debug|x64
19 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x64.Build.0 = Debug|x64
20 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x86.ActiveCfg = Debug|Win32
21 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x86.Build.0 = Debug|Win32
22 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x64.ActiveCfg = ReleaseMD|x64
23 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x64.Build.0 = ReleaseMD|x64
24 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x86.ActiveCfg = ReleaseMD|Win32
25 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x86.Build.0 = ReleaseMD|Win32
26 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dbndiv.c26 static BIGNUM *b2; variable
34 b2 = BN_new(); in FuzzerInitialize()
50 /* s1 and s2 will be the signs for b1 and b2. */ in FuzzerTestOneInput()
58 * b2. in FuzzerTestOneInput()
74 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput()
75 BN_set_negative(b2, s2); in FuzzerTestOneInput()
78 if (BN_is_zero(b2)) { in FuzzerTestOneInput()
83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
87 success = (BN_is_negative(b3) != BN_is_negative(b2) || BN_is_zero(b3)) in FuzzerTestOneInput()
90 success = (BN_is_negative(b3) == BN_is_negative(b2) || BN_is_zero(b3)) in FuzzerTestOneInput()
[all …]
H A Dbignum.c37 BIGNUM *b2; in FuzzerTestOneInput() local
43 b2 = BN_new(); in FuzzerTestOneInput()
50 * bytes to choose lengths, which generate b1, b2 and b3. Use three bits in FuzzerTestOneInput()
68 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput()
78 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput()
79 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput()
85 BN_print_fp(stdout, b2); in FuzzerTestOneInput()
98 BN_free(b2); in FuzzerTestOneInput()
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-c64x.pl70 # | B2 | B3 | B3:B2 are preserved by KeccakF1600_int
106 || STDW B3:B2,*SP[4]
375 ||[!A0] LDDW *SP[4], RA:B2
416 || ADD 4,A4,B2
419 || LDW *B2++[2],B$A[0][0]
421 || LDW *B2++[2],B$A[0][1]
423 || LDW *B2++[2],B$A[0][2]
425 || LDW *B2++[2],B$A[0][3]
427 || LDW *B2++[2],B$A[0][4]
430 || LDW *B2++[2],B$A[1][0]
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Du8.h67 #define VEC8_ROUND_SEQ(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, B4, \ argument
70 VEC8_LINE1(A2, B2, C2, D2); \
74 VEC8_LINE2(A2, B2, C2, D2); \
78 VEC8_LINE3(A2, B2, C2, D2); \
82 VEC8_LINE4(A2, B2, C2, D2); \
86 #define VEC8_ROUND_HALF(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, \ argument
89 VEC8_LINE1(A2, B2, C2, D2); \
91 VEC8_LINE2(A2, B2, C2, D2); \
93 VEC8_LINE3(A2, B2, C2, D2); \
95 VEC8_LINE4(A2, B2, C2, D2); \
[all …]
/freebsd/contrib/netbsd-tests/net/ndp/
H A Dt_ndp.sh168 atf_check -s exit:0 -o ignore rump.ndp -s fc00::10 b2:a0:20:00:00:10
177 #fc00::11 b2:a0:20:00:00:11
178 #fc00::12 b2:a0:20:00:00:12
179 #fc00::13 b2:a0:20:00:00:13
180 #fc00::14 b2:a0:20:00:00:14
181 #fc00::15 b2:a0:20:00:00:15
188 atf_check -s exit:0 -o ignore rump.ndp -s fc00::11 b2:a0:20:00:00:11
189 atf_check -s exit:0 -o ignore rump.ndp -s fc00::12 b2:a0:20:00:00:12
212 atf_check -s exit:0 -o ignore rump.ndp -s fc00::10 b2:a0:20:00:00:10 temp
213 rump.ndp -s fc00::10 b2:a0:20:00:00:10 temp
[all …]
/freebsd/contrib/netbsd-tests/net/arp/
H A Dt_arp.sh200 atf_check -s exit:0 -o ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:10
202 atf_check -s exit:0 -o match:'b2:a0:20:00:00:10' rump.arp -n 10.0.1.10
210 10.0.1.11 b2:a0:20:00:00:11
211 10.0.1.12 b2:a0:20:00:00:12
212 10.0.1.13 b2:a0:20:00:00:13
213 10.0.1.14 b2:a0:20:00:00:14
214 10.0.1.15 b2:a0:20:00:00:15
219 atf_check -s exit:0 -o match:'b2:a0:20:00:00:11' rump.arp -n 10.0.1.11
221 atf_check -s exit:0 -o match:'b2:a0:20:00:00:12' rump.arp -n 10.0.1.12
223 atf_check -s exit:0 -o match:'b2:a0:20:00:00:13' rump.arp -n 10.0.1.13
[all …]
/freebsd/crypto/openssl/crypto/idea/
H A Di_skey.c93 long n1, n2, q, r, b1, b2, t; in inverse() local
96 b2 = 0; in inverse()
100 b2 = 1; in inverse()
107 if (b2 < 0) in inverse()
108 b2 = 0x10001 + b2; in inverse()
112 t = b2; in inverse()
113 b2 = b1 - q * b2; in inverse()
118 return (IDEA_INT)b2; in inverse()
/freebsd/lib/libc/arm/string/
H A Dmemcmp.S155 ldrb r3, [r1, #0x00] /* r3 = b2#0 */
157 ldrb r2, [r1, #0x01] /* r2 = b2#1 */
158 subs r0, r0, r3 /* r0 = b1#0 - b2#0 */
161 subs r0, r3, r2 /* r0 = b1#1 - b2#1 */
162 ldreqb r3, [r1, #0x02] /* r3 = b2#2 */
165 ldrb r2, [r1, #0x03] /* r2 = b2#3 */
166 subs r0, r0, r3 /* r0 = b1#2 - b2#2 */
169 subs r0, r3, r2 /* r0 = b1#3 - b2#3 */
170 ldreqb r3, [r1, #0x04] /* r3 = b2#4 */
173 ldrb r2, [r1, #0x05] /* r2 = b2#5 */
[all …]
/freebsd/usr.bin/mididump/
H A Dmididump.c160 uint8_t event, chan, b1, b2; in main() local
191 b2 = read_byte(fd); in main()
202 chan, b1, buf, NOTE2FREQ(b1), b2); in main()
206 b2 = read_byte(fd); in main()
209 chan, b1, b2); in main()
213 b2 = read_byte(fd); in main()
218 chan, b1, ctls[b1], b2); in main()
220 if (b2 <= 63) in main()
226 if (b2 == 0) in main()
228 else if (b2 == 127) in main()
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-c64xplus.pl41 "A10","B10","A11","B11","A2", "B2", "A13","B13");
121 my ($b0,$b1,$b2,$b3) = (4..7);
128 || ADD @X[$b2],@X[$a2],@X[$a2]
151 || XOR @X[$c2],@X[$b2],@X[$b2]
156 || ROTL @X[$b2],12,@X[$b2]
163 || ADD @Y[$b2],@Y[$a2],@Y[$a2]
168 || ADD @X[$b2],@X[$a2],@X[$a2]
196 || XOR @Y[$c2],@Y[$b2],@Y[$b2]
202 || XOR @X[$c2],@X[$b2],@X[$b2]
210 || ROTL @Y[$b2],12,@Y[$b2]
[all …]
H A Dchacha-ia64.pl103 my ($a2,$b2,$c2,$d2)=map(($_&~3)+(($_+1)&3),($a1,$b1,$c1,$d1));
104 my ($a3,$b3,$c3,$d3)=map(($_&~3)+(($_+1)&3),($a2,$b2,$c2,$d2));
109 add @x[$a2]=@x[$a2],@x[$b2] };;
130 { .mmi; xor @x[$b2]=@x[$b2],@x[$c2]
137 extr.u @y[2]=@x[$b2],20,12
140 dep.z @x[$b2]=@x[$b2],12,20
142 { .mmi; or @x[$b2]=@x[$b2],@y[2]
145 { .mmi; add @x[$a2]=@x[$a2],@x[$b2]
170 xor @x[$b2]=@x[$b2],@x[$c2]
176 extr.u @y[2]=@x[$b2],25,7
[all …]
/freebsd/share/examples/sound/
H A Dmidi.c48 unsigned char raw, type, channel, b1, b2; in main() local
64 if (read(fd, &b2, sizeof(b2)) < sizeof(b2)) in main()
70 channel, b1, b2); in main()
74 channel, b1, b2); in main()
78 channel, b1, b2); in main()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher_superscalar.c78 uint64_t a2, b2, c2, d2; in fletcher_4_superscalar_native() local
85 b2 = ctx->superscalar[1].v[1]; in fletcher_4_superscalar_native()
93 b2 += a2; in fletcher_4_superscalar_native()
95 c2 += b2; in fletcher_4_superscalar_native()
105 ctx->superscalar[1].v[1] = b2; in fletcher_4_superscalar_native()
117 uint64_t a2, b2, c2, d2; in fletcher_4_superscalar_byteswap() local
124 b2 = ctx->superscalar[1].v[1]; in fletcher_4_superscalar_byteswap()
132 b2 += a2; in fletcher_4_superscalar_byteswap()
134 c2 += b2; in fletcher_4_superscalar_byteswap()
144 ctx->superscalar[1].v[1] = b2; in fletcher_4_superscalar_byteswap()
H A Dzfs_fletcher_superscalar4.c92 uint64_t a2, b2, c2, d2; in fletcher_4_superscalar4_native() local
101 b2 = ctx->superscalar[1].v[1]; in fletcher_4_superscalar4_native()
119 b2 += a2; in fletcher_4_superscalar4_native()
123 c2 += b2; in fletcher_4_superscalar4_native()
137 ctx->superscalar[1].v[1] = b2; in fletcher_4_superscalar4_native()
157 uint64_t a2, b2, c2, d2; in fletcher_4_superscalar4_byteswap() local
166 b2 = ctx->superscalar[1].v[1]; in fletcher_4_superscalar4_byteswap()
184 b2 += a2; in fletcher_4_superscalar4_byteswap()
188 c2 += b2; in fletcher_4_superscalar4_byteswap()
202 ctx->superscalar[1].v[1] = b2; in fletcher_4_superscalar4_byteswap()
/freebsd/crypto/openssl/crypto/
H A Dc64xpluscpuid.pl45 || ZERO B2
55 || [B1] STB B2,*B6++[2]
59 || [B1] STB B2,*B6++[2]
63 || [B1] STB B2,*B6++[2]
78 || [B1] STB B2,*B6++[2]
82 || [B1] STB B2,*B6++[2]
86 || [B1] STB B2,*B6++[2]
138 || MVD B0,B2
274 CMPEQ B8,B7,B2
276 [!B2] ADDAW B4,1,B4
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp192 // if (comp1) goto B2 else B3; in serializeICMPCrossBB()
193 // B2: in serializeICMPCrossBB()
202 // if (comp1) goto B2 else B3; in serializeICMPCrossBB()
203 // B2: in serializeICMPCrossBB()
209 // Check basic predecessors, if two of them (say B1, B2) are using in serializeICMPCrossBB()
211 // of another (e.g., B1 is the predecessor of B2). Add a passthrough in serializeICMPCrossBB()
213 BasicBlock *B2 = BB.getSinglePredecessor(); in serializeICMPCrossBB() local
214 if (!B2) in serializeICMPCrossBB()
217 BasicBlock *B1 = B2->getSinglePredecessor(); in serializeICMPCrossBB()
221 Instruction *TI = B2->getTerminator(); in serializeICMPCrossBB()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Du0.h7 __m128i b0, b1, b2, b3, b4, b5, b6, b7; variable
34 b2 = a2;
36 b2 = _mm_srli_epi32(b2, 19);
39 diag1 = _mm_xor_si128(diag1, b2);
106 b2 = a2;
108 b2 = _mm_srli_epi32(b2, 19);
111 diag1 = _mm_xor_si128(diag1, b2);
H A Du1.h7 __m128i b0, b1, b2, b3, b4, b5, b6, b7; variable
35 b2 = a2;
37 b2 = _mm_srli_epi32(b2, 19);
40 diag1 = _mm_xor_si128(diag1, b2);
107 b2 = a2;
109 b2 = _mm_srli_epi32(b2, 19);
112 diag1 = _mm_xor_si128(diag1, b2);
/freebsd/lib/libc/string/
H A Dtimingsafe_bcmp.326 .Fn timingsafe_bcmp "const void *b1" "const void *b2" "size_t len"
28 .Fn timingsafe_memcmp "const void *b1" "const void *b2" "size_t len"
41 .Fa b2 .
57 .Fa b2 .
66 .Fa b2 .
/freebsd/contrib/nvi/common/
H A Doptions.c311 CHAR_T b2[1024]; in opts_init() local
313 a.bp = b2; in opts_init()
322 if (STRCMP((CHAR_T*)str, b2) != 0) \ in opts_init()
323 (void)MEMCPY(b2, str, a.len+1); \ in opts_init()
348 (void)SPRINTF(b2, SIZE(b2), in opts_init()
350 OI(O_CDPATH, b2); in opts_init()
360 (void)SPRINTF(b2, SIZE(b2), in opts_init()
362 OI(O_TMPDIR, b2); in opts_init()
368 (void)SPRINTF(b2, SIZE(b2), L("msgcat=%s"), _PATH_MSGCAT); in opts_init()
369 OI(O_MSGCAT, b2); in opts_init()
[all …]
/freebsd/crypto/openssl/test/testutil/
H A Dformat_output.c47 char b1[MAX_STRING_WIDTH + 1], b2[MAX_STRING_WIDTH + 1]; in test_fail_string_common() local
79 b2[n2 = l2 > width ? width : l2] = 0; in test_fail_string_common()
81 b2[i] = isprint((unsigned char)m2[i]) ? m2[i] : '.'; in test_fail_string_common()
98 test_printf_stderr("%4u: '%s'\n", cnt, n2 > n1 ? b2 : b1); in test_fail_string_common()
107 test_printf_stderr("%4u:+ '%s'\n", cnt, b2); in test_fail_string_common()
273 char b1[MAX_STRING_WIDTH + 1], b2[MAX_STRING_WIDTH + 1]; in test_fail_bignum_common() local
321 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
327 if (b1[i] == b2[i] || b1[i] == ' ' || b2[i] == ' ') { in test_fail_bignum_common()
329 diff |= b1[i] != b2[i]; in test_fail_bignum_common()
336 test_printf_stderr(" %s:% 5d\n", n2 > n1 ? b2 : b1, cnt); in test_fail_bignum_common()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrFormats.td634 bits<4> B2;
640 let Inst{15-12} = B2;
653 bits<4> B2;
659 let Inst{15-12} = B2;
672 bits<4> B2;
679 let Inst{31-28} = B2;
696 bits<4> B2;
702 let Inst{31-28} = B2;
718 bits<4> B2;
724 let Inst{31-28} = B2;
[all …]
/freebsd/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk128 w0, A, alpha, a0, a1, a2, b0, b1, b2)
137 b2 = 1.0 - (alpha * A);
144 b2 = A*((A+1.0)+((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha));
149 b0 = b1 = b2 = a0 = a1 = a2 = 0.0;
153 b2 /= a0;
162 coeffs["treble", gain, 5] = feedeq_fx_floor(b2);
171 b2 = 1.0 - (alpha * A);
178 b2 = A*((A+1.0)-((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha));
183 b0 = b1 = b2 = a0 = a1 = a2 = 0.0;
187 b2 /= a0;
[all …]

12345678910>>...26