Lines Matching refs:bsdiff
62 const bsdiff::BsdiffArguments& arguments) { in GenerateBsdiffFromFiles()
76 std::unique_ptr<bsdiff::PatchWriterInterface> patch_writer; in GenerateBsdiffFromFiles()
79 if (arguments.format() == bsdiff::BsdiffFormat::kLegacy) { in GenerateBsdiffFromFiles()
80 patch_writer = bsdiff::CreateBsdiffPatchWriter(patch_filename); in GenerateBsdiffFromFiles()
81 } else if (arguments.format() == bsdiff::BsdiffFormat::kBsdf2) { in GenerateBsdiffFromFiles()
82 patch_writer = bsdiff::CreateBSDF2PatchWriter(patch_filename, in GenerateBsdiffFromFiles()
85 } else if (arguments.format() == bsdiff::BsdiffFormat::kEndsley) { in GenerateBsdiffFromFiles()
86 patch_writer = bsdiff::CreateEndsleyPatchWriter( in GenerateBsdiffFromFiles()
93 int ret = bsdiff::bsdiff(old_buf, oldsize, new_buf, newsize, in GenerateBsdiffFromFiles()
99 if (!ret && arguments.format() == bsdiff::BsdiffFormat::kEndsley) { in GenerateBsdiffFromFiles()
132 bsdiff::BsdiffArguments arguments; in main()