Lines Matching refs:temp
275 } temp; member
854 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
855 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; in lzma2_lzma()
856 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
857 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
861 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); in lzma2_lzma()
863 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
864 memzero(s->temp.buf + s->temp.size + tmp, in lzma2_lzma()
865 sizeof(s->temp.buf) in lzma2_lzma()
866 - s->temp.size - tmp); in lzma2_lzma()
867 s->rc.in_limit = s->temp.size + tmp; in lzma2_lzma()
868 } else if (s->temp.size + tmp < LZMA_IN_REQUIRED) { in lzma2_lzma()
869 s->temp.size += tmp; in lzma2_lzma()
873 s->rc.in_limit = s->temp.size + tmp - LZMA_IN_REQUIRED; in lzma2_lzma()
876 s->rc.in = s->temp.buf; in lzma2_lzma()
879 if (!lzma_main(s) || s->rc.in_pos > s->temp.size + tmp) in lzma2_lzma()
884 if (s->rc.in_pos < s->temp.size) { in lzma2_lzma()
885 s->temp.size -= s->rc.in_pos; in lzma2_lzma()
886 memmove(s->temp.buf, s->temp.buf + s->rc.in_pos, in lzma2_lzma()
887 s->temp.size); in lzma2_lzma()
891 b->in_pos += s->rc.in_pos - s->temp.size; in lzma2_lzma()
892 s->temp.size = 0; in lzma2_lzma()
921 memcpy(s->temp.buf, b->in + b->in_pos, in_avail); in lzma2_lzma()
922 s->temp.size = in_avail; in lzma2_lzma()
1083 && s->temp.size in xz_dec_lzma2_run()
1160 s->temp.size = 0; in xz_dec_lzma2_reset()