| /netbsd-src/bin/ln/ |
| H A D | ln.c | 237 char bbuf[PATH_MAX]; in linkit() local 260 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit() 261 (p = basename(bbuf)) == NULL || in linkit() 286 strlcpy(bbuf, target, sizeof(bbuf)); in linkit() 287 p = dirname(bbuf); in linkit()
|
| /netbsd-src/sys/arch/hppa/stand/common/ |
| H A D | lif.c | 163 char bbuf[DEV_BSIZE]; in lif_read() local 164 size_t bsize, count = sizeof(bbuf); in lif_read() 173 for (p = bbuf; size; fp->f_seek += bsize, p += bsize) { in lif_read() 180 if (p == bbuf) { in lif_read() 181 bsize = sizeof(bbuf) - (foff & (sizeof(bbuf) - 1)); in lif_read() 183 memcpy(buf, bbuf + (foff & (sizeof(bbuf) - 1)), bsize); in lif_read()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | dhtest.c | 43 unsigned char *bbuf = NULL; in dh_test() local 186 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in dh_test() 187 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in dh_test() 196 || !TEST_mem_eq(abuf, aout, bbuf, bout) in dh_test() 214 OPENSSL_free(bbuf); in dh_test() 631 unsigned char *bbuf = NULL; in rfc7919_test() local 665 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in rfc7919_test() 666 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in rfc7919_test() 670 || !TEST_mem_eq(abuf, aout, bbuf, bout)) in rfc7919_test() 677 OPENSSL_free(bbuf); in rfc7919_test()
|
| /netbsd-src/tests/crypto/libcrypto/ecdh/ |
| H A D | ecdhtest.c | 129 unsigned char *abuf = NULL, *bbuf = NULL; in test_ecdh_curve() local 236 bbuf = (unsigned char *)OPENSSL_malloc(blen); in test_ecdh_curve() 238 ECDH_compute_key(bbuf, blen, EC_KEY_get0_public_key(a), b, KDF1_SHA1); in test_ecdh_curve() 243 sprintf(buf, "%02X", bbuf[i]); in test_ecdh_curve() 252 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { in test_ecdh_curve() 274 sprintf(buf, "%02X", bbuf[i]); in test_ecdh_curve() 298 if (bbuf != NULL) in test_ecdh_curve() 299 OPENSSL_free(bbuf); in test_ecdh_curve()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | dhtest.c | 52 unsigned char *bbuf = NULL; in dh_test() local 215 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in dh_test() 216 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in dh_test() 225 || !TEST_mem_eq(abuf, aout, bbuf, bout) in dh_test() 243 OPENSSL_free(bbuf); in dh_test() 667 unsigned char *bbuf = NULL; in rfc7919_test() local 701 if (!TEST_int_gt(blen, 0) || !TEST_ptr(bbuf = OPENSSL_malloc(blen)) in rfc7919_test() 702 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in rfc7919_test() 706 || !TEST_mem_eq(abuf, aout, bbuf, bout)) in rfc7919_test() 713 OPENSSL_free(bbuf); in rfc7919_test()
|
| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | add.c | 541 char *bbuf; in add() local 544 bbuf = Xasprintf (" on branch `%s'", in add() 548 bbuf = ""; in add() 551 finfo.fullname, bbuf, vers->vn_rcs); in add() 553 free (bbuf); in add()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/ |
| H A D | cpp.h | 117 usch bbuf[BBUFSZ]; member 119 usch *bbuf; member
|
| H A D | token.c | 223 if (ifiles->curptr < ifiles->bbuf) in unch() 935 ic->bbuf = malloc(BBUFSZ); in pushfile() 937 ic->buffer = ic->bbuf+PBMAX; in pushfile() 968 free(ic->bbuf); in pushfile()
|
| /netbsd-src/sys/arch/newsmips/apbus/ |
| H A D | xafb.c | 392 u_char rbuf[256], gbuf[256], bbuf[256]; in xafb_putcmap() local 404 error = copyin(cm->blue, &bbuf[index], count); in xafb_putcmap() 410 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in xafb_putcmap()
|
| /netbsd-src/sys/arch/prep/pci/ |
| H A D | gten.c | 396 u_char rbuf[256], gbuf[256], bbuf[256]; in gten_putcmap() local 407 error = copyin(cm->blue, &bbuf[index], count); in gten_putcmap() 413 memcpy(>->gt_cmap_blue[index], &bbuf[index], count); in gten_putcmap()
|
| /netbsd-src/sys/arch/macppc/dev/ |
| H A D | ofb.c | 397 u_char rbuf[256], gbuf[256], bbuf[256]; in ofb_putcmap() local 409 error = copyin(cm->blue, &bbuf[index], count); in ofb_putcmap() 415 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in ofb_putcmap()
|
| H A D | platinumfb.c | 988 u_char rbuf[256], gbuf[256], bbuf[256]; in platinumfb_putcmap() local 999 error = copyin(cm->blue, &bbuf[index], count); in platinumfb_putcmap() 1005 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in platinumfb_putcmap()
|
| /netbsd-src/sys/arch/sparc64/dev/ |
| H A D | gfb.c | 402 u_char rbuf[256], gbuf[256], bbuf[256]; in gfb_putcmap() local 416 error = copyin(cm->blue, &bbuf[index], count); in gfb_putcmap() 422 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in gfb_putcmap()
|
| /netbsd-src/sys/dev/raidframe/ |
| H A D | rf_pq.h | 69 unsigned long *bbuf, unsigned length, unsigned coeff_a, unsigned coeff_b);
|
| H A D | rf_pq.c | 798 rf_PQ_recover(unsigned long *pbuf, unsigned long *qbuf, unsigned long *abuf, unsigned long *bbuf, u… in rf_PQ_recover() argument 831 *bbuf++ = a ^ p; in rf_PQ_recover()
|
| /netbsd-src/sys/external/bsd/sljit/dist/test_src/ |
| H A D | sljitTest.c | 1699 sljit_s8 bbuf[5]; in test22() local 1723 bbuf[0] = 0; in test22() 1724 bbuf[1] = 0; in test22() 1725 bbuf[2] = -56; in test22() 1726 bbuf[3] = 0; in test22() 1727 bbuf[4] = 0; in test22() 1779 code.func3((sljit_sw)&buf, (sljit_sw)&sbuf, (sljit_sw)&bbuf); in test22() 1796 FAILED(bbuf[0] != -45, "test22 case 15 failed\n"); in test22() 1797 FAILED(bbuf[1] != 0x12, "test22 case 16 failed\n"); in test22() 1798 FAILED(bbuf[3] != -56, "test22 case 17 failed\n"); in test22() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/ |
| H A 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()
|
| /netbsd-src/sys/dev/sdmmc/ |
| H A D | sdmmc.c | 712 &sf->bbuf, BUS_DMA_WAITOK); in sdmmc_function_alloc() 716 sf->bbuf, MAXPHYS, NULL, in sdmmc_function_alloc() 727 bus_dmamem_unmap(sc->sc_dmat, sf->bbuf, MAXPHYS); in sdmmc_function_alloc() 751 bus_dmamem_unmap(sc->sc_dmat, sf->bbuf, MAXPHYS); in sdmmc_function_free()
|
| H A D | sdmmcvar.h | 226 void *bbuf; /* bounce buffer */ 205 void *bbuf; /* bounce buffer */ global() member
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
| H A D | ssl_cert.c | 595 unsigned char *abuf = NULL, *bbuf = NULL; in xname_cmp() local 602 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp() 609 ret = memcmp(abuf, bbuf, alen); in xname_cmp() 612 OPENSSL_free(bbuf); in xname_cmp()
|
| /netbsd-src/sys/arch/sparc/dev/ |
| H A D | cgfourteen.c | 897 u_char rbuf[256], gbuf[256], bbuf[256]; in cg14_putcmap() 908 error = copyin(cm->blue, &bbuf[index], count); in cg14_putcmap() 915 sc->sc_cmap.cm_map[index][1] = bbuf[index]; 929 uint8_t rbuf[256], gbuf[256], bbuf[256]; in cg14_getcmap() 941 bbuf[i] = sc->sc_cmap.cm_map[index][1]; in cg14_getcmap() 951 error = copyout(bbuf, cm->blue, count); in cg14_ioctl() 889 u_char rbuf[256], gbuf[256], bbuf[256]; cg14_putcmap() local 918 uint8_t rbuf[256], gbuf[256], bbuf[256]; cg14_getcmap() local
|
| /netbsd-src/sys/dev/ic/ |
| H A D | ct65550.c | 338 u_char rbuf[256], gbuf[256], bbuf[256]; in chipsfb_putcmap() local 352 error = copyin(cm->blue, &bbuf[index], count); in chipsfb_putcmap() 358 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in chipsfb_putcmap()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | wcfb.c | 348 u_char rbuf[256], gbuf[256], bbuf[256]; in wcfb_putcmap() local 359 error = copyin(cm->blue, &bbuf[index], count); in wcfb_putcmap() 365 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in wcfb_putcmap()
|
| /netbsd-src/sys/dev/wsfb/ |
| H A D | genfb.c | 796 u_char rbuf[256], gbuf[256], bbuf[256]; in genfb_putcmap() local 810 error = copyin(cm->blue, &bbuf[index], count); in genfb_putcmap() 816 memcpy(&scp->sc_cmap_blue[index], &bbuf[index], count); in genfb_putcmap()
|
| /netbsd-src/sys/arch/hppa/dev/ |
| H A D | hyperfb.c | 703 u_char rbuf[256], gbuf[256], bbuf[256]; 714 error = copyin(cm->blue, &bbuf[index], count); in hyperfb_getcmap() 720 memcpy(&sc->sc_cmap_blue[index], &bbuf[index], count); in hyperfb_getcmap() 672 u_char rbuf[256], gbuf[256], bbuf[256]; hyperfb_putcmap() local
|