Lines Matching defs:copy
197 /* for small len, copy to input buffer, otherwise compress directly */
199 /* copy to input buffer, compress when full */
201 unsigned have, copy;
207 copy = state->size - have;
208 if (copy > len)
209 copy = (unsigned)len;
210 memcpy(state->in + have, buf, copy);
211 state->strm.avail_in += copy;
212 state->x.pos += copy;
213 buf = (const char *)buf + copy;
214 len -= copy;