/base/security/huks/frameworks/crypto_lite/cipher/src/ |
D | cipher_aes.c | 62 size_t decodeLen = 0; in MallocDecodeData() local 63 …int32_t ret = mbedtls_base64_decode(NULL, 0, &decodeLen, (const unsigned char *)(text), strlen(tex… in MallocDecodeData() 68 if (decodeLen == 0) { in MallocDecodeData() 71 char *decData = (char *)malloc(decodeLen + 1); in MallocDecodeData() 73 CIPHER_LOG_E("malloc failed, length:%d.", (int32_t)(decodeLen + 1)); in MallocDecodeData() 76 (void)memset_s(decData, decodeLen + 1, 0, decodeLen + 1); in MallocDecodeData() 77 if (mbedtls_base64_decode((unsigned char *)decData, decodeLen + 1, olen, in MallocDecodeData()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_zipfile.h | 147 size_t &decodeLen) override; 151 int32_t DoDecodeCentralDirEntry(PkgBuffer &buffer, size_t &decodeLen, 155 size_t &decodeLen); 165 size_t &decodeLen);
|
D | pkg_zipfile.cpp | 261 size_t decodeLen = 0; in ParseFileEntries() local 262 ret = entry->DecodeHeader(buffer, currentPos, 0, decodeLen); in ParseFileEntries() 275 currentPos += decodeLen; in ParseFileEntries() 460 int32_t ZipFileEntry::DoDecodeCentralDirEntry(PkgBuffer &buffer, size_t &decodeLen, in DoDecodeCentralDirEntry() argument 472 decodeLen = currLen; in DoDecodeCentralDirEntry() 511 size_t &decodeLen) in DecodeCentralDirEntry() argument 542 return DoDecodeCentralDirEntry(buffer, decodeLen, currLen, nameSize, extraSize); in DecodeCentralDirEntry() 583 size_t &decodeLen) in DecodeLocalFileHeader() argument 626 decodeLen = currLen; in DecodeLocalFileHeader() 684 size_t &decodeLen) in DecodeHeader() argument [all …]
|
D | pkg_lz4file.h | 48 int32_t DecodeHeader(PkgBuffer &buffer, size_t, size_t, size_t &decodeLen) override;
|
D | pkg_gzipfile.h | 52 int32_t DecodeHeader(PkgBuffer &buffer, size_t, size_t, size_t &decodeLen) override;
|
D | pkg_upgradefile.cpp | 592 size_t decodeLen = 0; in SaveEntry() local 594 …ze_t ret = entry->DecodeHeader(headerBuff, parsedLen + info.srcOffset, info.dataOffset, decodeLen); in SaveEntry() 605 PkgBuffer signBuffer(buffer.buffer + info.currLen, decodeLen); in SaveEntry() 606 algorithm->Update(signBuffer, decodeLen); // Generate digest for components in SaveEntry() 608 info.currLen += decodeLen; in SaveEntry() 609 info.srcOffset += decodeLen; in SaveEntry() 864 size_t &decodeLen) in DecodeHeader() argument 897 decodeLen = sizeof(UpgradeCompInfo); in DecodeHeader()
|
D | pkg_upgradefile.h | 75 size_t &decodeLen) override;
|
D | pkg_gzipfile.cpp | 259 size_t &decodeLen) in DecodeHeader() argument 305 decodeLen = offset; in DecodeHeader()
|
D | pkg_lz4file.cpp | 110 size_t &decodeLen) in DecodeHeader() argument
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_message.cpp | 535 int decodeLen = 0; in DecodeMessage() local 542 return decodeLen; in DecodeMessage() 549 return decodeLen; in DecodeMessage() 553 return decodeLen; in DecodeMessage() 555 decodeLen = dataLen; in DecodeMessage() 562 return decodeLen; in DecodeMessage() 564 decodeLen = dataLen; in DecodeMessage() 568 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage() 573 …decodeLen = TextCoder::Instance().CdmaUtf8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, codi… in DecodeMessage() 577 return decodeLen; in DecodeMessage()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_message.cpp | 687 int decodeLen = 0; in DecodeMessage() local 694 return decodeLen; in DecodeMessage() 699 decodeLen = TextCoder::Instance().Utf8ToGsm7bit( in DecodeMessage() 706 return decodeLen; in DecodeMessage() 710 return decodeLen; in DecodeMessage() 712 decodeLen = dataLen; in DecodeMessage() 716 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage() 722 …decodeLen = TextCoder::Instance().GsmUtf8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, encod… in DecodeMessage() 727 return decodeLen; in DecodeMessage()
|
/base/update/updater/test/unittest/package/ |
D | pkg_package_unittest.cpp | 155 size_t decodeLen = 0; in TestBigZipEntry() local 157 entry->DecodeCentralDirEntry(nullptr, buffer, 0, decodeLen); in TestBigZipEntry()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 161 size_t &decodeLen) = 0;
|