Lines Matching defs:copy
227 unsigned long length; /* literal or length of data to copy */
228 unsigned long offset; /* distance back to copy string from */
229 unsigned long copy; /* number of stored or match bytes to copy */
230 unsigned char FAR *from; /* where to copy match bytes from */
237 unsigned len; /* length to copy for repeats, bits to drop */
317 /* copy stored block from input to output */
319 copy = length;
322 if (copy > have) copy = have;
323 if (copy > left) copy = left;
324 zmemcpy(put, next, copy);
325 have -= copy;
326 next += copy;
327 left -= copy;
328 put += copy;
329 length -= copy;
395 copy = 3 + BITS(2);
402 copy = 3 + BITS(3);
409 copy = 11 + BITS(7);
412 if (state->have + copy > state->nlen + state->ndist) {
417 while (copy--)
551 /* copy match from window to output */
554 copy = WSIZE - offset;
555 if (copy < left) {
556 from = put + copy;
557 copy = left - copy;
561 copy = left;
563 if (copy > length) copy = length;
564 length -= copy;
565 left -= copy;
568 } while (--copy);