Searched refs:BsdiffArguments (Results 1 – 4 of 4) sorted by relevance
/external/bsdiff/ |
D | bsdiff_arguments_unittest.cc | 13 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("Brotli", &types)); in TEST() 19 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("bz2", &types)); in TEST() 25 EXPECT_FALSE(BsdiffArguments::ParseCompressorTypes("invalid", &types)); in TEST() 30 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("bz2:brotli:nocompression", in TEST() 41 BsdiffArguments::ParseCompressorTypes("bz2 : nocompression", &types)); in TEST() 46 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("bsdf2", &format)); in TEST() 49 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("Legacy", &format)); in TEST() 52 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("bsdiff40", &format)); in TEST() 55 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("endsley", &format)); in TEST() 58 EXPECT_FALSE(BsdiffArguments::ParseBsdiffFormat("Other", &format)); in TEST() [all …]
|
D | bsdiff_arguments.cc | 44 std::vector<CompressorType> BsdiffArguments::compressor_types() const { in compressor_types() 49 bool BsdiffArguments::IsValid() const { in IsValid() 76 bool BsdiffArguments::ParseCommandLine(int argc, char** argv) { in ParseCommandLine() 121 bool BsdiffArguments::ParseCompressorTypes(const string& str, in ParseCompressorTypes() 154 bool BsdiffArguments::ParseMinLength(const string& str, size_t* len) { in ParseMinLength() 172 bool BsdiffArguments::ParseBsdiffFormat(const string& str, in ParseBsdiffFormat() 191 bool BsdiffArguments::ParseQuality(const string& str, in ParseQuality() 212 bool BsdiffArguments::IsCompressorSupported(CompressorType type) const { in IsCompressorSupported()
|
D | bsdiff_arguments.h | 21 class BsdiffArguments { 23 BsdiffArguments() : format_(BsdiffFormat::kLegacy), brotli_quality_(-1) { in BsdiffArguments() function 27 BsdiffArguments(BsdiffFormat format, in BsdiffArguments() function
|
D | bsdiff_main.cc | 62 const bsdiff::BsdiffArguments& arguments) { in GenerateBsdiffFromFiles() 132 bsdiff::BsdiffArguments arguments; in main()
|