Home
last modified time | relevance | path

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

/base/update/updater/services/applypatch/
Dblock_writer.cpp25 return blockIndex_ == bs_.CountOfRanges() && currentBlockLeft_ == 0; in IsWriteDone()
51 LOG(DEBUG) << "blockIndex = " << blockIndex_; in Write()
55 if (blockIndex_ >= bs_.CountOfRanges()) { in Write()
60 const BlockPair &bp = bs_[blockIndex_]; in Write()
65 blockIndex_++; in Write()
68 … LOG(ERROR) << "BlockWriter: Cannot seek to offset: " << offset << " Block index: " << blockIndex_; in Write()
72 … LOG(DEBUG) << "Current block " << blockIndex_ << " left " << currentBlockLeft_ << " to written."; in Write()
/base/update/updater/services/include/applypatch/
Dblock_writer.h29 BlockWriter(int fd, BlockSet& bs) : fd_(fd), bs_(bs), totalWritten_(0), blockIndex_(0), in BlockWriter()
41 size_t blockIndex_; variable