Home
last modified time | relevance | path

Searched refs:skip_bytes (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sbin/camcontrol/
H A Dfwdownload.c580 int skip_bytes = 0; in fw_read_img() local
612 skip_bytes = 80; in fw_read_img()
615 skip_bytes = img_size % 1030; in fw_read_img()
628 if (skip_bytes != 0) { in fw_read_img()
629 fprintf(stdout, "Skipping %d byte header.\n", skip_bytes); in fw_read_img()
630 if (lseek(fd, skip_bytes, SEEK_SET) == -1) { in fw_read_img()
634 img_size -= skip_bytes; in fw_read_img()
/freebsd-13.1/sys/fs/pseudofs/
H A Dpseudofs_vnops.c627 off_t skip_bytes; member
643 if (ssh->skip_bytes > 0) { in pfs_sbuf_uio_drain()
644 if (ssh->skip_bytes >= len) { in pfs_sbuf_uio_drain()
645 ssh->skip_bytes -= len; in pfs_sbuf_uio_drain()
649 data += ssh->skip_bytes; in pfs_sbuf_uio_drain()
650 len -= ssh->skip_bytes; in pfs_sbuf_uio_drain()
651 skipped = ssh->skip_bytes; in pfs_sbuf_uio_drain()
652 ssh->skip_bytes = 0; in pfs_sbuf_uio_drain()
745 ssh.skip_bytes = uio->uio_offset; in pfs_read()
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_compress.c349 int skip_bytes = state->bits - in next_code() local
351 skip_bytes %= state->bits; in next_code()
353 while (skip_bytes-- > 0) { in next_code()
H A Darchive_read_support_filter_lz4.c358 uint32_t skip_bytes = archive_le32dec(read_buf); in lz4_filter_read() local
360 4 + skip_bytes); in lz4_filter_read()
H A Darchive_read_support_format_7zip.c3229 uint64_t skip_bytes = 0; in read_stream() local
3268 skip_bytes = in read_stream()
3302 while (skip_bytes) { in read_stream()
3323 a, buff, (size_t)skip_bytes, 0); in read_stream()
3326 skip_bytes -= skipped; in read_stream()
3592 skip_stream(struct archive_read *a, size_t skip_bytes) in skip_stream() argument
3597 size_t bytes = skip_bytes; in skip_stream()
3605 += skip_bytes; in skip_stream()
3606 return (skip_bytes); in skip_stream()
3623 return (skip_bytes); in skip_stream()
/freebsd-13.1/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_arm.c1378 int skip_bytes = min(len, (int)context->offset); in vchiq_dump() local
1379 str += skip_bytes; in vchiq_dump()
1380 len -= skip_bytes; in vchiq_dump()
1381 context->offset -= skip_bytes; in vchiq_dump()