Lines Matching refs:pending_buf
284 /* We overlay pending_buf and sym_buf. This works since the average size
293 * sym_buf starts one-fourth of the way into pending_buf. So there are
294 * three bytes in sym_buf for every four bytes in pending_buf. Each symbol
298 * 31 bits are written to pending_buf. The closest the written pending_buf
302 * 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1
323 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
327 s->pending_buf == Z_NULL) {
333 s->sym_buf = s->pending_buf + s->lit_bufsize;
406 s->pending_out = s->pending_buf;
595 * pending_buf.
626 strm->state->pending_out = strm->state->pending_buf;
695 strm->adler = crc32(strm->adler, s->pending_buf,
738 strm->adler = crc32(strm->adler, s->pending_buf + beg,
749 strm->adler = crc32(strm->adler, s->pending_buf + beg,
767 strm->adler = crc32(strm->adler, s->pending_buf + beg,
780 strm->adler = crc32(strm->adler, s->pending_buf + beg,
798 strm->adler = crc32(strm->adler, s->pending_buf + beg,
811 strm->adler = crc32(strm->adler, s->pending_buf + beg,
963 TRY_FREE(strm, strm->state->pending_buf);
1007 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
1010 ds->pending_buf == Z_NULL) {
1018 zmemcpy(ds->pending_buf, ss->pending_buf, (uInt)ds->pending_buf_size);
1020 ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf);
1021 ds->sym_buf = ds->pending_buf + ds->lit_bufsize;
1506 * window to pending_buf.
1512 /* Stored blocks are limited to 0xffff bytes, pending_buf is limited
1540 /* Emit a stored block if pending_buf will be full: */