Home
last modified time | relevance | path

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

/system/extras/partition_tools/
Dlpunpack.cc73 off_t hole_size_ = 0; member in SparseWriter
295 hole_size_ += block_size_; in WriteBlock()
299 if (hole_size_) { in WriteBlock()
300 if (lseek(output_fd_, hole_size_, SEEK_CUR) < 0) { in WriteBlock()
304 hole_size_ = 0; in WriteBlock()
314 if (hole_size_) { in Finish()
320 if (ftruncate(output_fd_, offset + hole_size_) < 0) { in Finish()