Home
last modified time | relevance | path

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

/aosp12/bootable/recovery/applypatch/
H A Dimgpatch.cpp56 size_t expected_target_length = static_cast<size_t>(Read8(deflate_header + 32)); in ApplyBSDiffPatchAndStreamOutput() local
57 CHECK_GT(expected_target_length, static_cast<size_t>(0)); in ApplyBSDiffPatchAndStreamOutput()
81 auto compression_sink = [&strm, &actual_target_length, &expected_target_length, &total_written, in ApplyBSDiffPatchAndStreamOutput()
90 if (actual_target_length + len < expected_target_length) { in ApplyBSDiffPatchAndStreamOutput()
125 if (expected_target_length != actual_target_length) { in ApplyBSDiffPatchAndStreamOutput()
126 LOG(ERROR) << "target length is expected to be " << expected_target_length << ", but it's " in ApplyBSDiffPatchAndStreamOutput()