Lines Matching defs:copy
252 unsigned copy; /* number of stored or match bytes to copy */
253 unsigned char FAR *from; /* where to copy match bytes from */
256 unsigned len; /* length to copy for repeats, bits to drop */
329 /* copy stored block from input to output */
331 copy = state->length;
334 if (copy > have) copy = have;
335 if (copy > left) copy = left;
336 zmemcpy(put, next, copy);
337 have -= copy;
338 next += copy;
339 left -= copy;
340 put += copy;
341 state->length -= copy;
408 copy = 3 + BITS(2);
415 copy = 3 + BITS(3);
422 copy = 11 + BITS(7);
425 if (state->have + copy > state->nlen + state->ndist) {
430 while (copy--)
575 /* copy match from window to output */
578 copy = state->wsize - state->offset;
579 if (copy < left) {
580 from = put + copy;
581 copy = left - copy;
585 copy = left;
587 if (copy > state->length) copy = state->length;
588 state->length -= copy;
589 left -= copy;
592 } while (--copy);