Home
last modified time | relevance | path

Searched refs:read_buf (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_lz4.c330 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 Darchive_read_support_filter_bzip2.c219 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 Darchive_read.c826 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 Dhammer2.c50 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 Dmsdosfs.c73 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 Dntfs.c146 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512); in fstyp_ntfs()
160 filerecp = read_buf(fp, voloff, recsize); in fstyp_ntfs()
H A Dbefs.c52 volume = read_buf(fp, BEFS_BLOCK_OFFSET, sizeof(*volume)); in fstyp_befs()
H A Dcd9660.c47 sector = read_buf(fp, ISO9660_OFFSET, 512); in fstyp_cd9660()
H A Dzfs.c55 vdev_label = (vdev_label_t *)read_buf(fp, 0, sizeof(*vdev_label)); in fstyp_zfs()
H A Dext2fs.c58 fs = (e2sb_t *)read_buf(fp, EXT2FS_SB_OFFSET, 512); in fstyp_ext2fs()
H A Dgeli.c53 buf = (u_char *)read_buf(fp, mediasize - sectorsize, sectorsize); in fstyp_geli()
H A Dapfs.c88 csb = read_buf(fp, 0, sizeof(*csb)); in fstyp_apfs()
H A Dexfat.c139 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 Dfstyp.h46 void *read_buf(FILE *fp, off_t off, size_t len);
H A Dhfsplus.c106 hdr = read_buf(fp, VOL_HDR_OFF, sizeof(*hdr)); in fstyp_hfsp()
H A Dhammer.c52 ondisk = read_buf(fp, 0, sizeof(*ondisk)); in read_ondisk()
H A Dfstyp.c112 read_buf(FILE *fp, off_t off, size_t len) in read_buf() function
/freebsd/usr.sbin/camdd/
H A Dcamdd.c484 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 Dhandshake.c731 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 Didmap_util.c277 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 Dvm.h544 BcVec read_buf; member
/freebsd/contrib/bc/src/
H A Dprogram.c758 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 Dvm.c689 bc_vec_free(&vm->read_buf);
/freebsd/sys/contrib/zlib/
H A Ddeflate.c218 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 Dopenssl-s_server.pod.in92 [B<-read_buf> I<+int>]
593 =item B<-read_buf> I<+int>

12