Home
last modified time | relevance | path

Searched refs:PKG_NONE_MEMORY (Results 1 – 12 of 12) sorted by relevance

/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_lz4.cpp69 return PKG_NONE_MEMORY, "Fail to alloc buffer "); in Pack()
115 PKG_CHECK(inBuffSize > 0, return PKG_NONE_MEMORY, "BufferSize must > 0"); in Unpack()
118 PKG_CHECK(inBuffer.buffer != nullptr && outBuffer.buffer != nullptr, return PKG_NONE_MEMORY, in Unpack()
168 return PKG_NONE_MEMORY; in GetPackParam()
173 return PKG_NONE_MEMORY; in GetPackParam()
185 return PKG_NONE_MEMORY; in GetPackParam()
206 PKG_CHECK(ret == PKG_SUCCESS, return PKG_NONE_MEMORY, "Fail to get param for pack"); in Pack()
211 (void)LZ4F_freeCompressionContext(ctx); return PKG_NONE_MEMORY, "Fail to alloc buffer "); in Pack()
219 return PKG_NONE_MEMORY, "Fail to generate header %s", LZ4F_getErrorName(dataLen)); in Pack()
230 PKG_CHECK(!LZ4F_isError(outSize), ret = PKG_NONE_MEMORY; break, in Pack()
[all …]
Dpkg_algorithm.cpp53 return PKG_NONE_MEMORY; in FinalDigest()
Dpkg_algo_deflate.cpp171 return PKG_NONE_MEMORY; in InitStream()
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp65 return PKG_NONE_MEMORY; in Init()
96 …PKG_CHECK(entry != nullptr, return PKG_NONE_MEMORY, "Fail create pkg node for %s", file->identity.… in AddEntry()
283 PKG_CHECK(entry != nullptr, return PKG_NONE_MEMORY, "Fail create upgrade node for %s", in ReadComponents()
379 return PKG_NONE_MEMORY, "UpgradeFileEntry memset_s failed"); in EncodeHeader()
424 return PKG_NONE_MEMORY; in Pack()
435 return PKG_NONE_MEMORY; in Pack()
Dpkg_lz4file.cpp144 return PKG_NONE_MEMORY; in AddEntry()
Dpkg_gzipfile.cpp281 return PKG_NONE_MEMORY; in AddEntry()
Dpkg_zipfile.cpp57 return PKG_NONE_MEMORY; in AddEntry()
217 return PKG_NONE_MEMORY; in ParseFileEntries()
/base/update/updater/services/package/pkg_manager/
Dpkg_stream.cpp214 return PKG_NONE_MEMORY; in Read()
Dpkg_managerImpl.cpp696 return PKG_NONE_MEMORY, "GenerateFileDigest memcpy failed"); in CreatePkgStream()
699 signatureLen), return PKG_NONE_MEMORY, "GenerateFileDigest memcpy failed"); in CreatePkgStream()
/base/update/updater/services/include/package/
Dpkg_manager.h46 PKG_NONE_MEMORY, enumerator
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp60 return PKG_NONE_MEMORY; in GetUpgradePkgInfo()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz