Home
last modified time | relevance | path

Searched refs:diff_size (Results 1 – 23 of 23) sorted by relevance

/external/bsdiff/
Ddiff_encoder.cc27 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()
[all …]
Dsplit_patch_writer.cc45 while (written_output_ + remaining.diff_size + remaining.extra_size >= in AddControlEntry()
55 current_patch_entry.diff_size = in AddControlEntry()
56 std::min(remaining.diff_size, remaining_bytes); in AddControlEntry()
57 remaining_bytes -= current_patch_entry.diff_size; in AddControlEntry()
58 remaining.diff_size -= current_patch_entry.diff_size; in AddControlEntry()
68 if (remaining.diff_size + remaining.extra_size > 0) { in AddControlEntry()
79 if (!remaining.diff_size) { in AddControlEntry()
137 if (!entry.diff_size && !entry.extra_size && !entry.offset_increment) in AddControlEntryToCurrentPatch()
144 old_pos_ += entry.diff_size + entry.offset_increment; in AddControlEntryToCurrentPatch()
145 written_output_ += entry.diff_size + entry.extra_size; in AddControlEntryToCurrentPatch()
[all …]
Dendsley_patch_writer.cc104 pending_diff_ = entry.diff_size; in AddControlEntry()
111 pending_control_data_ += entry.diff_size + entry.extra_size; in AddControlEntry()
152 EncodeInt64(entry.diff_size, buf); in EmitControlEntry()
176 pending_diff_ = entry.diff_size; in Flush()
178 pending_control_data_ -= entry.extra_size + entry.diff_size; in Flush()
183 size_t diff_size = std::min(diff_data_.size() - used_diff, pending_diff_); in Flush() local
184 EmitBuffer(diff_data_.data() + used_diff, diff_size); in Flush()
185 pending_diff_ -= diff_size; in Flush()
186 used_diff += diff_size; in Flush()
Dpatch_reader.cc125 int64_t diff_size = ParseInt64(buf); in ParseControlEntry() local
132 if (diff_size < 0 || extra_size < 0) { in ParseControlEntry()
133 LOG(ERROR) << "Corrupt patch; diff_size: " << diff_size in ParseControlEntry()
138 control_entry->diff_size = diff_size; in ParseControlEntry()
Dpatch_reader_unittest.cc56 int64_t diff_size, in ConstructPatchHeader() argument
63 EncodeInt64(diff_size, buf + 8); in ConstructPatchHeader()
93 EXPECT_EQ(diff_data_[i].size(), control_entry.diff_size); in VerifyPatch()
112 int64_t diff_size, in InvalidHeaderTestHelper() argument
121 ConstructPatchHeader(ctrl_size, diff_size, new_size, &patch_data); in InvalidHeaderTestHelper()
126 << "Where ctrl_size=" << ctrl_size << " diff_size=" << diff_size in InvalidHeaderTestHelper()
Dbsdiff_unittest.cc62 EXPECT_EQ(some_text.size(), entry.diff_size); in TEST_F()
81 EXPECT_EQ(100U, entry.diff_size); in TEST_F()
102 EXPECT_EQ(100U, entry.diff_size); in TEST_F()
Dpatch_writer.cc124 EncodeInt64(entry.diff_size, buf); in AddControlEntry()
134 written_output_ += entry.diff_size + entry.extra_size; in AddControlEntry()
215 uint64_t diff_size) { in WriteHeader() argument
246 EncodeInt64(diff_size, header + 16); in WriteHeader()
Dbspatch.cc273 if (newpos + control_entry.diff_size > patch_reader.new_file_size()) { in bspatch()
302 std::min<uint64_t>(oldpos + control_entry.diff_size, old_file_size); in bspatch()
331 newpos += control_entry.diff_size; in bspatch()
332 oldpos += control_entry.diff_size; in bspatch()
Dpatch_writer.h57 bool WriteHeader(uint8_t types[3], uint64_t ctrl_size, uint64_t diff_size);
/external/bsdiff/include/bsdiff/
Dcontrol_entry.h11 ControlEntry(uint64_t diff_size, in ControlEntry()
14 : diff_size(diff_size), in ControlEntry()
19 uint64_t diff_size; member
28 return diff_size == o.diff_size && extra_size == o.extra_size &&
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles3-master.txt38996 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/
Dgles3-master.txt39017 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/android/cts/master/
Dgles3-master.txt38266 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/src/
Dgles3-master.txt36442 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/android/cts/mnc/src/
Dgles3-master.txt36442 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/android/cts/mnc/
Dgles3-master.txt36442 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/android/cts/nyc/src/
Dgles3-master.txt36587 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles3-master.txt36442 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/android/cts/nyc/
Dgles3-master.txt36587 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles3-master.txt40362 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/
Dgles3-master.txt39708 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/
Dgles3-master.txt39615 dEQP-GLES3.functional.vertex_array_objects.diff_size
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/master/
Dgles3-master.txt39726 dEQP-GLES3.functional.vertex_array_objects.diff_size