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--)
574 /* copy match from window to output */
577 copy = state->wsize - state->offset;
578 if (copy < left) {
579 from = put + copy;
580 copy = left - copy;
584 copy = left;
586 if (copy > state->length) copy = state->length;
587 state->length -= copy;
588 left -= copy;
591 } while (--copy);