Searched refs:skip_bytes (Results 1 – 6 of 6) sorted by relevance
580 int skip_bytes = 0; in fw_read_img() local612 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()
627 off_t skip_bytes; member643 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()
349 int skip_bytes = state->bits - in next_code() local351 skip_bytes %= state->bits; in next_code()353 while (skip_bytes-- > 0) { in next_code()
358 uint32_t skip_bytes = archive_le32dec(read_buf); in lz4_filter_read() local360 4 + skip_bytes); in lz4_filter_read()
3229 uint64_t skip_bytes = 0; in read_stream() local3268 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() argument3597 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()
1378 int skip_bytes = min(len, (int)context->offset); in vchiq_dump() local1379 str += skip_bytes; in vchiq_dump()1380 len -= skip_bytes; in vchiq_dump()1381 context->offset -= skip_bytes; in vchiq_dump()