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;
299 dict->limit = 0;
303 /* Set dictionary write limit */
307 dict->limit = dict->end;
309 dict->limit = dict->pos + out_max;
315 return dict->pos < dict->limit;
358 left = min_t(size_t, dict->limit - dict->pos, *len);
552 uint16_t *probs, uint32_t limit)
561 } while (symbol < limit);
569 uint32_t *dest, uint32_t limit)
581 } while (++i < limit);
585 static inline void rc_direct(struct rc_dec *rc, uint32_t *dest, uint32_t limit)
596 } while (--limit > 0);
655 uint32_t limit;
659 limit = LEN_LOW_SYMBOLS;
664 limit = LEN_MID_SYMBOLS;
668 limit = LEN_HIGH_SYMBOLS;
674 s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit;
682 uint32_t limit;
698 limit = (dist_slot >> 1) - 1;
702 s->lzma.rep0 <<= limit;
706 &s->lzma.rep0, limit);
708 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS);
868 * The LZMA decoder assumes that if the input limit (s->rc.in_limit) hasn't
1095 * Set dictionary limit to indicate how much we want
1243 * size so we do it here. We have to limit the maximum size