Searched refs:PkgAlgorithmLz4 (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_lz4.h | 34 class PkgAlgorithmLz4 : public PkgAlgorithm { 43 explicit PkgAlgorithmLz4(const Lz4FileInfo &config); 45 ~PkgAlgorithmLz4() override {} in ~PkgAlgorithmLz4() 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 &preferenc… 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 inStre… in GetUnpackParam() 395 int32_t PkgAlgorithmLz4::UnpackDecode(const PkgStreamPtr inStream, const PkgStreamPtr outStream, in UnpackDecode() 443 int32_t PkgAlgorithmLz4::Unpack(const PkgStreamPtr inStream, const PkgStreamPtr outStream, in Unpack() 496 void PkgAlgorithmLz4::UpdateFileInfo(PkgManager::FileInfoPtr info) const in UpdateFileInfo()
|
H A D | pkg_algorithm.cpp | 231 return std::make_shared<PkgAlgorithmLz4>(*info); in GetAlgorithm()
|
/ohos5.0/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()
|
/ohos5.0/base/update/updater/test/unittest/package/ |
H A D | pkg_algo_unittest.cpp | 168 PkgAlgorithmLz4 a2(config); 176 PkgAlgorithmLz4 *a8 = new PkgAlgorithmLz4(config);
|