Lines Matching refs:pending_buf

496     /* We overlay pending_buf and sym_buf. This works since the average size
505 * sym_buf starts one-fourth of the way into pending_buf. So there are
506 * three bytes in sym_buf for every four bytes in pending_buf. Each symbol
510 * 31 bits are written to pending_buf. The closest the written pending_buf
514 * 8*n bits into pending_buf. (Note that the symbol buffer fills when n - 1
535 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 5);
537 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
542 s->pending_buf == Z_NULL) {
549 s->d_buf = (ushf *)(s->pending_buf + (s->lit_bufsize << 1));
550 s->l_buf = s->pending_buf + (s->lit_bufsize << 2);
553 s->sym_buf = s->pending_buf + s->lit_bufsize;
686 s->pending_out = s->pending_buf;
940 * pending_buf.
969 s->pending_out = s->pending_buf;
974 * Update the header CRC with the bytes s->pending_buf[beg..s->pending - 1].
979 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
1114 strm->adler = crc32(strm->adler, s->pending_buf,
1126 zmemcpy(s->pending_buf + s->pending,
1139 zmemcpy(s->pending_buf + s->pending,
1305 TRY_FREE(strm, strm->state->pending_buf);
1349 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 5);
1351 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
1355 ds->pending_buf == Z_NULL) {
1364 zmemcpy(ds->pending_buf, ss->pending_buf, (uInt)ds->lit_bufsize * 5);
1366 zmemcpy(ds->pending_buf, ss->pending_buf, (uInt)ds->pending_buf_size);
1369 ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf);
1371 ds->d_buf = (ushf *)(ds->pending_buf + (ds->lit_bufsize << 1));
1372 ds->l_buf = ds->pending_buf + (ds->lit_bufsize << 2);
1374 ds->sym_buf = ds->pending_buf + ds->lit_bufsize;
1731 s->pending_buf[s->pending - 4] = len;
1732 s->pending_buf[s->pending - 3] = len >> 8;
1733 s->pending_buf[s->pending - 2] = ~len;
1734 s->pending_buf[s->pending - 1] = ~len >> 8;