Searched refs:sendlen (Results 1 – 7 of 7) sorted by relevance
/external/libmtp/src/ |
D | libusb-glue.c | 1080 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()
|
D | libusb1-glue.c | 1105 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()
|
D | libopenusb1-glue.c | 1088 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()
|
D | ptp.c | 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() [all …]
|
D | ptp.h | 2380 unsigned long sendlen, 2591 uint16_t flags, uint64_t sendlen, 2595 uint16_t flags, uint64_t sendlen,
|
D | libmtp.h.in | 495 * @param sendlen the number of bytes available 504 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
|
D | libmtp.c | 238 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()
|