Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance
/lib/xz/ |
D | xz_dec_lzma2.c | 377 size_t copy_size; in dict_uncompressed() local 381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed() 383 if (copy_size > dict->end - dict->pos) in dict_uncompressed() 384 copy_size = dict->end - dict->pos; in dict_uncompressed() 385 if (copy_size > *left) in dict_uncompressed() 386 copy_size = *left; in dict_uncompressed() 388 *left -= copy_size; in dict_uncompressed() 390 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed() 391 dict->pos += copy_size; in dict_uncompressed() 401 copy_size); in dict_uncompressed() [all …]
|
D | xz_dec_bcj.c | 401 size_t copy_size; in bcj_flush() local 403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush() 404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 405 b->out_pos += copy_size; in bcj_flush() 407 s->temp.filtered -= copy_size; in bcj_flush() 408 s->temp.size -= copy_size; in bcj_flush() 409 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()
|