Home | History | Annotate | Download | only in zlib

Lines Matching defs:copy

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