Home
last modified time | relevance | path

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

/external/autotest/client/tests/kvm/tests/
Dvirtio_console.py429 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/
Dlibusb-glue.c1048 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()
Dptp.c138 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 …]
Dlibmtp.h458 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
Dlibmtp.h.in447 * @param sendlen the number of bytes available
456 uint32_t sendlen, unsigned char *data, uint32_t *putlen);
Dptp.h1852 unsigned long sendlen,
Dlibmtp.c194 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()