/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_lz4.c | 330 const char *read_buf; in lz4_filter_read() local 333 read_buf = __archive_read_filter_ahead(self->upstream, 4, in lz4_filter_read() 335 if (read_buf == NULL) { in lz4_filter_read() 340 uint32_t number = archive_le32dec(read_buf); in lz4_filter_read() 347 read_buf = __archive_read_filter_ahead( in lz4_filter_read() 349 if (read_buf == NULL) { in lz4_filter_read() 356 uint32_t skip_bytes = archive_le32dec(read_buf); in lz4_filter_read() 375 const char *read_buf; in lz4_filter_read_descriptor() local 382 read_buf = __archive_read_filter_ahead(self->upstream, 2, in lz4_filter_read_descriptor() 384 if (read_buf == NULL) { in lz4_filter_read_descriptor() [all …]
|
H A D | archive_read_support_filter_bzip2.c | 219 const char *read_buf; in bzip2_filter_read() local 280 read_buf = in bzip2_filter_read() 282 if (read_buf == NULL) { in bzip2_filter_read() 288 state->stream.next_in = (char *)(uintptr_t)read_buf; in bzip2_filter_read() 302 state->stream.next_in - read_buf); in bzip2_filter_read()
|
H A D | archive_read.c | 826 const void *read_buf; in archive_read_data() local 837 read_buf = a->read_data_block; in archive_read_data() 840 r = archive_read_data_block(a, &read_buf, in archive_read_data() 842 a->read_data_block = read_buf; in archive_read_data()
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer2.c | 50 voldata = read_buf(fp, 0, sizeof(*voldata)); in read_voldata() 101 media = read_buf(fp, io_base, io_bytes); in read_media() 221 vols[i] = read_buf(fp, broot.data_off & ~HAMMER2_OFF_MASK_RADIX, in read_label()
|
H A D | msdosfs.c | 73 sector0 = (uint8_t *)read_buf(fp, 0, 512); in fstyp_msdosfs() 143 sector = (uint8_t *)read_buf(fp, offset, fat_BytesPerSector); in fstyp_msdosfs()
|
H A D | ntfs.c | 146 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512); in fstyp_ntfs() 160 filerecp = read_buf(fp, voloff, recsize); in fstyp_ntfs()
|
H A D | befs.c | 52 volume = read_buf(fp, BEFS_BLOCK_OFFSET, sizeof(*volume)); in fstyp_befs()
|
H A D | cd9660.c | 47 sector = read_buf(fp, ISO9660_OFFSET, 512); in fstyp_cd9660()
|
H A D | zfs.c | 55 vdev_label = (vdev_label_t *)read_buf(fp, 0, sizeof(*vdev_label)); in fstyp_zfs()
|
H A D | ext2fs.c | 58 fs = (e2sb_t *)read_buf(fp, EXT2FS_SB_OFFSET, 512); in fstyp_ext2fs()
|
H A D | geli.c | 53 buf = (u_char *)read_buf(fp, mediasize - sectorsize, sectorsize); in fstyp_geli()
|
H A D | apfs.c | 88 csb = read_buf(fp, 0, sizeof(*csb)); in fstyp_apfs()
|
H A D | exfat.c | 139 return (read_buf(fp, sect * bytespersec, bytespersec * count)); in read_sectn() 332 ev = (struct exfat_vbr *)read_buf(fp, 0, 512); in fstyp_exfat()
|
H A D | fstyp.h | 46 void *read_buf(FILE *fp, off_t off, size_t len);
|
H A D | hfsplus.c | 106 hdr = read_buf(fp, VOL_HDR_OFF, sizeof(*hdr)); in fstyp_hfsp()
|
H A D | hammer.c | 52 ondisk = read_buf(fp, 0, sizeof(*ondisk)); in read_ondisk()
|
H A D | fstyp.c | 112 read_buf(FILE *fp, off_t off, size_t len) in read_buf() function
|
/freebsd/usr.sbin/camdd/ |
H A D | camdd.c | 484 int camdd_queue(struct camdd_dev *dev, struct camdd_buf *read_buf); 2792 camdd_queue(struct camdd_dev *dev, struct camdd_buf *read_buf) argument 2819 read_buf->status = CAMDD_STATUS_EOF; 2821 camdd_complete_peer_buf(dev, read_buf); 2863 if ((read_buf->status == CAMDD_STATUS_EOF) 2864 || (read_buf->status == CAMDD_STATUS_ERROR)) { 2867 && (read_buf->len == 0)) { 2868 camdd_complete_peer_buf(dev, read_buf); 2886 read_buf->status = CAMDD_STATUS_EOF; 2890 camdd_complete_peer_buf(dev, read_buf); [all …]
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 731 unsigned char *read_buf; member 742 unsigned char *read_buf = NULL, *write_buf = NULL; in create_peer() local 746 || !TEST_ptr(read_buf = OPENSSL_zalloc(peer_buffer_size))) in create_peer() 751 peer->read_buf = read_buf; in create_peer() 757 OPENSSL_free(read_buf); in create_peer() 765 OPENSSL_free(peer->read_buf); in peer_free_data() 814 ret = SSL_read(peer->ssl, peer->read_buf, peer->read_buf_len); in do_app_data_step()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | idmap_util.c | 277 read_buf(int fd, char *buf, size_t buf_size) in read_buf() function 496 ret = read_buf(fds[1], &c, 1); in userns_fd_from_idmap() 511 ret = read_buf(fds[0], &c, 1); in userns_fd_from_idmap()
|
/freebsd/contrib/bc/include/ |
H A D | vm.h | 544 BcVec read_buf; member
|
/freebsd/contrib/bc/src/ |
H A D | program.c | 758 bc_vec_init(&vm->read_buf, sizeof(char), BC_DTOR_NONE); in bc_program_read() 768 bc_vec_empty(&vm->read_buf); in bc_program_read() 780 if (!BC_R) s = bc_read_line(&vm->read_buf, ""); in bc_program_read() 781 else s = bc_read_line(&vm->read_buf, BC_VM_READ_PROMPT); in bc_program_read() 787 bc_parse_text(&vm->read_prs, vm->read_buf.v, BC_MODE_FILE); in bc_program_read() 2580 bc_vec_init(&vm->read_buf, sizeof(char), BC_DTOR_NONE); in bc_program_execStr()
|
H A D | vm.c | 689 bc_vec_free(&vm->read_buf);
|
/freebsd/sys/contrib/zlib/ |
H A D | deflate.c | 218 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in read_buf() function 303 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window() 1706 read_buf(s->strm, s->strm->next_out, len); in deflate_stored() 1774 read_buf(s->strm, s->window + s->strstart, have); in deflate_stored()
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-s_server.pod.in | 92 [B<-read_buf> I<+int>] 593 =item B<-read_buf> I<+int>
|