Searched refs:file_length (Results 1 – 4 of 4) sorted by relevance
163 uint32_t file_length = mfr.length; in receiveFile() local182 while (file_length > 0 || write) { in receiveFile()183 if (file_length > 0) { in receiveFile()184 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()189 if (file_length != MAX_MTP_FILE_SIZE && ret < static_cast<int>(length)) { in receiveFile()218 if (file_length == MAX_MTP_FILE_SIZE) { in receiveFile()221 file_length = 0; in receiveFile()224 file_length -= ret; in receiveFile()247 uint64_t file_length = mfr.length; in sendFile() local249 file_length + sizeof(mtp_data_header)); in sendFile()[all …]
441 uint32_t file_length = mfr.length; in receiveFile() local461 while (file_length > 0 || has_write) { in receiveFile()463 if (file_length > 0) { in receiveFile()464 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()486 if (file_length > 0) { in receiveFile()519 if (file_length == MAX_MTP_FILE_SIZE) { in receiveFile()522 file_length = 0; in receiveFile()530 file_length -= ret; in receiveFile()558 uint64_t file_length = mfr.length; in sendFile() local560 file_length + sizeof(mtp_data_header)); in sendFile()[all …]
232 file_entry.file_length = rec.length233 stats_length_total += file_entry.file_length236 filename_stats[filename] = filename_stats.get(filename, 0) + file_entry.file_length
144 … FileEntry(id=entry.index_id, name=file_name, offset=entry.file_offset, length=entry.file_length)