Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.cpp266 size_t write_now = size; in Write() local
267 if (current_range_left_ < write_now) { in Write()
268 write_now = current_range_left_; in Write()
271 if (!android::base::WriteFully(fd_, data, write_now)) { in Write()
273 PLOG(ERROR) << "Failed to write " << write_now << " bytes of data"; in Write()
277 data += write_now; in Write()
278 size -= write_now; in Write()
280 current_range_left_ -= write_now; in Write()
281 written += write_now; in Write()
380 size_t write_now = std::min(size, nti->writer->AvailableSpace()); in receive_new_data() local
[all …]