HomeSort by relevance Sort by last modified time
    Searched refs:actual_length (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/perf_data_converter/src/quipper/
buffer_reader.cc 22 size_t actual_length = strnlen(buffer_ + offset_, size);
23 *str = string(buffer_ + offset_, actual_length);
file_reader.cc 43 size_t actual_length = strnlen(str->data(), size);
44 str->resize(actual_length);
  /frameworks/av/media/mtp/
MtpEventPacket.cpp 67 mPacketSize = req->actual_length;
68 return req->actual_length;
  /external/u-boot/drivers/usb/gadget/
ep0.c 64 urb->actual_length = 2;
78 urb->actual_length = 0;
98 urb->actual_length = 1; /* XXX 2? */
118 /* urb->actual_length, urb->buffer_length, max_buf, max_length, data); */
132 /* urb->actual_length, urb->buffer_length, max_buf, max_length, length); */
135 /*urb->buffer_length */ max_buf - urb->actual_length) <= 0) {
139 /* urb->actual_length, urb->buffer_length, max_buf, length, available); */
145 /* urb->actual_length, urb->buffer_length, max_buf, length, available); */
147 memcpy (urb->buffer + urb->actual_length, data, length);
148 urb->actual_length += length
    [all...]
pxa27x_udc.c 46 * The total amount of data in the urb is given by urb->actual_length.
63 if (!urb || !urb->actual_length)
66 n = min_t(unsigned int, urb->actual_length - endpoint->sent,
74 urb->buffer, urb->buffer_length, urb->actual_length);
118 if (endpoint->sent >= urb->actual_length) {
119 urb->actual_length = 0;
124 if ((endpoint->sent >= urb->actual_length) && (!ep_num)) {
145 urb->buffer, urb->buffer_length, urb->actual_length);
157 data32[urb->actual_length / 4 + i / 4] = readl(UDCDN(ep_num));
159 udc_dump_buffer("urb read", (u8 *) data32, urb->actual_length + n)
    [all...]
core.c 346 /* if we had an urb then update actual_length, dispatch if neccessary */
350 /*rcv_urb->actual_length, rcv_urb->buffer_length); */
354 /*usbdbg("updating actual_length by %d\n",len); */
357 rcv_urb->actual_length += len;
361 rcv_urb->actual_length, rcv_urb->buffer_length, urb_bad);
363 rcv_urb->actual_length = 0;
393 if( (endpoint->tx_urb->actual_length - endpoint->sent) <= 0 ) {
394 tx_urb->actual_length = 0;
designware_udc.c 252 * by urb->actual_length. The maximum amount of data that can be sent in any
268 UDCDBGA("urb->buffer %p, buffer_length %d, actual_length %d",
269 urb->buffer, urb->buffer_length, urb->actual_length);
271 last = min_t(u32, urb->actual_length - endpoint->sent,
335 * ep0_urb->actual_length.
421 * all of the bytes in our tx urb (urb->actual_length)
428 if ((endpoint->sent == ep0_urb->actual_length) &&
429 ((ep0_urb->actual_length == wLength) ||
475 u8 *cp = urb->buffer + urb->actual_length;
504 (endpoint->tx_urb->actual_length - endpoint->sent
    [all...]
  /external/v8/src/profiler/
strings-storage.cc 76 int actual_length = 0; local
78 DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, &actual_length);
79 return AddOrDisposeString(data.release(), actual_length);
94 int actual_length = 0; local
96 DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, &actual_length);
98 int cons_length = actual_length + static_cast<int>(strlen(prefix)) + 1;
  /external/webrtc/webrtc/p2p/base/
asyncstuntcpsocket.cc 105 size_t actual_length = expected_pkt_len + pad_bytes;
107 if (*len < actual_length) {
114 *len -= actual_length;
116 memmove(data, data + actual_length, *len);
  /external/webrtc/webrtc/test/testsupport/
packet_reader_unittest.cc 30 int actual_length,
33 EXPECT_EQ(static_cast<int>(expected_length), actual_length); local
36 actual_length));
  /external/libusb/examples/
sam3u_benchmark.c 62 printf("pack%u length:%u, actual_length:%u\n", i, pack->length, pack->actual_length);
66 printf("length:%u, actual_length:%u\n", xfr->length, xfr->actual_length);
67 for (i = 0; i < xfr->actual_length; i++) {
76 num_bytes += xfr->actual_length;
  /external/libusb/libusb/
sync.c 41 usbi_dbg("actual_length=%d", transfer->actual_length);
134 transfer->actual_length);
138 r = transfer->actual_length;
194 *transferred = transfer->actual_length;
  /external/u-boot/drivers/usb/musb/
musb_udc.c 343 ep0_urb->actual_length = 0;
459 if (0 != ep0_urb->actual_length) {
462 ep0_urb->actual_length,
467 if (ep0_urb->device_request.wLength == ep0_urb->actual_length) {
489 urb->actual_length;
500 data += urb->actual_length;
508 * urb's actual_length is updated in
545 if (ep0_endpoint->sent >= ep0_urb->actual_length) {
550 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent;
570 if (ep0_endpoint->sent >= ep0_urb->actual_length)
    [all...]
  /bionic/libc/kernel/uapi/linux/
usbdevice_fs.h 67 unsigned int actual_length; member in struct:usbdevfs_iso_packet_desc
77 int actual_length; member in struct:usbdevfs_urb
  /external/kernel-headers/original/uapi/linux/
usbdevice_fs.h 93 unsigned int actual_length; member in struct:usbdevfs_iso_packet_desc
104 int actual_length; member in struct:usbdevfs_urb
  /external/libusb/libusb/os/
linux_usbfs.h 80 unsigned int actual_length; member in struct:usbfs_iso_packet_desc
95 int actual_length; member in struct:usbfs_urb
  /device/google/cuttlefish_common/guest/commands/usbforward/
usb_server.h 68 const uint8_t* buffer, int32_t actual_length);
usb_server.cpp 249 int32_t actual_length) {
255 fd_->Write(&actual_length, sizeof(actual_length));
256 if (actual_length > 0) {
260 while (sent < actual_length) {
261 int packet_size = fd_->Write(&buffer[sent], actual_length - sent);
263 ALOGV("Sending response, %d / %d bytes sent", sent, actual_length);
transport_request.cpp 84 treq->callback_(req->status == 0, treq->Buffer(), req->actual_length);
  /device/google/cuttlefish_common/host/commands/virtual_usb_manager/usbip/
messages.h 80 uint32_t actual_length; member in struct:vadb::usbip::CmdRepSubmit
  /external/sfntly/cpp/src/sfntly/data/
byte_array.cc 56 int32_t actual_length = std::min<int32_t>(length, filled_length_ - index); local
57 return InternalGet(index, b, offset, actual_length);
91 int32_t actual_length = std::min<int32_t>(length, Size() - index); local
92 int32_t bytes_written = InternalPut(index, b, offset, actual_length);
  /external/u-boot/drivers/usb/musb-new/
usb-compat.h 41 u32 actual_length; /* (return) actual transfer length */ member in struct:urb
musb_host.c 223 /* actual_length may be nonzero on retry paths */
224 buf = urb->transfer_buffer + urb->actual_length;
225 len = urb->transfer_buffer_length - urb->actual_length;
303 urb->actual_length, urb->transfer_buffer_length
492 urb->actual_length += length;
493 d->actual_length = length;
511 urb->actual_length += length;
515 done = (urb->actual_length == urb->transfer_buffer_length)
521 && (urb->actual_length
899 fifo_dest = urb->transfer_buffer + urb->actual_length;
    [all...]
  /external/u-boot/drivers/serial/
usbtty.c 824 space = current_urb->buffer_length - current_urb->actual_length;
860 if(endpoint->sent < current_urb->actual_length){
880 current_urb->actual_length;
884 current_urb->actual_length;
892 current_urb->actual_length += popped;
917 if (endpoint->rcv_urb && endpoint->rcv_urb->actual_length) {
922 if(rx_avail >= endpoint->rcv_urb->actual_length){
924 nb = endpoint->rcv_urb->actual_length;
926 endpoint->rcv_urb->actual_length = 0;
1005 urb->actual_length = sizeof(rs232_desc)
    [all...]
  /external/webrtc/webrtc/base/
testutils.h 475 size_t actual_length)
477 if ((expected_length == actual_length)
486 size_t buffer_size = actual_length * 2 + 1;
489 reinterpret_cast<const char*>(actual), actual_length);
490 msg << "\n Actual: " << buffer << " [" << actual_length << "]"; local
525 #define EXPECT_MEMEQ(expected, expected_length, actual, actual_length) \
527 actual, actual_length)
529 #define ASSERT_MEMEQ(expected, expected_length, actual, actual_length) \
531 actual, actual_length)

Completed in 577 milliseconds

1 2 3