Lines Matching defs:copy
254 unsigned copy; /* number of stored or match bytes to copy */
255 unsigned char FAR *from; /* where to copy match bytes from */
258 unsigned len; /* length to copy for repeats, bits to drop */
331 /* copy stored block from input to output */
333 copy = state->length;
336 if (copy > have) copy = have;
337 if (copy > left) copy = left;
338 zmemcpy(put, next, copy);
339 have -= copy;
340 next += copy;
341 left -= copy;
342 put += copy;
343 state->length -= copy;
411 copy = 3 + BITS(2);
418 copy = 3 + BITS(3);
425 copy = 11 + BITS(7);
428 if (state->have + copy > state->nlen + state->ndist) {
433 while (copy--)
568 /* copy match from window to output */
571 copy = state->wsize - state->offset;
572 if (copy < left) {
573 from = put + copy;
574 copy = left - copy;
578 copy = left;
580 if (copy > state->length) copy = state->length;
581 state->length -= copy;
582 left -= copy;
585 } while (--copy);