Searched refs:read_len (Results 1 – 2 of 2) sorted by relevance
105 int read_len = std::min(USB_FFS_BULK_SIZE, len); in usb_ffs_read() local106 int n = read(h->bulk_out, buf, read_len); in usb_ffs_read()119 if (allow_partial && n < read_len) { in usb_ffs_read()
240 size_t read_len = min(count, max - buffer_.size()); in CopyDataToBuffer() local242 const char* bytes_end = bytes_start + read_len; in CopyDataToBuffer()246 *count_p = count - read_len; in CopyDataToBuffer()247 return read_len; in CopyDataToBuffer()