Lines Matching defs:copy
191 /* for small len, copy to input buffer, otherwise compress directly */
193 /* copy to input buffer, compress when full */
195 unsigned have, copy;
201 copy = state->size - have;
202 if (copy > len)
203 copy = (unsigned)len;
204 memcpy(state->in + have, buf, copy);
205 state->strm.avail_in += copy;
206 state->x.pos += copy;
207 buf = (const char *)buf + copy;
208 len -= copy;