Lines Matching refs:curoff
1067 unsigned long size, curoff; member
1078 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
1079 tocopy = priv->size - priv->curoff; in memory_getfunc()
1080 memcpy(data, priv->data + priv->curoff, tocopy); in memory_getfunc()
1081 priv->curoff += tocopy; in memory_getfunc()
1092 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
1093 priv->data = realloc(priv->data, priv->curoff + sendlen); in memory_putfunc()
1094 priv->size = priv->curoff + sendlen; in memory_putfunc()
1096 memcpy(priv->data + priv->curoff, data, sendlen); in memory_putfunc()
1097 priv->curoff += sendlen; in memory_putfunc()
1111 priv->curoff = 0; in ptp_init_recv_memory_handler()
1132 priv->curoff = 0; in ptp_init_send_memory_handler()