Lines Matching defs:copy
237 unsigned long length; /* literal or length of data to copy */
238 unsigned long offset; /* distance back to copy string from */
239 unsigned long copy; /* number of stored or match bytes to copy */
240 unsigned char FAR *from; /* where to copy match bytes from */
247 unsigned len; /* length to copy for repeats, bits to drop */
328 /* copy stored block from input to output */
330 copy = length;
333 if (copy > have) copy = have;
334 if (copy > left) copy = left;
335 zmemcpy(put, next, copy);
336 have -= copy;
337 next += copy;
338 left -= copy;
339 put += copy;
340 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--)
562 /* copy match from window to output */
565 copy = WSIZE - offset;
566 if (copy < left) {
567 from = put + copy;
568 copy = left - copy;
572 copy = left;
574 if (copy > length) copy = length;
575 length -= copy;
576 left -= copy;
579 } while (--copy);