Home
last modified time | relevance | path

Searched refs:entryCount (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_data_generate_unit_test.cpp44 void GenerateEntry(int entryCount, int startPosition, Entry &entryTest) in GenerateEntry() argument
46 if (entryCount <= 0) { in GenerateEntry()
49 GenerateKey(entryCount, startPosition, entryTest.key); in GenerateEntry()
50 GenerateValue(entryCount, startPosition, entryTest.value); in GenerateEntry()
53 void GenerateEntryVector(int entryVectorCount, int entryCount, std::vector<Entry> &entrysTest) in GenerateEntryVector() argument
55 if (entryVectorCount <= 0 || entryCount <= 0) { in GenerateEntryVector()
61 GenerateEntry(entryCount, i, entry); in GenerateEntryVector()
H A Ddistributeddb_data_generate_unit_test.h106 void GenerateEntry(int entryCount, int startPosition, DistributedDB::Entry &entryTest);
112 void GenerateEntryVector(int entryVectorCount, int entryCount, std::vector<DistributedDB::Entry> &e…
/ohos5.0/base/update/updater/interfaces/kits/packages/
H A Dpackage.cpp52 upgradePackageInfo->pkgInfo.entryCount = pkgInfoExt->entryCount; in GetUpgradePkgInfo()
54 files.resize(pkgInfoExt->entryCount); in GetUpgradePkgInfo()
55 for (uint32_t i = 0; i < pkgInfoExt->entryCount; i++) { in GetUpgradePkgInfo()
84 pkgInfo->entryCount = pkgInfoExt->entryCount; in GetZipPkgInfo()
86 files.resize(pkgInfoExt->entryCount); in GetZipPkgInfo()
87 for (uint32_t i = 0; i < pkgInfo->entryCount; i++) { in GetZipPkgInfo()
104 pkgInfo->entryCount = pkgInfoExt->entryCount; in GetLz4PkgInfo()
106 files.resize(pkgInfoExt->entryCount); in GetLz4PkgInfo()
107 for (uint32_t i = 0; i < pkgInfoExt->entryCount; i++) { in GetLz4PkgInfo()
127 …if (pkgInfoExt == nullptr || path == nullptr || keyPath == nullptr || pkgInfoExt->entryCount > com… in CreatePackage()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/
H A Dpts_and_index_conversion.cpp269 uint32_t entryCount = *reinterpret_cast<const uint32_t*>(ptr + sizeof(uint32_t)); in ParseCtts() local
270 entryCount = ntohl(entryCount); in ParseCtts()
272 if (size < sizeof(uint32_t) * 2 + entryCount * sizeof(CTTSEntry)) { // 2 is used to check data in ParseCtts()
275 std::vector<CTTSEntry> entries(entryCount); in ParseCtts()
277 for (uint32_t i = 0; i < entryCount; ++i) { in ParseCtts()
306 uint32_t entryCount = *reinterpret_cast<const uint32_t*>(ptr + sizeof(uint32_t)); in ParseStts() local
307 entryCount = ntohl(entryCount); in ParseStts()
309 if (size < sizeof(uint32_t) * 2 + entryCount * sizeof(STTSEntry)) { // 2 is used to check data in ParseStts()
312 std::vector<STTSEntry> entries(entryCount); in ParseStts()
314 for (uint32_t i = 0; i < entryCount; ++i) { in ParseStts()
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_utils_in_c.cpp34 int entryCount = entryMapEntryData->count; in EnforceCodeSignForApp() local
35 for (int i = 0; i < entryCount; ++i) { in EnforceCodeSignForApp()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_info_box.cpp28 uint32_t entryCount = (boxVersion == HEIF_BOX_VERSION_ZERO) ? reader.Read16() : reader.Read32(); in ParseContentChildren() local
29 if (entryCount == 0) { in ParseContentChildren()
/ohos5.0/base/update/updater/interfaces/kits/include/package/
H A Dpackage.h79 uint32_t entryCount = 0; member
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_upgradefile.cpp97 if (pkgEntryMapId_.size() >= pkgInfo_.pkgInfo.entryCount) { in GetEntryOffset()
106 dataOffset = UPGRADE_FILE_HEADER_LEN + pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo); in GetEntryOffset()
172 …sizeof(UpgradePkgTime) + pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo) + UPGRADE_RESERVE_L… in CheckPackageHeader()
196 offset += pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo); in WriteBuffer()
248 …WriteLE16(buffer.data() + offset + sizeof(uint16_t), pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeC… in SavePackage()
624 pkgInfo_.pkgInfo.entryCount++; in SaveEntry()
H A Dpkg_upgradefile.h106 if (header == nullptr || header->entryCount == 0) { in UpgradePkgFile()
/ohos5.0/base/update/updater/services/include/package/
H A Dpkg_info_utils.h68 uint32_t entryCount = 0; member
/ohos5.0/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
H A DUpdaterStartUpdaterProc_fuzzer.cpp117 pkgInfo.entryCount = fstabFile.size(); in CreatePackageZip()
/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdater_binary_unittest.cpp137 pkgInfo.entryCount = testFileNames_.size() + fileNameIndex; in CreatePackageBin()
/ohos5.0/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
H A Dextractandexecutescript_fuzzer.cpp250 pkgInfo.entryCount = inputFile.size(); in CreatePackageBin()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
H A Dexif_info.cpp1606 int16_t entryCount = ReadShort(); in GetDataRangeFromIFD() local
1607 … (static_cast<uint32_t>(curPosition_ + BYTE_COUNTS_12 * entryCount) > bufferLength_ || entryCount in GetDataRangeFromIFD()
1611 GetDataRangeFromDE(ifd, entryCount); in GetDataRangeFromIFD()
/ohos5.0/base/update/updater/test/fuzztest/package_fuzzer/
H A Dpackage_fuzzer.cpp89 pkgInfo.entryCount = testFileNames_.size(); in TestPackagePack()
/ohos5.0/base/update/updater/test/unittest/package/
H A Dpackage_unittest.cpp93 pkgInfo.entryCount = testFileNames_.size(); in TestPackagePack()
H A Dpkg_manager_unittest.cpp103 pkgInfo.pkgInfo.entryCount = testFileNames_.size(); in GetUpgradePkgInfo()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dplugin_libjpeg_test.cpp1635 int16_t entryCount = byteOrderedBuffer.ReadShort(); variable
1636 byteOrderedBuffer.GetDataRangeFromDE(EXIF_IFD_0, entryCount);