Lines Matching refs:pending
407 s->pending = 0;
450 int ZEXPORT deflatePending (strm, pending, bits) in deflatePending() argument
451 unsigned *pending; in deflatePending()
456 if (pending != Z_NULL)
457 *pending = strm->state->pending;
516 if (err == Z_BUF_ERROR && s->pending == 0)
649 len = s->pending;
658 s->pending -= len;
659 if (s->pending == 0) {
730 s->pending);
767 uInt beg = s->pending; /* start of bytes to update crc */
770 if (s->pending == s->pending_buf_size) {
771 if (s->gzhead->hcrc && s->pending > beg)
773 s->pending - beg);
775 beg = s->pending;
776 if (s->pending == s->pending_buf_size)
782 if (s->gzhead->hcrc && s->pending > beg)
784 s->pending - beg);
795 uInt beg = s->pending; /* start of bytes to update crc */
799 if (s->pending == s->pending_buf_size) {
800 if (s->gzhead->hcrc && s->pending > beg)
802 s->pending - beg);
804 beg = s->pending;
805 if (s->pending == s->pending_buf_size) {
813 if (s->gzhead->hcrc && s->pending > beg)
815 s->pending - beg);
826 uInt beg = s->pending; /* start of bytes to update crc */
830 if (s->pending == s->pending_buf_size) {
831 if (s->gzhead->hcrc && s->pending > beg)
833 s->pending - beg);
835 beg = s->pending;
836 if (s->pending == s->pending_buf_size) {
844 if (s->gzhead->hcrc && s->pending > beg)
846 s->pending - beg);
855 if (s->pending + 2 > s->pending_buf_size)
857 if (s->pending + 2 <= s->pending_buf_size) {
870 if (s->pending != 0) {
975 return s->pending != 0 ? Z_OK : Z_STREAM_END;