Lines Matching refs:sendlen
159 uint16_t flags, uint64_t sendlen, in ptp_transaction_new() argument
177 uint16_t ret = params->senddata_func(params, ptp, sendlen, handler); in ptp_transaction_new()
260 unsigned long sendlen, unsigned char *data in memory_putfunc() argument
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()
357 unsigned long sendlen, unsigned char *data in fd_putfunc() argument
362 written = write (priv->fd, data, sendlen); in fd_putfunc()
363 if (written != sendlen) in fd_putfunc()
401 uint16_t flags, uint64_t sendlen, in ptp_transaction() argument
411 CHECK_PTP_RC(ptp_init_send_memory_handler (&handler, *data, sendlen)); in ptp_transaction()
423 ret = ptp_transaction_new (params, ptp, flags, sendlen, &handler); in ptp_transaction()