Lines Matching defs:limit
33 * pos <= limit <= end
60 /* Write limit; we don't write to buf[limit] or later bytes. */
61 size_t limit;
295 dict->limit = 0;
299 /* Set dictionary write limit */
303 dict->limit = dict->end;
305 dict->limit = dict->pos + out_max;
311 return dict->pos < dict->limit;
354 left = min_t(size_t, dict->limit - dict->pos, *len);
537 uint16_t *probs, uint32_t limit)
546 } while (symbol < limit);
554 uint32_t *dest, uint32_t limit)
566 } while (++i < limit);
570 static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit)
581 } while (--limit > 0);
640 uint32_t limit;
644 limit = LEN_LOW_SYMBOLS;
649 limit = LEN_MID_SYMBOLS;
653 limit = LEN_HIGH_SYMBOLS;
659 s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit;
667 uint32_t limit;
683 limit = (dist_slot >> 1) - 1;
687 s->lzma.rep0 <<= limit;
691 &s->lzma.rep0, limit);
693 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS);
852 * The LZMA decoder assumes that if the input limit (s->rc.in_limit) hasn't
1079 * Set dictionary limit to indicate how much we want