Lines Matching refs:in_pos
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 b->in_pos += copy_size; in fill_temp()
176 const uint8_t *in, size_t *in_pos, size_t in_size) in dec_vli() argument
183 while (*in_pos < in_size) { in dec_vli()
184 byte = in[*in_pos]; in dec_vli()
185 ++*in_pos; in dec_vli()
222 s->in_start = b->in_pos; in dec_block()
232 s->block.compressed += b->in_pos - s->in_start; in dec_block()
283 size_t in_used = b->in_pos - s->in_start; in index_update()
301 ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in dec_index()
349 if (b->in_pos == b->in_size) in crc32_validate()
352 if (((s->crc32 >> s->pos) & 0xFF) != b->in[b->in_pos++]) in crc32_validate()
372 if (b->in_pos == b->in_size) in check_skip()
375 ++b->in_pos; in check_skip()
556 s->in_start = b->in_pos; in dec_main()
587 if (b->in_pos == b->in_size) in dec_main()
591 if (b->in[b->in_pos] == 0) { in dec_main()
592 s->in_start = b->in_pos++; in dec_main()
602 = ((uint32_t)b->in[b->in_pos] + 1) * 4; in dec_main()
634 if (b->in_pos == b->in_size) in dec_main()
637 if (b->in[b->in_pos++] != 0) in dec_main()
668 while ((s->index.size + (b->in_pos - s->in_start)) in dec_main()
670 if (b->in_pos == b->in_size) { in dec_main()
675 if (b->in[b->in_pos++] != 0) in dec_main()
742 in_start = b->in_pos; in xz_dec_run()
748 ret = b->in_pos == b->in_size in xz_dec_run()
752 b->in_pos = in_start; in xz_dec_run()
755 } else if (ret == XZ_OK && in_start == b->in_pos in xz_dec_run()