Home
last modified time | relevance | path

Searched refs:read_len (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/device/
Dusb.cpp105 int read_len = std::min(USB_FFS_BULK_SIZE, len); in usb_ffs_read() local
106 int n = read(h->bulk_out, buf, read_len); in usb_ffs_read()
119 if (allow_partial && n < read_len) { in usb_ffs_read()
/system/update_engine/payload_consumer/
Ddelta_performer.cc240 size_t read_len = min(count, max - buffer_.size()); in CopyDataToBuffer() local
242 const char* bytes_end = bytes_start + read_len; in CopyDataToBuffer()
246 *count_p = count - read_len; in CopyDataToBuffer()
247 return read_len; in CopyDataToBuffer()