Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Drangeset.cpp33 blocks_ = 0; in RangeSet()
91 if (blocks_ >= SIZE_MAX - sz) { in PushBack()
97 blocks_ += sz; in PushBack()
103 blocks_ = 0; in Clear()
109 if (blocks_ < groups) { in Split()
110 groups = blocks_; in Split()
114 size_t mean = blocks_ / groups; in Split()
116 std::fill_n(blocks_per_group.begin(), blocks_ % groups, mean + 1); in Split()
160 CHECK_LT(idx, blocks_) << "Out of bound index " << idx << " (total blocks: " << blocks_ << ")"; in GetBlockNumber()
215 blocks_ += (to_insert.second - to_insert.first); in Insert()
[all …]
/bootable/recovery/otautil/include/otautil/
Drangeset.h29 RangeSet() : blocks_(0) {} in RangeSet()
67 return blocks_; in blocks()
124 size_t blocks_; variable
/bootable/recovery/updater/include/private/
Dcommands.h111 blocks_ = ranges_.blocks(); in SourceInfo()
113 blocks_ += stash.ranges().blocks(); in SourceInfo()
139 return blocks_; in blocks()
161 size_t blocks_{ 0 };
/bootable/recovery/updater/
Dcommands.cpp392 os << source.blocks_ << " blocks (" << source.hash_ << "): "; in operator <<()