Lines Matching defs:copy
206 /* for small len, copy to input buffer, otherwise compress directly */
208 /* copy to input buffer, compress when full */
210 unsigned have, copy;
215 copy = state->size - have;
216 if (copy > len)
217 copy = len;
218 memcpy(state->in + have, buf, copy);
219 strm->avail_in += copy;
220 state->x.pos += copy;
221 buf = (const char *)buf + copy;
222 len -= copy;