Searched refs:b2 (Results 1 - 25 of 117) sorted by relevance

12345

/freebsd-current/contrib/netbsd-tests/lib/libc/string/
H A Dt_memmem.c61 char b2[] = "0123456789"; variable
81 expect(memmem(b2, lb2, p0, lp0) == NULL);
84 expect(memmem(b2, lb2, p0, lp0) == b2);
90 expect(memmem(b2, lb2, p1, lp1) == b2);
91 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4));
92 expect(memmem(b2, lb2, p3, lp3) == (b2
[all...]
H A Dt_memcpy.c61 runTest(unsigned char *b1, unsigned char *b2) argument
72 b2[n] = (unsigned char)random();
74 memcpy(b1 + i, b2 + j, m);
76 MD5Update(mc, b2, sizeof(testBlock_t));
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dtimingsafe_bcmp.c24 timingsafe_bcmp(const void *b1, const void *b2, size_t n) argument
26 const unsigned char *p1 = b1, *p2 = b2;
/freebsd-current/contrib/libfido2/openbsd-compat/
H A Dtimingsafe_bcmp.c25 timingsafe_bcmp(const void *b1, const void *b2, size_t n) argument
27 const unsigned char *p1 = b1, *p2 = b2;
/freebsd-current/sys/libkern/
H A Dtimingsafe_bcmp.c22 timingsafe_bcmp(const void *b1, const void *b2, size_t n) argument
24 const unsigned char *p1 = b1, *p2 = b2;
/freebsd-current/lib/libc/string/
H A Dbcmp.c38 bcmp(const void *b1, const void *b2, size_t length) argument
45 p2 = (char *)b2;
H A Dtimingsafe_bcmp.c23 __timingsafe_bcmp(const void *b1, const void *b2, size_t n) argument
25 const unsigned char *p1 = b1, *p2 = b2;
H A Dtimingsafe_memcmp.c24 __timingsafe_memcmp(const void *b1, const void *b2, size_t len) argument
26 const unsigned char *p1 = b1, *p2 = b2;
/freebsd-current/crypto/openssl/fuzz/
H A Dbndiv.c26 static BIGNUM *b2; variable
34 b2 = BN_new();
50 /* s1 and s2 will be the signs for b1 and b2. */
58 * b2.
74 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2);
75 BN_set_negative(b2, s2);
78 if (BN_is_zero(b2)) {
83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx));
87 success = (BN_is_negative(b3) != BN_is_negative(b2) || BN_is_zer
[all...]
H A Dbignum.c37 BIGNUM *b2; local
43 b2 = BN_new();
50 * bytes to choose lengths, which generate b1, b2 and b3. Use three bits
67 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2);
77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx));
78 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx));
84 BN_print_fp(stdout, b2);
97 BN_free(b2);
/freebsd-current/usr.bin/cmp/
H A Dmisc.c51 int b1, int b2)
59 b2, b2);
50 diffmsg(const char *file1, const char *file2, off_t byte, off_t line, int b1, int b2) argument
/freebsd-current/crypto/openssl/ms/
H A Dcmp.pl21 $n2=sysread(IN1,$b2,4096);
24 last if ($b1 ne $b2);
40 @a2=unpack("C*",$b2);
/freebsd-current/crypto/openssl/crypto/idea/
H A Di_skey.c93 long n1, n2, q, r, b1, b2, t; local
96 b2 = 0;
100 b2 = 1;
107 if (b2 < 0)
108 b2 = 0x10001 + b2;
112 t = b2;
113 b2 = b1 - q * b2;
118 return (IDEA_INT)b2;
[all...]
/freebsd-current/sys/sys/
H A Djoystick.h40 int b2; member in struct:joystick
/freebsd-current/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher_superscalar.c78 uint64_t a2, b2, c2, d2; local
85 b2 = ctx->superscalar[1].v[1];
93 b2 += a2;
95 c2 += b2;
105 ctx->superscalar[1].v[1] = b2;
117 uint64_t a2, b2, c2, d2; local
124 b2 = ctx->superscalar[1].v[1];
132 b2 += a2;
134 c2 += b2;
144 ctx->superscalar[1].v[1] = b2;
[all...]
H A Dzfs_fletcher_superscalar4.c92 uint64_t a2, b2, c2, d2; local
101 b2 = ctx->superscalar[1].v[1];
119 b2 += a2;
123 c2 += b2;
137 ctx->superscalar[1].v[1] = b2;
157 uint64_t a2, b2, c2, d2; local
166 b2 = ctx->superscalar[1].v[1];
184 b2 += a2;
188 c2 += b2;
202 ctx->superscalar[1].v[1] = b2;
[all...]
/freebsd-current/sys/dev/uart/
H A Duart_cpu_fdt.c60 uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) argument
63 if (b1->bst != b2->bst)
67 if (pmap_kextract(b2->bsh) == 0)
69 return ((pmap_kextract(b1->bsh) == pmap_kextract(b2->bsh)) ? 1 : 0);
H A Duart_cpu_x86.c47 uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) argument
50 return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0);
/freebsd-current/contrib/arm-optimized-routines/math/test/rtest/
H A Drandom.c31 uint32 a, b, b1, b2; local
34 for (b1 = 0x80000000, b2 = 1; b1 > b2; b1 >>= 1, b2 <<= 1) {
35 uint32 b3 = b1 | b2;
/freebsd-current/sys/dev/usb/
H A Dusb_endian.h104 #define USETW4(w,b3,b2,b1,b0) do { \
107 (w)[2] = (uint8_t)(b2); \
111 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \
114 (w)[2] = (uint8_t)(b2); \
/freebsd-current/tools/test/stress2/misc/
H A Dpoll2.sh89 static char b1[8192], b2[8192];
125 if (read(fds[0], b2, sizeof(b2)) != sizeof(b2))
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/
H A DPostOrderCFGView.cpp43 const CFGBlock *b2) const {
45 PostOrderCFGView::BlockOrderTy::const_iterator b2It = POV.BlockOrder.find(b2);
/freebsd-current/contrib/bearssl/src/symcipher/
H A Dchacha20_sse2.c199 __m128i b0, b1, b2, b3; local
203 b2 = _mm_loadu_si128((const void *)(buf + 32));
207 b2 = _mm_xor_si128(b2, s2);
211 _mm_storeu_si128((void *)(buf + 32), b2);
/freebsd-current/crypto/openssl/crypto/chacha/asm/
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],
[all...]
/freebsd-current/contrib/nvi/common/
H A Doptions.c309 CHAR_T b2[1024]; local
311 a.bp = b2;
320 if ((CHAR_T*)str != b2) /* GCC puts strings in text-space. */ \
321 (void)MEMCPY(b2, str, a.len+1); \
346 (void)SPRINTF(b2, SIZE(b2),
348 OI(O_CDPATH, b2);
358 (void)SPRINTF(b2, SIZE(b2),
360 OI(O_TMPDIR, b2);
[all...]

Completed in 316 milliseconds

12345