Lines Matching defs:left
1123 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
1124 while (s->pending + left > s->pending_buf_size) {
1137 left -= copy;
1140 s->gzhead->extra + s->gzindex, left);
1141 s->pending += left;
1695 unsigned len, left, have, last = 0;
1699 * available input data and output space. Set left to how much of that
1700 * would be copied from what's left in the window.
1708 left = s->strstart - s->block_start; /* bytes left in window */
1709 if (len > (ulg)left + s->strm->avail_in)
1710 len = left + s->strm->avail_in; /* limit len to the input */
1721 len != left + s->strm->avail_in))
1727 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0;
1746 if (left) {
1747 if (left > len)
1748 left = len;
1749 zmemcpy(s->strm->next_out, s->window + s->block_start, left);
1750 s->strm->next_out += left;
1751 s->strm->avail_out -= left;
1752 s->strm->total_out += left;
1753 s->block_start += left;
1754 len -= left;
1845 left = s->strstart - s->block_start;
1846 if (left >= min_block ||
1847 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH &&
1848 s->strm->avail_in == 0 && left <= have)) {
1849 len = MIN(left, have);
1851 len == left ? 1 : 0;