Lines Matching refs:curoff
1084 unsigned long size, curoff; member
1095 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
1096 tocopy = priv->size - priv->curoff; in memory_getfunc()
1097 memcpy (data, priv->data + priv->curoff, tocopy); in memory_getfunc()
1098 priv->curoff += tocopy; in memory_getfunc()
1109 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
1110 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc()
1111 priv->size = priv->curoff + sendlen; in memory_putfunc()
1113 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc()
1114 priv->curoff += sendlen; in memory_putfunc()
1128 priv->curoff = 0; in ptp_init_recv_memory_handler()
1148 priv->curoff = 0; in ptp_init_send_memory_handler()