Searched refs:sendlen (Results 1 – 7 of 7) sorted by relevance
/external/autotest/client/tests/kvm/tests/ |
D | virtio_console.py | 429 def __init__(self, port, buffer, event, blocklen=1024, sendlen=0): argument 443 self.sendlen = sendlen + 1 # >= 450 minsendidx = self.sendlen 493 (self.sendlen - sendidx)) 511 (self.sendlen - sendidx)) 512 sendidx = self.sendlen 517 if (self.sendlen - minsendidx): 521 (self.sendlen - minsendidx)) 1292 sendlen = 2*2*max(2048, parms[2]) 1296 sendlen = 1000 * sendlen [all …]
|
/external/libmtp/src/ |
D | libusb-glue.c | 1048 unsigned long sendlen, unsigned char *data, in memory_putfunc() argument 1053 if (priv->curoff + sendlen > priv->size) { in memory_putfunc() 1054 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc() 1055 priv->size = priv->curoff + sendlen; in memory_putfunc() 1057 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc() 1058 priv->curoff += sendlen; in memory_putfunc() 1059 *putlen = sendlen; in memory_putfunc()
|
D | ptp.c | 138 uint16_t flags, unsigned int sendlen, in ptp_transaction_new() argument 156 sendlen, handler); in ptp_transaction_new() 229 unsigned long sendlen, unsigned char *data, in memory_putfunc() argument 234 if (priv->curoff + sendlen > priv->size) { in memory_putfunc() 235 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc() 236 priv->size = priv->curoff + sendlen; in memory_putfunc() 238 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc() 239 priv->curoff += sendlen; in memory_putfunc() 240 *putlen = sendlen; in memory_putfunc() 322 unsigned long sendlen, unsigned char *data, in fd_putfunc() argument [all …]
|
D | libmtp.h | 458 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
|
D | libmtp.h.in | 447 * @param sendlen the number of bytes available 456 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
|
D | ptp.h | 1852 unsigned long sendlen,
|
D | libmtp.c | 194 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned cha… 4679 static uint16_t put_func_wrapper(PTPParams* params, void* priv, unsigned long sendlen, unsigned cha… in put_func_wrapper() argument 4684 ret = handler->putfunc(params, handler->priv, sendlen, data, &local_putlen); in put_func_wrapper()
|