Searched refs:packMethod (Results 1 – 17 of 17) sorted by relevance
223 if (info->packMethod == PKG_COMPRESS_METHOD_ZIP) { in DeflateAdapterTest()225 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4) { in DeflateAdapterTest()227 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in DeflateAdapterTest()269 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP;282 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;294 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;306 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;318 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;330 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;343 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK;[all …]
121 if (info->packMethod == PKG_COMPRESS_METHOD_NONE) { in ExtractFile()137 PKG_LOGI("FileInfo [%zu] packMethod: %d \n", i, info->packMethod); in ExtractFile()153 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CreateZipPackage()
122 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()396 info.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in TestCreatePackageInvalidFile()434 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidFile()456 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidPkgType()480 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestZipPackageInvalidFile()513 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestDecompressLz4plus()581 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestDecompressGzipInitFile()
138 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestLz4PkgCompress()163 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in TestLz4PkgCompressBlock()404 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestGZipPkgCompress()
126 config.packMethod = invalidType; in TestInvalidParam()
182 fileInfo->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetFileInfo()230 …fileInfo->fileInfo.packMethod = (method_ == LZ4B_MAGIC) ? PKG_COMPRESS_METHOD_LZ4_BLOCK : PKG_COMP… in GetFileInfo()246 if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_ZIP) { in Init()248 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4) { in Init()250 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in Init()
133 localFileInfo->packMethod = fileInfo->packMethod; in Init()
101 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in DecodeHeader()103 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in DecodeHeader()
228 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in DecodeHeader()
436 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in DecodeHeader()
554 fileInfo_.fileInfo.packMethod = PKG_DIGEST_TYPE_CRC; in DecodeHeader()
62 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()88 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetZipPkgInfo()108 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in GetLz4PkgInfo()
381 zipInfo.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()455 method_ = info->fileInfo.packMethod; in TestAndSetConfig()466 lz4Info.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
122 switch (config->packMethod) { in GetAlgorithm()
358 lz4Info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in UpdateFileInfo()
74 uint16_t packMethod = 0; member
52 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CompressLogs()