Lines Matching refs:curoff
1059 unsigned long size, curoff; member
1070 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
1071 tocopy = priv->size - priv->curoff; in memory_getfunc()
1072 memcpy (data, priv->data + priv->curoff, tocopy); in memory_getfunc()
1073 priv->curoff += tocopy; in memory_getfunc()
1084 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
1085 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc()
1086 priv->size = priv->curoff + sendlen; in memory_putfunc()
1088 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc()
1089 priv->curoff += sendlen; in memory_putfunc()
1103 priv->curoff = 0; in ptp_init_recv_memory_handler()
1123 priv->curoff = 0; in ptp_init_send_memory_handler()