| /freebsd-12-stable/crypto/openssh/regress/unittests/bitmap/ |
| D | tests.c | 36 u_char bbuf[1024], bnbuf[1024]; in tests() local 86 memset(bbuf, 0xfc, sizeof(bbuf)); in tests() 87 ASSERT_INT_EQ(bitmap_to_string(b, bbuf, in tests() 88 sizeof(bbuf)), 0); in tests() 89 for (n = len; n < (int)sizeof(bbuf); n++) in tests() 90 ASSERT_U8_EQ(bbuf[n], 0xfc); in tests() 94 ASSERT_MEM_EQ(bbuf, bnbuf, len); in tests()
|
| /freebsd-12-stable/bin/ln/ |
| D | ln.c | 232 char bbuf[PATH_MAX]; in linkit() local 255 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit() 256 (p = basename(bbuf)) == NULL || in linkit() 281 strlcpy(bbuf, target, sizeof(bbuf)); in linkit() 282 p = dirname(bbuf); in linkit()
|
| /freebsd-12-stable/stand/i386/libi386/ |
| D | biosdisk.c | 968 caddr_t bbuf = NULL; in bd_realstrategy() local 1046 bbuf = bio_alloc(bio_size); in bd_realstrategy() 1047 if (bbuf != NULL) in bd_realstrategy() 1051 if (bbuf == NULL) { in bd_realstrategy() 1057 bbuf = PTOV(V86_IO_BUFFER); in bd_realstrategy() 1071 if ((rc = bd_io(dev, bd, dblk, x, bbuf, BD_RD)) != 0) { in bd_realstrategy() 1076 bcopy(bbuf + blkoff, buf, bsize); in bd_realstrategy() 1088 rc = bd_io(dev, bd, dblk, x, bbuf, BD_RD); in bd_realstrategy() 1096 rc = bd_io(dev, bd, dblk, x, bbuf, BD_RD); in bd_realstrategy() 1105 bcopy(buf, bbuf + blkoff, bsize); in bd_realstrategy() [all …]
|
| /freebsd-12-stable/contrib/sendmail/src/ |
| D | mime.c | 124 char bbuf[128]; local 288 if (sm_strlcpy(bbuf, p, sizeof(bbuf)) >= sizeof(bbuf)) 299 bbuf); 317 boundaries[i] = bbuf; 345 (void) sm_strlcpyn(buf, sizeof(buf), 2, "--", bbuf); 362 (void) sm_strlcpyn(buf, sizeof(buf), 3, "--", bbuf, "--");
|
| /freebsd-12-stable/usr.sbin/bhyve/ |
| D | net_backends.c | 182 char bbuf[1 << 16]; member 240 memset(priv->bbuf, 0, sizeof(priv->bbuf)); in tap_init() 284 ret = read(be->fd, priv->bbuf, sizeof(priv->bbuf)); in tap_peek_recvlen() 306 ret = buf_to_iov(priv->bbuf, priv->bbuflen, in tap_recv()
|
| /freebsd-12-stable/usr.sbin/efibootmgr/ |
| D | efibootmgr.c | 580 efi_char *bbuf = NULL; in create_loadopt() local 593 utf8_to_ucs2(description, &bbuf, &desc_len); in create_loadopt() 596 free(bbuf); in create_loadopt() 606 memcpy(pos, bbuf, desc_len); /* NB:desc_len includes strailing NUL */ in create_loadopt() 608 free(bbuf); in create_loadopt()
|
| /freebsd-12-stable/crypto/openssl/ssl/ |
| D | ssl_cert.c | 572 unsigned char *abuf = NULL, *bbuf = NULL; in xname_cmp() local 579 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp() 586 ret = memcmp(abuf, bbuf, alen); in xname_cmp() 589 OPENSSL_free(bbuf); in xname_cmp()
|