Searched refs:packMethod (Results 1 – 19 of 19) sorted by relevance
236 if (info->packMethod == PKG_COMPRESS_METHOD_ZIP) { in DeflateAdapterTest()238 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4) { in DeflateAdapterTest()285 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP;298 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;310 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;322 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;334 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;346 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;359 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK;371 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK;[all …]
151 if (info->packMethod == PKG_COMPRESS_METHOD_NONE) { in ExtractFile()167 PKG_LOGI("FileInfo [%zu] packMethod: %d \n", num, info->packMethod); in ExtractFile()182 zipFile.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CreateZipPackage()
167 zipFile.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestGZipPkgCompress()218 zipFile.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestLz4PkgCompress()
131 if (info->packMethod == PKG_COMPRESS_METHOD_NONE) { in ExtractFile()147 PKG_LOGI("FileInfo [%zu] packMethod: %d \n", i, info->packMethod); in ExtractFile()163 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CreateZipPackage()
122 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()251 info.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in TestCreatePackageInvalidFile()288 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidFile()313 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidPkgType()336 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestZipPackageInvalidFile()371 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestDecompressLz4plus()458 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestDecompressGzipInitFile()
179 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestGZipPkgCompress()237 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestLz4PkgCompress()
125 config.packMethod = invalidType; in TestInvalidParam()
256 fileInfo->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetFileInfo()310 …fileInfo->fileInfo.packMethod = (method_ == LZ4B_MAGIC) ? PKG_COMPRESS_METHOD_LZ4_BLOCK : PKG_COMP… in GetFileInfo()326 if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_ZIP) { in Init()328 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4) { in Init()330 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in Init()
148 localFileInfo->packMethod = fileInfo->packMethod; in Init()
118 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in DecodeHeader()120 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in DecodeHeader()
281 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in DecodeHeader()
752 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in DecodeHeader()
896 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in DecodeHeader()
65 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()91 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetZipPkgInfo()111 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in GetLz4PkgInfo()
444 zipInfo.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()525 method_ = static_cast<int32_t>(info->fileInfo.packMethod); in TestAndSetConfig()540 lz4Info.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
83 uint16_t packMethod = 0; member
213 switch (config->packMethod) { in GetAlgorithm()
499 lz4Info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in UpdateFileInfo()
474 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CompressFiles()501 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CompressLogs()