Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/archival/libarchive/unxz/ |
D | xz_dec_lzma2.c | 379 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 …]
|
D | xz_dec_bcj.c | 407 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()
|
D | xz_dec_stream.c | 159 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()
|