Lines Matching refs:curoff
239 unsigned long size, curoff; member
250 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
251 tocopy = priv->size - priv->curoff; in memory_getfunc()
252 memcpy (data, priv->data + priv->curoff, tocopy); in memory_getfunc()
253 priv->curoff += tocopy; in memory_getfunc()
264 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
265 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc()
268 priv->size = priv->curoff + sendlen; in memory_putfunc()
270 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc()
271 priv->curoff += sendlen; in memory_putfunc()
288 priv->curoff = 0; in ptp_init_recv_memory_handler()
308 priv->curoff = 0; in ptp_init_send_memory_handler()