Home
last modified time | relevance | path

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

/system/update_engine/common/
Dhash_calculator.cc55 off_t bytes_processed = 0; in UpdateFile() local
56 while (length < 0 || bytes_processed < length) { in UpdateFile()
58 if (length >= 0 && bytes_to_read > length - bytes_processed) { in UpdateFile()
59 bytes_to_read = length - bytes_processed; in UpdateFile()
66 bytes_processed = -1; in UpdateFile()
69 bytes_processed += rc; in UpdateFile()
72 return bytes_processed; in UpdateFile()