Searched refs:bsdiff_patch (Results 1 – 2 of 2) sorted by relevance
/external/puffin/src/ |
D | puffdiff.cc | 52 bool CreatePatch(const Buffer& bsdiff_patch, in CreatePatch() argument 75 bsdiff_patch.size()); in CreatePatch() 89 memcpy(patch->data() + offset, bsdiff_patch.data(), bsdiff_patch.size()); in CreatePatch() 91 if (bsdiff_patch.size() > patch->size()) { in CreatePatch() 139 auto bsdiff_patch = FileStream::Open(tmp_filepath, true, false); in PuffDiff() local 140 TEST_AND_RETURN_FALSE(bsdiff_patch); in PuffDiff() 142 TEST_AND_RETURN_FALSE(bsdiff_patch->GetSize(&patch_size)); in PuffDiff() 145 bsdiff_patch->Read(bsdiff_patch_buf.data(), bsdiff_patch_buf.size())); in PuffDiff() 146 TEST_AND_RETURN_FALSE(bsdiff_patch->Close()); in PuffDiff()
|
/external/puffin/scripts/ |
D | measure_patch_size.py | 74 tempfile.NamedTemporaryFile() as bsdiff_patch: 90 cmd = ['bsdiff', '--type', 'bz2', src, tgt, bsdiff_patch.name] 99 os.stat(bsdiff_patch.name).st_size,
|