Lines Matching refs:blocks
131 if (result.blocks() != src_blocks) { in ParseTargetInfoAndSourceInfo()
133 android::base::StringPrintf("mismatching block count: %zu (%s) vs %zu", result.blocks(), in ParseTargetInfoAndSourceInfo()
168 if (src_blocks != result.blocks()) { in ParseTargetInfoAndSourceInfo()
169 *err = android::base::StringPrintf("mismatching block count: %zu (%s) vs %zu", result.blocks(), in ParseTargetInfoAndSourceInfo()
321 size_t start = locs.blocks(); in MoveRange()
324 size_t blocks = it->second - it->first; in MoveRange() local
325 start -= blocks; in MoveRange()
326 memmove(to + (it->first * block_size), from + (start * block_size), blocks * block_size); in MoveRange()
334 if (buffer->size() < blocks() * block_size) { in ReadAll()
350 std::vector<uint8_t> stash_buffer(stash.blocks() * block_size); in ReadAll()
360 LOG(INFO) << "Dumping hashes in hex for " << ranges_.blocks() << " source blocks"; in DumpBuffer()
362 const RangeSet& location = location_ ? location_ : RangeSet({ Range{ 0, ranges_.blocks() } }); in DumpBuffer()
363 for (size_t i = 0; i < ranges_.blocks(); i++) { in DumpBuffer()
381 os << target.blocks() << " blocks (" << target.hash_ << "): " << target.ranges_.ToString(); in operator <<()
386 os << stash.blocks() << " blocks (" << stash.id_ << "): " << stash.ranges_.ToString(); in operator <<()