Home
last modified time | relevance | path

Searched refs:blockCount (Results 1 – 6 of 6) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_signing_block_utils.cpp252 …return FindHapSubSigningBlock(hapFile, hapSignBlockHead.blockCount, blockArrayLen, hapSignBlockOff… in FindHapSigningBlock()
277 if (hapSignBlockHead.blockCount > MAX_BLOCK_COUNT) { in CheckSignBlockHead()
278 …Y_LOG_ERROR(LABEL, "HAP Signing Block count out of range %{public}d", hapSignBlockHead.blockCount); in CheckSignBlockHead()
287 return hapBlockHead.GetInt32(hapSignBlockHead.blockCount) && in ParseSignBlockHead()
309 bool HapSigningBlockUtils::FindHapSubSigningBlock(RandomAccessFile& hapFile, int blockCount, in FindHapSubSigningBlock() argument
316 hapSignBlockOffset, blockArrayLen, blockCount); in FindHapSubSigningBlock()
317 for (int i = 0; i < blockCount; i++) { in FindHapSubSigningBlock()
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dhap_signing_block_utils.h44 int blockCount; member
93 static bool FindHapSubSigningBlock(RandomAccessFile& hapFile, int blockCount,
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp59 globalParams->blockCount = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
62 size_t totalSize = globalParams->blockCount; in CommandsParser()
/base/update/updater/services/include/applypatch/
Dtransfer_manager.h44 size_t blockCount; member
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_signing_block_utils_test.cpp68 int blockCount = TEST_FILE_BLOCK_COUNT; in CreatTestZipFile() local
69 hapFile.write(reinterpret_cast<char*>(&blockCount), sizeof(blockCount)); in CreatTestZipFile()
/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp90 size_t blockCount = newInfo.length / limit_ + 1; in SplitImage() local
91 size_t oldBlockSize = oldInfo.length / blockCount; in SplitImage()
92 size_t newBlockSize = newInfo.length / blockCount; in SplitImage()
95 while (i < blockCount - 1) { in SplitImage()