Lines Matching refs:size
60 size_t size; member
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86() argument
103 if (size <= 4) in bcj_x86()
106 size -= 4; in bcj_x86()
107 for (i = 0; i < size; ++i) { in bcj_x86()
160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc() argument
165 for (i = 0; i + 4 <= size; i += 4) { in bcj_powerpc()
181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64() argument
222 for (i = 0; i + 16 <= size; i += 16) { in bcj_ia64()
265 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm() argument
270 for (i = 0; i + 4 <= size; i += 4) { in bcj_arm()
288 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb() argument
293 for (i = 0; i + 4 <= size; i += 2) { in bcj_armthumb()
316 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc() argument
321 for (i = 0; i + 4 <= size; i += 4) { in bcj_sparc()
346 uint8_t *buf, size_t *pos, size_t size) in bcj_apply() argument
351 size -= *pos; in bcj_apply()
356 filtered = bcj_x86(s, buf, size); in bcj_apply()
361 filtered = bcj_powerpc(s, buf, size); in bcj_apply()
366 filtered = bcj_ia64(s, buf, size); in bcj_apply()
371 filtered = bcj_arm(s, buf, size); in bcj_apply()
376 filtered = bcj_armthumb(s, buf, size); in bcj_apply()
381 filtered = bcj_sparc(s, buf, size); in bcj_apply()
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()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
452 b->out_pos += s->temp.size; in xz_dec_bcj_run()
469 s->temp.size = b->out_pos - out_start; in xz_dec_bcj_run()
470 b->out_pos -= s->temp.size; in xz_dec_bcj_run()
471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run()
478 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
496 b->out_pos = s->temp.size; in xz_dec_bcj_run()
501 s->temp.size = b->out_pos; in xz_dec_bcj_run()
509 bcj_apply(s, s->temp.buf, &s->temp.filtered, s->temp.size); in xz_dec_bcj_run()
517 s->temp.filtered = s->temp.size; in xz_dec_bcj_run()
569 s->temp.size = 0; in xz_dec_bcj_reset()