Lines Matching defs:copy
264 * an instruction to copy previously uncompressed bytes to the output. The
265 * copy is from distance bytes back in the output stream, copying for length
274 * twelve copies the last four bytes three times. A simple forward copy
283 int len; /* length for copy */
284 unsigned dist; /* distance for copy */
285 int copy; /* copy counter */
286 unsigned char *from, *to; /* copy pointers */
341 /* copy length bytes from distance bytes back */
345 copy = MAXWIN;
347 from += copy;
348 copy = dist;
350 copy -= s->next;
351 if (copy > len) copy = len;
352 len -= copy;
353 s->next += copy;
356 } while (--copy);