Searched refs:PkgAlgorithmLz4 (Results 1 - 5 of 5) sorted by relevance
/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_lz4.h | 34 class PkgAlgorithmLz4 : public PkgAlgorithm {
class 43 explicit PkgAlgorithmLz4(const Lz4FileInfo &config);
45 ~PkgAlgorithmLz4() override {}
83 class PkgAlgorithmBlockLz4 : public PkgAlgorithmLz4 {
86 explicit PkgAlgorithmBlockLz4(const Lz4FileInfo &config) : PkgAlgorithmLz4(config) {}
in PkgAlgorithmBlockLz4()
|
H A D | pkg_algo_lz4.cpp | 24 PkgAlgorithmLz4::PkgAlgorithmLz4(const Lz4FileInfo &config) : PkgAlgorithm(),
in PkgAlgorithmLz4() function in Hpackage::PkgAlgorithmLz4 42 int32_t PkgAlgorithmLz4::AdpLz4Compress(const uint8_t *src, uint8_t *dest,
in AdpLz4Compress() 53 int32_t PkgAlgorithmLz4::AdpLz4Decompress(const uint8_t *src, uint8_t *dest, uint32_t srcSize,
in AdpLz4Decompress() 210 int32_t PkgAlgorithmLz4::GetPackParam(LZ4F_compressionContext_t &ctx, LZ4F_preferences_t &preferences,
in GetPackParam() 245 int32_t PkgAlgorithmLz4::PackCalculate(const PkgStreamPtr inStream, const PkgStreamPtr outStream,
in PackCalculate() 297 int32_t PkgAlgorithmLz4::Pack(const PkgStreamPtr inStream, const PkgStreamPtr outStream,
in Pack() 342 int32_t PkgAlgorithmLz4::GetUnpackParam(LZ4F_decompressionContext_t &ctx, const PkgStreamPtr inStream,
in GetUnpackParam() 395 int32_t PkgAlgorithmLz4::UnpackDecode(const PkgStreamPtr inStream, const PkgStreamPtr outStream,
in UnpackDecode() 443 int32_t PkgAlgorithmLz4 [all...] |
H A D | pkg_algorithm.cpp | 231 return std::make_shared<PkgAlgorithmLz4>(*info);
in GetAlgorithm()
|
/base/update/updater/services/package/pkg_package/ |
H A D | pkg_lz4file.cpp | 117 if (magicNumber == PkgAlgorithmLz4::LZ4S_MAGIC_NUMBER) {
in DecodeHeader() 119 } else if (magicNumber == PkgAlgorithmLz4::LZ4B_MAGIC_NUMBER) {
in DecodeHeader() 187 PkgBuffer buffer(nullptr, sizeof(PkgAlgorithmLz4::LZ4B_MAGIC_NUMBER));
in LoadPackage() 193 if (readLen != sizeof(PkgAlgorithmLz4::LZ4B_MAGIC_NUMBER)) {
in LoadPackage() 198 srcOffset += sizeof(PkgAlgorithmLz4::LZ4B_MAGIC_NUMBER);
in LoadPackage() 202 if (magicNumber == PkgAlgorithmLz4::LZ4S_MAGIC_NUMBER ||
in LoadPackage() 203 magicNumber == PkgAlgorithmLz4::LZ4B_MAGIC_NUMBER) {
in LoadPackage()
|
/base/update/updater/test/unittest/package/ |
H A D | pkg_algo_unittest.cpp | 168 PkgAlgorithmLz4 a2(config); in HWTEST_F() 176 PkgAlgorithmLz4 *a8 = new PkgAlgorithmLz4(config); in HWTEST_F()
|
Completed in 3 milliseconds