Lines Matching defs:copy
250 unsigned copy; /* number of stored or match bytes to copy */
251 unsigned char FAR *from; /* where to copy match bytes from */
254 unsigned len; /* length to copy for repeats, bits to drop */
327 /* copy stored block from input to output */
329 copy = state->length;
332 if (copy > have) copy = have;
333 if (copy > left) copy = left;
334 zmemcpy(put, next, copy);
335 have -= copy;
336 next += copy;
337 left -= copy;
338 put += copy;
339 state->length -= copy;
406 copy = 3 + BITS(2);
413 copy = 3 + BITS(3);
420 copy = 11 + BITS(7);
423 if (state->have + copy > state->nlen + state->ndist) {
428 while (copy--)
573 /* copy match from window to output */
576 copy = state->wsize - state->offset;
577 if (copy < left) {
578 from = put + copy;
579 copy = left - copy;
583 copy = left;
585 if (copy > state->length) copy = state->length;
586 state->length -= copy;
587 left -= copy;
590 } while (--copy);