Lines Matching refs:in_avail
1990 size_t in_avail; in lzma2_lzma() local
1993 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
1998 if (tmp > in_avail) in lzma2_lzma()
1999 tmp = in_avail; in lzma2_lzma()
2035 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
2036 if (in_avail >= LZMA_IN_REQUIRED) { in lzma2_lzma()
2040 if (in_avail >= s->lzma2.compressed + LZMA_IN_REQUIRED) in lzma2_lzma()
2048 in_avail = s->rc.in_pos - b->in_pos; in lzma2_lzma()
2049 if (in_avail > s->lzma2.compressed) return 0; in lzma2_lzma()
2051 s->lzma2.compressed -= in_avail; in lzma2_lzma()
2055 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
2056 if (in_avail < LZMA_IN_REQUIRED) { in lzma2_lzma()
2057 if (in_avail > s->lzma2.compressed) in lzma2_lzma()
2058 in_avail = s->lzma2.compressed; in lzma2_lzma()
2060 memcpy(s->temp.buf, b->in + b->in_pos, in_avail); in lzma2_lzma()
2061 s->temp.size = in_avail; in lzma2_lzma()
2062 b->in_pos += in_avail; in lzma2_lzma()