Home
last modified time | relevance | path

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

/system/extras/partition_tools/
Dlpunpack.cc70 int output_fd_; member in SparseWriter
255 : output_fd_(output_fd), image_fd_(image_fd), block_size_(block_size) {} in SparseWriter()
300 if (lseek(output_fd_, hole_size_, SEEK_CUR) < 0) { in WriteBlock()
306 if (!android::base::WriteFully(output_fd_, data, block_size_)) { in WriteBlock()
315 off_t offset = lseek(output_fd_, 0, SEEK_CUR); in Finish()
320 if (ftruncate(output_fd_, offset + hole_size_) < 0) { in Finish()