Searched refs:in_pos (Results 1 – 4 of 4) sorted by relevance
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 size_t *in_pos, size_t in_size) in dec_vli() argument183 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()[all …]
110 size_t in_pos; member379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()397 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()411 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()418 b->in_pos += copy_size; in dict_uncompressed()469 if (b->in_pos == b->in_size) in rc_read_init()472 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()482 return rc->in_pos > rc->in_limit; in rc_limit_exceeded()499 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()[all …]
75 buffers.in_pos = 0; in xz_dec_test_open()122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()123 buffers.in_pos = 0; in xz_dec_test_write()145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
295 b.in_pos = 0; in unxz()303 if (b.in_pos == b.in_size && fill != NULL) { in unxz()305 *in_used += b.in_pos; in unxz()307 b.in_pos = 0; in unxz()347 *in_used += b.in_pos; in unxz()