/freebsd-current/usr.bin/mkuzip/ |
H A D | mkuz_blockcache.c | 54 void *vbuf; local 59 vbuf = malloc(cbp->info.len); 60 if (vbuf == NULL) { 66 rlen = read(fd, vbuf, cbp->info.len); 70 rval = (memcmp(cbp->data, vbuf, cbp->info.len) == 0) ? 1 : 0; 74 free(vbuf);
|
/freebsd-current/contrib/ncurses/ncurses/trace/ |
H A D | visbuf.c | 110 const char *vbuf = 0; local 124 vbuf = tp = _nc_trace_buf(bufnum, NormalLen(len)); 137 vbuf = tp = mybuf[bufnum]; 151 vbuf = ("(_nc_visbuf2n failed)"); 153 return (vbuf); 193 const char *vbuf; local 205 vbuf = tp = _nc_trace_buf(bufnum, WideLen(len)); 210 vbuf = tp = mybuf[bufnum]; 232 vbuf = ("(_nc_viswbuf2n failed)"); 234 return (vbuf); [all...] |
/freebsd-current/contrib/bearssl/tools/ |
H A D | files.c | 37 bvector vbuf = VEC_INIT; local 62 buf = VEC_TOARRAY(vbuf); 63 *len = VEC_LEN(vbuf); 64 VEC_CLEAR(vbuf); 68 VEC_ADDMANY(vbuf, tmp, rlen);
|
/freebsd-current/contrib/file/src/ |
H A D | readcdf.c | 111 cdf_app_to_mime(const char *vbuf, const struct nv *nv) argument 130 if (strcasestr(vbuf, nv[i].pattern) != NULL) { 135 fprintf(stderr, "unknown app %s\n", vbuf); 197 char vbuf[1024]; local 204 for (j = 0; s < e && j < sizeof(vbuf) 209 vbuf[j++] = *s; 211 if (j == sizeof(vbuf)) 213 vbuf[j] = '\0'; 215 if (vbuf[0]) { 217 buf, vbuf) [all...] |
H A D | readelf.c | 1120 dodynamic(struct magic_set *ms, void *vbuf, size_t offset, size_t size, argument 1125 unsigned char *dbuf = CAST(unsigned char *, vbuf); 1156 donote(struct magic_set *ms, void *vbuf, size_t offset, size_t size, argument 1165 unsigned char *nbuf = CAST(unsigned char *, vbuf);
|
/freebsd-current/contrib/mandoc/ |
H A D | tbl_html.c | 123 char hbuf[4], vbuf[4]; local 201 (void)snprintf(vbuf, sizeof(vbuf), 203 vspans = vbuf;
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_quota.c | 164 uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) 169 zfs_useracct_t *buf = vbuf; 202 if ((uintptr_t)buf - (uintptr_t)vbuf + sizeof (zfs_useracct_t) > 223 ASSERT3U((uintptr_t)buf - (uintptr_t)vbuf, <=, *bufsizep); 224 *bufsizep = (uintptr_t)buf - (uintptr_t)vbuf; 163 zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) argument
|
H A D | dmu.c | 2498 byteswap_uint64_array(void *vbuf, size_t size) argument 2500 uint64_t *buf = vbuf; 2511 byteswap_uint32_array(void *vbuf, size_t size) argument 2513 uint32_t *buf = vbuf; 2524 byteswap_uint16_array(void *vbuf, size_t size) argument 2526 uint16_t *buf = vbuf; 2537 byteswap_uint8_array(void *vbuf, size_t size) argument 2539 (void) vbuf, (void) size;
|
H A D | zap.c | 96 fzap_byteswap(void *vbuf, size_t size) argument 98 uint64_t block_type = *(uint64_t *)vbuf; 101 zap_leaf_byteswap(vbuf, size); 104 byteswap_uint64_array(vbuf, size);
|
H A D | arc.c | 1146 hdr_full_cons(void *vbuf, void *unused, int kmflag) argument 1149 arc_buf_hdr_t *hdr = vbuf; 1165 hdr_l2only_cons(void *vbuf, void *unused, int kmflag) argument 1168 arc_buf_hdr_t *hdr = vbuf; 1177 buf_cons(void *vbuf, void *unused, int kmflag) argument 1180 arc_buf_t *buf = vbuf; 1193 hdr_full_dest(void *vbuf, void *unused) argument 1196 arc_buf_hdr_t *hdr = vbuf; 1208 hdr_l2only_dest(void *vbuf, void *unused) argument 1211 arc_buf_hdr_t *hdr = vbuf; 1218 buf_dest(void *vbuf, void *unused) argument [all...] |
H A D | zil.c | 3747 zil_lwb_cons(void *vbuf, void *unused, int kmflag) argument 3750 lwb_t *lwb = vbuf; 3761 zil_lwb_dest(void *vbuf, void *unused) argument 3764 lwb_t *lwb = vbuf;
|
H A D | dnode.c | 493 dnode_buf_byteswap(void *vbuf, size_t size) argument 501 dnode_phys_t *dnp = (void *)(((char *)vbuf) + i);
|
/freebsd-current/sbin/setkey/ |
H A D | test-pfkey.c | 522 key_setsadbextbuf(dst, off, ebuf, elen, vbuf, vlen) 523 caddr_t dst, ebuf, vbuf; 528 memcpy(dst + off + elen, vbuf, vlen);
|
H A D | parse.y | 1325 setvarbuf(char *buf, int *off, struct sadb_ext *ebuf, int elen, caddr_t vbuf, 1330 memcpy(buf + *off + elen, vbuf, vlen);
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | config_winreg.c | 611 char vbuf[10]; local 612 os_snprintf(vbuf, sizeof(vbuf), "%08x", 614 wpa_config_write_reg_string(hk, "os_version", vbuf);
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | rfb.c | 859 const char *vbuf = "RFB 003.008\n"; local 881 stream_write(cfd, vbuf, strlen(vbuf)); 886 strncmp(vbuf, buf, VERSION_LENGTH - 2) != 0) {
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_ioctl.c | 2812 struct video_buffer vbuf; local 2907 error = fo_ioctl(fp, VIDIOCGFBUF, &vbuf, td->td_ucred, td); 2909 bsd_to_linux_v4l_buffer(&vbuf, &l_vbuf); 2926 linux_to_bsd_v4l_buffer(&l_vbuf, &vbuf); 2927 error = fo_ioctl(fp, VIDIOCSFBUF, &vbuf, td->td_ucred, td); 3119 struct v4l2_buffer vbuf; local 3279 linux_to_bsd_v4l2_buffer(&l_vbuf, &vbuf); 3281 error = fo_ioctl(fp, VIDIOC_QUERYBUF, &vbuf, 3284 error = fo_ioctl(fp, VIDIOC_QBUF, &vbuf, 3287 error = fo_ioctl(fp, VIDIOC_DQBUF, &vbuf, [all...] |
/freebsd-current/sys/dev/sound/pci/ |
H A D | emu10kx.c | 261 void *vbuf; member in struct:emu_voice 1277 emu_memfree(&sc->mem, v->vbuf); 1287 void *vbuf; local 1290 vbuf = emu_memalloc(&sc->mem, sz, &tmp_addr, "vinit"); 1291 if (vbuf == NULL) { 1297 sndbuf_setup(b, vbuf, sz); 1298 m->start = emu_memstart(&sc->mem, vbuf) * EMUPAGESIZE; 1302 emu_memfree(&sc->mem, vbuf); 1313 m->vbuf = vbuf; [all...] |
/freebsd-current/sys/dev/mpt/ |
H A D | mpt_cam.c | 4825 U8 *vbuf; local 4833 vbuf = req->req_vbuf; 4834 vbuf += MPT_RQSL(mpt); 4836 mpt_dump_data(mpt, "mpt_scsi_tgt_atio response", vbuf, 4866 fc = (PTR_MPI_TARGET_FCP_CMD_BUFFER) vbuf; 4925 ssp = (PTR_MPI_TARGET_SSP_CMD_BUFFER) vbuf; 4931 sp = (PTR_MPI_TARGET_SCSI_SPI_CMD_BUFFER) vbuf;
|
/freebsd-current/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 199 byteswap_uint64_array(void *vbuf, size_t size) argument 201 uint64_t *buf = vbuf;
|