Home
last modified time | relevance | path

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

/external/bsdiff/
Dbsdiff_arguments_unittest.cc45 BsdiffFormat format; in TEST()
47 EXPECT_EQ(BsdiffFormat::kBsdf2, format); in TEST()
50 EXPECT_EQ(BsdiffFormat::kLegacy, format); in TEST()
53 EXPECT_EQ(BsdiffFormat::kLegacy, format); in TEST()
56 EXPECT_EQ(BsdiffFormat::kEndsley, format); in TEST()
89 BsdiffArguments(BsdiffFormat::kLegacy, {CompressorType::kBrotli}, -1) in TEST()
93 BsdiffArguments(BsdiffFormat::kBsdf2, {CompressorType::kBrotli}, 9) in TEST()
98 BsdiffArguments(BsdiffFormat::kBsdf2, {CompressorType::kBrotli}, 20) in TEST()
111 EXPECT_EQ(BsdiffFormat::kBsdf2, arguments.format()); in TEST()
Dbsdiff_arguments.cc60 if (format_ == BsdiffFormat::kLegacy) { in IsValid()
63 } else if (format_ == BsdiffFormat::kBsdf2) { in IsValid()
69 } else if (format_ == BsdiffFormat::kEndsley) { in IsValid()
109 if (format_ != BsdiffFormat::kLegacy && in ParseCommandLine()
173 BsdiffFormat* format) { in ParseBsdiffFormat()
178 *format = BsdiffFormat::kLegacy; in ParseBsdiffFormat()
181 *format = BsdiffFormat::kBsdf2; in ParseBsdiffFormat()
184 *format = BsdiffFormat::kEndsley; in ParseBsdiffFormat()
Dbsdiff_arguments.h23 BsdiffArguments() : format_(BsdiffFormat::kLegacy), brotli_quality_(-1) { in BsdiffArguments()
27 BsdiffArguments(BsdiffFormat format, in BsdiffArguments()
38 BsdiffFormat format() const { return format_; } in format()
58 static bool ParseBsdiffFormat(const std::string& str, BsdiffFormat* format);
71 BsdiffFormat format_;
Dbsdiff_main.cc79 if (arguments.format() == bsdiff::BsdiffFormat::kLegacy) { in GenerateBsdiffFromFiles()
81 } else if (arguments.format() == bsdiff::BsdiffFormat::kBsdf2) { in GenerateBsdiffFromFiles()
85 } else if (arguments.format() == bsdiff::BsdiffFormat::kEndsley) { in GenerateBsdiffFromFiles()
99 if (!ret && arguments.format() == bsdiff::BsdiffFormat::kEndsley) { in GenerateBsdiffFromFiles()
Dpatch_writer.cc32 format_(BsdiffFormat::kLegacy), in BsdiffPatchWriter()
42 format_(BsdiffFormat::kBsdf2), in BsdiffPatchWriter()
229 if (format_ == BsdiffFormat::kLegacy) { in WriteHeader()
232 } else if (format_ == BsdiffFormat::kBsdf2) { in WriteHeader()
Dpatch_writer.h68 BsdiffFormat format_;
/external/bsdiff/include/bsdiff/
Dpatch_writer_interface.h15 enum class BsdiffFormat { enum