Lines Matching refs:diff_size
27 if (entry.diff_size > kMaxEncodedUint64Value) { in AddControlEntry()
28 LOG(ERROR) << "Encoding value out of range " << entry.diff_size; in AddControlEntry()
39 if (entry.diff_size + entry.extra_size > new_size_ - written_output_) { in AddControlEntry()
44 if (entry.diff_size > 0 && in AddControlEntry()
46 static_cast<uint64_t>(old_pos_) + entry.diff_size > old_size_)) { in AddControlEntry()
48 << (static_cast<uint64_t>(old_pos_) + entry.diff_size) in AddControlEntry()
58 std::vector<uint8_t> diff(entry.diff_size); in AddControlEntry()
59 for (uint64_t i = 0; i < entry.diff_size; ++i) { in AddControlEntry()
67 if (!patch_->WriteExtraStream(new_buf_ + written_output_ + entry.diff_size, in AddControlEntry()
74 old_pos_ += entry.diff_size + entry.offset_increment; in AddControlEntry()
75 written_output_ += entry.diff_size + entry.extra_size; in AddControlEntry()