/base/update/updater/services/diffpatch/diff/ |
D | image_diff.cpp | 43 return sizeof(uint32_t) + sizeof(uint32_t) + block.newInfo.length; in GetHeaderSize() 78 PatchBuffer newInfo = { newBuffer.buffer, 0, newBuffer.length }; in MakePatch() local 79 ret = SplitImage(oldInfo, newInfo); in MakePatch() 88 int32_t ImageDiff::SplitImage(const PatchBuffer &oldInfo, const PatchBuffer &newInfo) in SplitImage() argument 90 size_t blockCount = newInfo.length / limit_ + 1; in SplitImage() 92 size_t newBlockSize = newInfo.length / blockCount; in SplitImage() 98 { newInfo.buffer, newInfo.start + newBlockSize * i, newBlockSize }, in SplitImage() 106 …{ newInfo.buffer, newInfo.start + newBlockSize * i, newInfo.length - (newInfo.start + newBlockSize… in SplitImage() 120 … BlockBuffer newInfo = { block.newInfo.buffer + block.newInfo.start, block.newInfo.length }; in WriteHeader() local 122 ret = MakeBlockPatch(block, blockPatchFile, newInfo, oldInfo, patchSize); in WriteHeader() [all …]
|
D | blocks_diff.h | 35 int64_t Search(const BlockBuffer &newInfo, 54 static int32_t MakePatch(const BlockBuffer &newInfo, 56 static int32_t MakePatch(const BlockBuffer &newInfo, 59 int32_t MakePatch(const BlockBuffer &newInfo, const BlockBuffer &oldInfo, size_t &patchSize); 66 int32_t GetCtrlDatas(const BlockBuffer &newInfo, 69 const BlockBuffer &newInfo, size_t &patchSize); 74 void ComputeOldScore(const BlockBuffer &newInfo, 76 void ComputeLength(const BlockBuffer &newInfo,
|
D | blocks_diff.cpp | 80 BlockBuffer newInfo = {newBuffer.memory, newBuffer.length}; in MakePatch() local 84 ret = blockdiff->MakePatch(newInfo, oldInfo, patchSize); in MakePatch() 95 int32_t BlocksDiff::MakePatch(const BlockBuffer &newInfo, in MakePatch() argument 102 int32_t ret = blockdiff->MakePatch(newInfo, oldInfo, patchSize); in MakePatch() 116 int32_t BlocksDiff::MakePatch(const BlockBuffer &newInfo, in MakePatch() argument 121 int32_t ret = blockdiff->MakePatch(newInfo, oldInfo, patchSize); in MakePatch() 131 int32_t BlocksDiff::MakePatch(const BlockBuffer &newInfo, const BlockBuffer &oldInfo, size_t &patch… in MakePatch() argument 143 int32_t ret = GetCtrlDatas(newInfo, oldInfo, controlDatas); in MakePatch() 149 return WritePatchData(controlDatas, newInfo, patchSize); in MakePatch() 153 const BlockBuffer &newInfo, size_t &patchSize) in WritePatchData() argument [all …]
|
D | image_diff.h | 27 PatchBuffer newInfo; member 51 int32_t SplitImage(const PatchBuffer &oldInfo, const PatchBuffer &newInfo); 54 const BlockBuffer &newInfo, const BlockBuffer &oldInfo, size_t &patchSize) const;
|
/base/hiviewdfx/hiview/utility/common_utils/ |
D | log_parse.cpp | 275 std::string newInfo = info; in GetFilterTrace() local 276 if (eventType == "JS_ERROR" && newInfo.find("libace_napi.z.so") != std::string::npos) { in GetFilterTrace() 277 newInfo = StringUtil::GetRightSubstr(info, "libace_napi.z.so"); in GetFilterTrace() 279 StringUtil::SplitStr(newInfo, "\n", trace, false, false); in GetFilterTrace()
|
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/ |
D | sym_token_manager.c | 298 OsSymTokensInfo newInfo; in GetTokensInfoByOsAccountId() local 299 newInfo.osAccountId = osAccountId; in GetTokensInfoByOsAccountId() 300 newInfo.tokens = CreateSymTokenVec(); in GetTokensInfoByOsAccountId() 301 OsSymTokensInfo *returnInfo = g_symTokensDb.pushBackT(&g_symTokensDb, newInfo); in GetTokensInfoByOsAccountId() 304 DestroySymTokenVec(&newInfo.tokens); in GetTokensInfoByOsAccountId()
|
D | asy_token_manager.c | 555 OsAccountTokenInfo newInfo; in GetTokenInfoByOsAccountId() local 556 newInfo.osAccountId = osAccountId; in GetTokenInfoByOsAccountId() 557 newInfo.tokens = CreateAccountTokenVec(); in GetTokenInfoByOsAccountId() 558 OsAccountTokenInfo *returnInfo = g_accountTokenDb.pushBackT(&g_accountTokenDb, newInfo); in GetTokenInfoByOsAccountId() 561 DestroyAccountTokenVec(&newInfo.tokens); in GetTokenInfoByOsAccountId()
|
/base/security/device_auth/services/privacy_enhancement/src/ |
D | pseudonym_manager.c | 288 OsAccountPseudonymInfo newInfo; in GetPseudonymInfoByOsAccountId() local 289 newInfo.osAccountId = osAccountId; in GetPseudonymInfoByOsAccountId() 290 newInfo.pseudonymInfoVec = CreatePseudonymInfoVec(); in GetPseudonymInfoByOsAccountId() 291 OsAccountPseudonymInfo *returnInfo = g_pseudonymDb.pushBackT(&g_pseudonymDb, newInfo); in GetPseudonymInfoByOsAccountId() 294 DestroyPseudonymInfoVec(&newInfo.pseudonymInfoVec); in GetPseudonymInfoByOsAccountId()
|
/base/security/device_auth/services/data_manager/src/ |
D | data_manager.c | 188 OsAccountTrustedInfo newInfo; in GetTrustedInfoByOsAccountId() local 189 newInfo.osAccountId = osAccountId; in GetTrustedInfoByOsAccountId() 190 newInfo.groups = CreateGroupEntryVec(); in GetTrustedInfoByOsAccountId() 191 newInfo.devices = CreateDeviceEntryVec(); in GetTrustedInfoByOsAccountId() 192 OsAccountTrustedInfo *returnInfo = g_deviceauthDb.pushBackT(&g_deviceauthDb, newInfo); in GetTrustedInfoByOsAccountId() 195 DestroyGroupEntryVec(&newInfo.groups); in GetTrustedInfoByOsAccountId() 196 DestroyDeviceEntryVec(&newInfo.devices); in GetTrustedInfoByOsAccountId()
|