Lines Matching refs:copy

109                            unsigned copy);
366 updatewindow(z_streamp strm, const Bytef *end, unsigned copy) in updatewindow() argument
381 if (copy >= state->wsize) { in updatewindow()
388 if (dist > copy) dist = copy; in updatewindow()
389 zmemcpy(state->window + state->wnext, end - copy, dist); in updatewindow()
390 copy -= dist; in updatewindow()
391 if (copy) { in updatewindow()
392 zmemcpy(state->window, end - copy, copy); in updatewindow()
393 state->wnext = copy; in updatewindow()
565 unsigned copy; /* number of stored or match bytes to copy */ in inflate() local
685 copy = state->length; in inflate()
686 if (copy) { in inflate()
687 if (copy > have) copy = have; in inflate()
688 if (copy > left) copy = left; in inflate()
689 if (copy == 0) goto inf_leave; in inflate()
690 zmemcpy(put, next, copy); in inflate()
691 have -= copy; in inflate()
692 next += copy; in inflate()
693 left -= copy; in inflate()
694 put += copy; in inflate()
695 state->length -= copy; in inflate()
761 copy = 3 + BITS(2); in inflate()
768 copy = 3 + BITS(3); in inflate()
775 copy = 11 + BITS(7); in inflate()
778 if (state->have + copy > state->nlen + state->ndist) { in inflate()
783 while (copy--) in inflate()
929 copy = out - left; in inflate()
930 if (state->offset > copy) { /* copy from window */ in inflate()
931 copy = state->offset - copy; in inflate()
932 if (copy > state->whave) { in inflate()
940 copy -= state->whave; in inflate()
941 if (copy > state->length) copy = state->length; in inflate()
942 if (copy > left) copy = left; in inflate()
943 left -= copy; in inflate()
944 state->length -= copy; in inflate()
947 } while (--copy); in inflate()
952 if (copy > state->wnext) { in inflate()
953 copy -= state->wnext; in inflate()
954 from = state->window + (state->wsize - copy); in inflate()
957 from = state->window + (state->wnext - copy); in inflate()
958 if (copy > state->length) copy = state->length; in inflate()
962 copy = state->length; in inflate()
964 if (copy > left) copy = left; in inflate()
965 left -= copy; in inflate()
966 state->length -= copy; in inflate()
969 } while (--copy); in inflate()