Lines Matching defs:copy
262 * an instruction to copy previously uncompressed bytes to the output. The
263 * copy is from distance bytes back in the output stream, copying for length
272 * twelve copies the last four bytes three times. A simple forward copy
281 int len; /* length for copy */
282 int dist; /* distance for copy */
283 int copy; /* copy counter */
284 unsigned char *from, *to; /* copy pointers */
339 /* copy length bytes from distance bytes back */
343 copy = MAXWIN;
345 from += copy;
346 copy = dist;
348 copy -= s->next;
349 if (copy > len) copy = len;
350 len -= copy;
351 s->next += copy;
354 } while (--copy);