Lines Matching refs:pending_buf
459 /* We overlay pending_buf and sym_buf. This works since the average size
468 * sym_buf starts one-fourth of the way into pending_buf. So there are
469 * three bytes in sym_buf for every four bytes in pending_buf. Each symbol
473 * 31 bits are written to pending_buf. The closest the written pending_buf
477 * 8*n bits into pending_buf. (Note that the symbol buffer fills when n - 1
498 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS);
502 s->pending_buf == Z_NULL) {
509 s->d_buf = (ushf *)(s->pending_buf + (s->lit_bufsize << 1));
510 s->l_buf = s->pending_buf + (s->lit_bufsize << 2);
513 s->sym_buf = s->pending_buf + s->lit_bufsize;
650 s->pending_out = s->pending_buf;
904 * pending_buf.
933 s->pending_out = s->pending_buf;
938 * Update the header CRC with the bytes s->pending_buf[beg..s->pending - 1].
943 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
1078 strm->adler = crc32(strm->adler, s->pending_buf,
1090 zmemcpy(s->pending_buf + s->pending,
1103 zmemcpy(s->pending_buf + s->pending,
1268 TRY_FREE(strm, strm->state->pending_buf);
1311 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS);
1314 ds->pending_buf == Z_NULL) {
1322 zmemcpy(ds->pending_buf, ss->pending_buf, ds->lit_bufsize * LIT_BUFS);
1324 ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf);
1326 ds->d_buf = (ushf *)(ds->pending_buf + (ds->lit_bufsize << 1));
1327 ds->l_buf = ds->pending_buf + (ds->lit_bufsize << 2);
1329 ds->sym_buf = ds->pending_buf
1676 s->pending_buf[s->pending - 4] = len;
1677 s->pending_buf[s->pending - 3] = len >> 8;
1678 s->pending_buf[s->pending - 2] = ~len;
1679 s->pending_buf[s->pending - 1] = ~len >> 8;