Lines Matching refs:size
60 size_t size; member
89 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86() argument
104 if (size <= 4) in bcj_x86()
107 size -= 4; in bcj_x86()
108 for (i = 0; i < size; ++i) { in bcj_x86()
162 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc() argument
167 for (i = 0; i + 4 <= size; i += 4) { in bcj_powerpc()
184 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64() argument
225 for (i = 0; i + 16 <= size; i += 16) { in bcj_ia64()
269 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm() argument
274 for (i = 0; i + 4 <= size; i += 4) { in bcj_arm()
293 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb() argument
298 for (i = 0; i + 4 <= size; i += 2) { in bcj_armthumb()
322 struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc() argument
327 for (i = 0; i + 4 <= size; i += 4) { in bcj_sparc()
352 uint8_t *buf, size_t *pos, size_t size) in bcj_apply() argument
357 size -= *pos; in bcj_apply()
362 filtered = bcj_x86(s, buf, size); in bcj_apply()
367 filtered = bcj_powerpc(s, buf, size); in bcj_apply()
372 filtered = bcj_ia64(s, buf, size); in bcj_apply()
377 filtered = bcj_arm(s, buf, size); in bcj_apply()
382 filtered = bcj_armthumb(s, buf, size); in bcj_apply()
387 filtered = bcj_sparc(s, buf, size); in bcj_apply()
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()
454 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
456 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
457 b->out_pos += s->temp.size; in xz_dec_bcj_run()
474 s->temp.size = b->out_pos - out_start; in xz_dec_bcj_run()
475 b->out_pos -= s->temp.size; in xz_dec_bcj_run()
476 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run()
483 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
501 b->out_pos = s->temp.size; in xz_dec_bcj_run()
506 s->temp.size = b->out_pos; in xz_dec_bcj_run()
514 bcj_apply(s, s->temp.buf, &s->temp.filtered, s->temp.size); in xz_dec_bcj_run()
522 s->temp.filtered = s->temp.size; in xz_dec_bcj_run()
575 s->temp.size = 0; in xz_dec_bcj_reset()