Lines Matching refs:blocks
132 if (result.blocks() != src_blocks) { in ParseTargetInfoAndSourceInfo()
134 android::base::StringPrintf("mismatching block count: %zu (%s) vs %zu", result.blocks(), in ParseTargetInfoAndSourceInfo()
169 if (src_blocks != result.blocks()) { in ParseTargetInfoAndSourceInfo()
170 *err = android::base::StringPrintf("mismatching block count: %zu (%s) vs %zu", result.blocks(), in ParseTargetInfoAndSourceInfo()
322 size_t start = locs.blocks(); in MoveRange()
325 size_t blocks = it->second - it->first; in MoveRange() local
326 start -= blocks; in MoveRange()
327 memmove(to + (it->first * block_size), from + (start * block_size), blocks * block_size); in MoveRange()
335 if (buffer->size() < blocks() * block_size) { in ReadAll()
351 std::vector<uint8_t> stash_buffer(stash.blocks() * block_size); in ReadAll()
361 LOG(INFO) << "Dumping hashes in hex for " << ranges_.blocks() << " source blocks"; in DumpBuffer()
363 const RangeSet& location = location_ ? location_ : RangeSet({ Range{ 0, ranges_.blocks() } }); in DumpBuffer()
364 for (size_t i = 0; i < ranges_.blocks(); i++) { in DumpBuffer()
382 os << target.blocks() << " blocks (" << target.hash_ << "): " << target.ranges_.ToString(); in operator <<()
387 os << stash.blocks() << " blocks (" << stash.id_ << "): " << stash.ranges_.ToString(); in operator <<()