Home
last modified time | relevance | path

Searched refs:sendlen (Results 1 – 7 of 7) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c1080 unsigned long sendlen, unsigned char *data in memory_putfunc() argument
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()
Dlibusb1-glue.c1105 unsigned long sendlen, unsigned char *data in memory_putfunc() argument
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()
Dlibopenusb1-glue.c1088 unsigned long sendlen, unsigned char *data in memory_putfunc() argument
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()
Dptp.c159 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()
[all …]
Dptp.h2380 unsigned long sendlen,
2591 uint16_t flags, uint64_t sendlen,
2595 uint16_t flags, uint64_t sendlen,
Dlibmtp.h.in495 * @param sendlen the number of bytes available
504 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
Dlibmtp.c238 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned cha…
5166 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned cha… in put_func_wrapper() argument
5172 ret = handler->putfunc(params, handler->priv, sendlen, data, &local_putlen); in put_func_wrapper()
5177 if (local_putlen != sendlen) in put_func_wrapper()