Searched refs:BsdiffFormat (Results 1 – 7 of 7) sorted by relevance
/external/bsdiff/ |
D | bsdiff_arguments_unittest.cc | 45 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()
|
D | bsdiff_arguments.cc | 60 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()
|
D | bsdiff_arguments.h | 23 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_;
|
D | bsdiff_main.cc | 79 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()
|
D | patch_writer.cc | 32 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()
|
D | patch_writer.h | 68 BsdiffFormat format_;
|
/external/bsdiff/include/bsdiff/ |
D | patch_writer_interface.h | 15 enum class BsdiffFormat { enum
|