Lines Matching defs:copy
268 * an instruction to copy previously uncompressed bytes to the output. The
269 * copy is from distance bytes back in the output stream, copying for length
278 * twelve copies the last four bytes three times. A simple forward copy
287 int len; /* length for copy */
288 unsigned dist; /* distance for copy */
289 int copy; /* copy counter */
290 unsigned char *from, *to; /* copy pointers */
345 /* copy length bytes from distance bytes back */
349 copy = MAXWIN;
351 from += copy;
352 copy = dist;
354 copy -= s->next;
355 if (copy > len) copy = len;
356 len -= copy;
357 s->next += copy;
360 } while (--copy);