Lines Matching refs:pending_buf

460     /* We overlay pending_buf and sym_buf. This works since the average size
469 * sym_buf starts one-fourth of the way into pending_buf. So there are
470 * three bytes in sym_buf for every four bytes in pending_buf. Each symbol
474 * 31 bits are written to pending_buf. The closest the written pending_buf
478 * 8*n bits into pending_buf. (Note that the symbol buffer fills when n - 1
499 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS);
503 s->pending_buf == Z_NULL) {
510 s->d_buf = (ushf *)(s->pending_buf + (s->lit_bufsize << 1));
511 s->l_buf = s->pending_buf + (s->lit_bufsize << 2);
514 s->sym_buf = s->pending_buf + s->lit_bufsize;
652 s->pending_out = s->pending_buf;
908 * pending_buf.
939 s->pending_out = s->pending_buf;
944 * Update the header CRC with the bytes s->pending_buf[beg..s->pending - 1].
949 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
1084 strm->adler = crc32(strm->adler, s->pending_buf,
1096 zmemcpy(s->pending_buf + s->pending,
1109 zmemcpy(s->pending_buf + s->pending,
1274 TRY_FREE(strm, strm->state->pending_buf);
1317 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS);
1320 ds->pending_buf == Z_NULL) {
1328 zmemcpy(ds->pending_buf, ss->pending_buf, ds->lit_bufsize * LIT_BUFS);
1330 ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf);
1332 ds->d_buf = (ushf *)(ds->pending_buf + (ds->lit_bufsize << 1));
1333 ds->l_buf = ds->pending_buf + (ds->lit_bufsize << 2);
1335 ds->sym_buf = ds->pending_buf + ds->lit_bufsize;
1686 s->pending_buf[s->pending - 4] = len;
1687 s->pending_buf[s->pending - 3] = len >> 8;
1688 s->pending_buf[s->pending - 2] = ~len;
1689 s->pending_buf[s->pending - 1] = ~len >> 8;