Lines Matching refs:temp
107 * temp.buf or the caller-provided input buffer.
275 } temp;
842 * s->temp.buf, which (hopefully) gets filled on the next call to this
852 if (s->temp.size > 0 || s->lzma2.compressed == 0) {
853 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size;
854 if (tmp > s->lzma2.compressed - s->temp.size)
855 tmp = s->lzma2.compressed - s->temp.size;
859 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp);
861 if (s->temp.size + tmp == s->lzma2.compressed) {
862 memzero(s->temp.buf + s->temp.size + tmp,
863 sizeof(s->temp.buf)
864 - s->temp.size - tmp);
865 s->rc.in_limit = s->temp.size + tmp;
866 } else if (s->temp.size + tmp < LZMA_IN_REQUIRED) {
867 s->temp.size += tmp;
871 s->rc.in_limit = s->temp.size + tmp - LZMA_IN_REQUIRED;
874 s->rc.in = s->temp.buf;
877 if (!lzma_main(s) || s->rc.in_pos > s->temp.size + tmp)
882 if (s->rc.in_pos < s->temp.size) {
883 s->temp.size -= s->rc.in_pos;
884 memmove(s->temp.buf, s->temp.buf + s->rc.in_pos,
885 s->temp.size);
889 b->in_pos += s->rc.in_pos - s->temp.size;
890 s->temp.size = 0;
919 memcpy(s->temp.buf, b->in + b->in_pos, in_avail);
920 s->temp.size = in_avail;
1084 && s->temp.size
1160 s->temp.size = 0;