Searched refs:bbuf (Results 1 - 9 of 9) sorted by relevance

/freebsd-10-stable/crypto/openssh/regress/unittests/bitmap/
H A Dtests.c34 u_char bbuf[1024], bnbuf[1024]; local
84 memset(bbuf, 0xfc, sizeof(bbuf));
85 ASSERT_INT_EQ(bitmap_to_string(b, bbuf,
86 sizeof(bbuf)), 0);
87 for (n = len; n < (int)sizeof(bbuf); n++)
88 ASSERT_U8_EQ(bbuf[n], 0xfc);
92 ASSERT_MEM_EQ(bbuf, bnbuf, len);
/freebsd-10-stable/crypto/openssl/crypto/dh/
H A Ddhtest.c105 unsigned char *abuf = NULL, *bbuf = NULL; local
188 bbuf = (unsigned char *)OPENSSL_malloc(blen);
189 bout = DH_compute_key(bbuf, a->pub_key, b);
193 sprintf(buf, "%02X", bbuf[i]);
197 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) {
207 if (bbuf != NULL)
208 OPENSSL_free(bbuf);
/freebsd-10-stable/bin/ln/
H A Dln.c230 char bbuf[PATH_MAX]; local
253 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) ||
254 (p = basename(bbuf)) == NULL ||
279 strlcpy(bbuf, target, sizeof(bbuf));
280 p = dirname(bbuf);
/freebsd-10-stable/sys/boot/i386/libi386/
H A Dbioscd.c267 caddr_t bbuf, p, xp; local
290 bbuf = alloca(x * BIOSCD_SECSIZE);
293 bbuf = NULL;
302 if (bbuf)
303 xp = bbuf;
347 if (bbuf != NULL)
348 bcopy(bbuf, p, x * BIOSCD_SECSIZE);
H A Dbiosdisk.c490 caddr_t p, xp, bbuf, breg; local
513 bbuf = alloca(x * 2 * BD(dev).bd_sectorsize);
514 if (((u_int32_t)VTOP(bbuf) & 0xffff0000) ==
515 ((u_int32_t)VTOP(bbuf + x * BD(dev).bd_sectorsize) & 0xffff0000)) {
516 breg = bbuf;
518 breg = bbuf + x * BD(dev).bd_sectorsize;
522 breg = bbuf = NULL;
537 xp = bbuf == NULL ? p : breg;
543 if (write && bbuf != NULL)
577 if (!write && bbuf !
[all...]
/freebsd-10-stable/sys/boot/pc98/libpc98/
H A Dbioscd.c263 caddr_t bbuf, p, xp; local
285 bbuf = alloca(x * BIOSCD_SECSIZE);
288 bbuf = NULL;
297 if (bbuf)
298 xp = bbuf;
338 if (bbuf != NULL)
339 bcopy(bbuf, p, x * BIOSCD_SECSIZE);
H A Dbiosdisk.c834 caddr_t p, xp, bbuf, breg; local
856 bbuf = alloca(x * 2 * BIOSDISK_SECSIZE);
857 if (((u_int32_t)VTOP(bbuf) & 0xffff0000) ==
858 ((u_int32_t)VTOP(bbuf + x * BIOSDISK_SECSIZE) & 0xffff0000)) {
859 breg = bbuf;
861 breg = bbuf + x * BIOSDISK_SECSIZE;
865 breg = bbuf = NULL;
880 xp = bbuf == NULL ? p : breg;
886 if (write && bbuf != NULL)
916 if (!write && bbuf !
[all...]
/freebsd-10-stable/crypto/openssl/crypto/ecdh/
H A Decdhtest.c129 unsigned char *abuf = NULL, *bbuf = NULL; local
236 bbuf = (unsigned char *)OPENSSL_malloc(blen);
238 ECDH_compute_key(bbuf, blen, EC_KEY_get0_public_key(a), b, KDF1_SHA1);
243 sprintf(buf, "%02X", bbuf[i]);
252 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) {
274 sprintf(buf, "%02X", bbuf[i]);
298 if (bbuf != NULL)
299 OPENSSL_free(bbuf);
/freebsd-10-stable/contrib/sendmail/src/
H A Dmime.c123 char bbuf[128]; local
287 if (sm_strlcpy(bbuf, p, sizeof(bbuf)) >= sizeof(bbuf))
298 bbuf);
316 boundaries[i] = bbuf;
344 (void) sm_strlcpyn(buf, sizeof(buf), 2, "--", bbuf);
361 (void) sm_strlcpyn(buf, sizeof(buf), 3, "--", bbuf, "--");

Completed in 133 milliseconds