Home
last modified time | relevance | path

Searched refs:bsdiff (Results 1 – 25 of 106) sorted by relevance

12345

/external/bsdiff/
Dbsdiff_main.cc62 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()
[all …]
Dbspatch_fuzzer.cc18 std::unique_ptr<bsdiff::FileInterface> source( in FuzzBspatch()
19 new bsdiff::MemoryFile(source_buffer.data(), source_buffer.size())); in FuzzBspatch()
20 std::unique_ptr<bsdiff::FileInterface> target(new bsdiff::SinkFile( in FuzzBspatch()
22 bsdiff::bspatch(source, target, data, size); in FuzzBspatch()
DMakefile6 EXECUTABLES-$(USE_BSDIFF) += bsdiff
37 bsdiff.cc \
93 bsdiff: $(BSDIFF_OBJS) bsdiff_arguments.o bsdiff_main.o target
94 bsdiff: LDLIBS += $(BSDIFF_LIBS) target
106 bsdiff_unittest bsdiff bspatch: target
120 $(DESTDIR)/$(INCLUDEDIR)/bsdiff
123 $(INSTALL) -c -m 644 include/bsdiff/*.h $(DESTDIR)/$(INCLUDEDIR)/bsdiff
Dbsdiff.cc44 namespace bsdiff { namespace
49 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() function
53 return bsdiff(old_buf, oldsize, new_buf, newsize, 0, &patch, in bsdiff()
57 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() function
60 return bsdiff(old_buf, oldsize, new_buf, newsize, 0, patch, in bsdiff()
64 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() function
DREADME.chromium1 Homepage: http://www.daemonology.net/bsdiff/
9 bsdiff and bspatch are tools for building and applying patches to binary
11 change, bsdiff routinely produces binary patches 50-80% smaller than those
DAndroid.bp19 // Allow internal includes to be referenced with the "bsdiff/" prefix in the
61 "bsdiff.cc",
79 // Host executables: bsdiff and bspatch are only built for the host.
93 name: "bsdiff",
DREADME.version1 URL: http://www.daemonology.net/bsdiff/bsdiff-4.3.tar.gz
DBUILD.gn19 ":bsdiff",
42 # "bsdiff/...".
101 "bsdiff.cc",
114 executable("bsdiff") {
DREADME.android1 This is bsdiff-4.3 from http://www.daemonology.net/bsdiff/.
Dbsdiff_unittest.cc27 namespace bsdiff { namespace
35 EXPECT_EQ(0, bsdiff(old_file_.data(), old_file_.size(), new_file_.data(), in RunBsdiff()
Dutils.h10 namespace bsdiff {
Dextents.h12 namespace bsdiff {
Dsuffix_array_index.h14 namespace bsdiff {
Dpatch_writer.cc28 namespace bsdiff { namespace
47 std::vector<std::unique_ptr<bsdiff::CompressorInterface>>* in InitializeCompressorList()
Dutils.cc7 namespace bsdiff { namespace
Ddecompressor_interface.cc11 namespace bsdiff { namespace
Dbspatch_main.cc26 return bsdiff::bspatch(argv[1], argv[2], argv[3], old_extents, new_extents); in main()
/external/bsdiff/include/bsdiff/
Dbsdiff.h15 namespace bsdiff {
22 int bsdiff(const uint8_t* old_buf,
30 int bsdiff(const uint8_t* old_buf,
46 int bsdiff(const uint8_t* old_buf,
Dconstants.h10 namespace bsdiff {
Dsuffix_array_index_interface.h16 namespace bsdiff {
/external/puffin/src/
Dpuffdiff.cc103 const vector<bsdiff::CompressorType>& compressors, in PuffDiff()
131 auto bsdiff_patch_writer = bsdiff::CreateBSDF2PatchWriter( in PuffDiff()
135 0 == bsdiff::bsdiff(src_puff_buffer.data(), src_puff_buffer.size(), in PuffDiff()
158 const vector<bsdiff::CompressorType>& compressors, in PuffDiff()
174 {bsdiff::CompressorType::kBZ2, bsdiff::CompressorType::kBrotli}, in PuffDiff()
Dpuffpatch.cc48 class BsdiffStream : public bsdiff::FileInterface {
52 static unique_ptr<bsdiff::FileInterface> Create(UniqueStreamPtr stream) { in Create()
54 return unique_ptr<bsdiff::FileInterface>( in Create()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DRandomAccessObjectFactory.java15 package com.google.archivepatcher.generator.bsdiff;
17 import com.google.archivepatcher.generator.bsdiff.RandomAccessObject.RandomAccessByteArrayObject;
18 import com.google.archivepatcher.generator.bsdiff.RandomAccessObject.RandomAccessFileObject;
19 import com.google.archivepatcher.generator.bsdiff.RandomAccessObject.RandomAccessMmapObject;
DSuffixSorter.java15 package com.google.archivepatcher.generator.bsdiff;
/external/puffin/src/include/puffin/
Dpuffdiff.h34 const std::vector<bsdiff::CompressorType>& compressors,
44 const std::vector<bsdiff::CompressorType>& compressors,

12345