Lines Matching refs:copy
226 unsigned long length; /* literal or length of data to copy */
227 unsigned long offset; /* distance back to copy string from */
228 unsigned long copy; /* number of stored or match bytes to copy */
229 unsigned char FAR *from; /* where to copy match bytes from */
236 unsigned len; /* length to copy for repeats, bits to drop */
316 /* copy stored block from input to output */
318 copy = length;
321 if (copy > have) copy = have;
322 if (copy > left) copy = left;
323 zmemcpy(put, next, copy);
324 have -= copy;
325 next += copy;
326 left -= copy;
327 put += copy;
328 length -= copy;
394 copy = 3 + BITS(2);
401 copy = 3 + BITS(3);
408 copy = 11 + BITS(7);
411 if (state->have + copy > state->nlen + state->ndist) {
416 while (copy--)
550 /* copy match from window to output */
553 copy = WSIZE - offset;
554 if (copy < left) {
555 from = put + copy;
556 copy = left - copy;
560 copy = left;
562 if (copy > length) copy = length;
563 length -= copy;
564 left -= copy;
567 } while (--copy);