Lines Matching full:tocopy
217 unsigned long tocopy = wantlen;219 if (priv->curoff + tocopy > priv->size)220 tocopy = priv->size - priv->curoff;221 memcpy (data, priv->data + priv->curoff, tocopy);222 priv->curoff += tocopy;223 *gotlen = tocopy;