Home
last modified time | relevance | path

Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance

/busybox-1.35.0/archival/libarchive/unxz/
Dxz_dec_lzma2.c379 size_t copy_size; in dict_uncompressed() local
383 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
385 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
386 copy_size = dict->end - dict->pos; in dict_uncompressed()
387 if (copy_size > *left) in dict_uncompressed()
388 copy_size = *left; in dict_uncompressed()
390 *left -= copy_size; in dict_uncompressed()
392 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
393 dict->pos += copy_size; in dict_uncompressed()
403 copy_size); in dict_uncompressed()
[all …]
Dxz_dec_bcj.c407 size_t copy_size; in bcj_flush() local
409 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
410 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
411 b->out_pos += copy_size; in bcj_flush()
413 s->temp.filtered -= copy_size; in bcj_flush()
414 s->temp.size -= copy_size; in bcj_flush()
415 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
Dxz_dec_stream.c159 size_t copy_size = min_t(size_t, in fill_temp() local
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()
164 s->temp.pos += copy_size; in fill_temp()