Lines Matching defs:temp
107 * temp.buf or the caller-provided input buffer.
275 } temp;
859 * s->temp.buf, which (hopefully) gets filled on the next call to this
869 if (s->temp.size > 0 || s->lzma2.compressed == 0) {
870 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size;
871 if (tmp > s->lzma2.compressed - s->temp.size)
872 tmp = s->lzma2.compressed - s->temp.size;
876 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp);
878 if (s->temp.size + tmp == s->lzma2.compressed) {
879 memzero(s->temp.buf + s->temp.size + tmp,
880 sizeof(s->temp.buf)
881 - s->temp.size - tmp);
882 s->rc.in_limit = s->temp.size + tmp;
883 } else if (s->temp.size + tmp < LZMA_IN_REQUIRED) {
884 s->temp.size += tmp;
888 s->rc.in_limit = s->temp.size + tmp - LZMA_IN_REQUIRED;
891 s->rc.in = s->temp.buf;
894 if (!lzma_main(s) || s->rc.in_pos > s->temp.size + tmp)
899 if (s->rc.in_pos < s->temp.size) {
900 s->temp.size -= s->rc.in_pos;
901 memmove(s->temp.buf, s->temp.buf + s->rc.in_pos,
902 s->temp.size);
906 b->in_pos += s->rc.in_pos - s->temp.size;
907 s->temp.size = 0;
936 memcpy(s->temp.buf, b->in + b->in_pos, in_avail);
937 s->temp.size = in_avail;
1105 && s->temp.size
1182 s->temp.size = 0;