Lines Matching defs:copy
263 unsigned copy; /* number of stored or match bytes to copy */
264 unsigned char FAR *from; /* where to copy match bytes from */
267 unsigned len; /* length to copy for repeats, bits to drop */
340 /* copy stored block from input to output */
342 copy = state->length;
345 if (copy > have) copy = have;
346 if (copy > left) copy = left;
347 zmemcpy(put, next, copy);
348 have -= copy;
349 next += copy;
350 left -= copy;
351 put += copy;
352 state->length -= copy;
419 copy = 3 + BITS(2);
426 copy = 3 + BITS(3);
433 copy = 11 + BITS(7);
436 if (state->have + copy > state->nlen + state->ndist) {
441 while (copy--)
585 /* copy match from window to output */
588 copy = state->wsize - state->offset;
589 if (copy < left) {
590 from = put + copy;
591 copy = left - copy;
595 copy = left;
597 if (copy > state->length) copy = state->length;
598 state->length -= copy;
599 left -= copy;
602 } while (--copy);