/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 + 1) <= 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/telephony/sms_mms/services/cdma/ |
D | cdma_sms_message.cpp | 176 int decodeLen = 0; in PduAnalysis() local 178 decodeLen = in PduAnalysis() 180 if (decodeLen <= 0) { in PduAnalysis() 535 int decodeLen = 0; in DecodeMessage() local 543 return decodeLen; in DecodeMessage() 547 return decodeLen; in DecodeMessage() 554 return decodeLen; in DecodeMessage() 556 decodeLen = dataLen; in DecodeMessage() 563 return decodeLen; in DecodeMessage() 565 decodeLen = dataLen; in DecodeMessage() [all …]
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_zipfile.h | 147 size_t &decodeLen) override; 152 size_t &decodeLen); 160 size_t &decodeLen);
|
D | pkg_upgradefile.cpp | 276 size_t decodeLen = 0; in ReadComponents() local 278 ret = entry->DecodeHeader(headerBuff, parsedLen + srcOffset, dataOffset, decodeLen); in ReadComponents() 286 PkgBuffer signBuffer(buffer.buffer + currLen, decodeLen); in ReadComponents() 287 algorithm->Update(signBuffer, decodeLen); // Generate digest for components in ReadComponents() 289 currLen += decodeLen; in ReadComponents() 290 srcOffset += decodeLen; in ReadComponents() 425 size_t &decodeLen) in DecodeHeader() argument 450 decodeLen = sizeof(UpgradeCompInfo); in DecodeHeader()
|
D | pkg_zipfile.cpp | 190 size_t decodeLen = 0; in ParseFileEntries() local 191 ret = entry->DecodeHeader(buffer, currentPos, 0, decodeLen); in ParseFileEntries() 199 currentPos += decodeLen; in ParseFileEntries() 374 size_t &decodeLen) in DecodeCentralDirEntry() argument 403 decodeLen = currLen; in DecodeCentralDirEntry() 461 size_t &decodeLen) in DecodeLocalFileHeader() argument 491 decodeLen = currLen; in DecodeLocalFileHeader() 536 size_t &decodeLen) in DecodeHeader() argument 548 ret = DecodeCentralDirEntry(inStream, centralBuff, startOffset, decodeLen); in DecodeHeader()
|
D | pkg_lz4file.h | 48 int32_t DecodeHeader(const PkgBuffer &buffer, size_t, size_t, size_t &decodeLen) override;
|
D | pkg_gzipfile.h | 51 int32_t DecodeHeader(const PkgBuffer &buffer, size_t, size_t, size_t &decodeLen) override;
|
D | pkg_upgradefile.h | 67 size_t &decodeLen) override;
|
D | pkg_pkgfile.h | 42 size_t &decodeLen) = 0;
|
D | pkg_gzipfile.cpp | 209 size_t &decodeLen) in DecodeHeader() argument 249 decodeLen = offset; in DecodeHeader()
|
D | pkg_lz4file.cpp | 93 size_t &decodeLen) in DecodeHeader() argument
|
/base/telephony/sms_mms/services/gsm/ |
D | gsm_sms_message.cpp | 413 int decodeLen = GsmSmsTpduCodec::DecodeTpdu(tempPdu, sizeof(tempPdu), smsTpdu_.get()); in PduAnalysis() local 414 if (decodeLen <= 0) { in PduAnalysis() 658 int decodeLen = 0; in DecodeMessage() local 666 return decodeLen; in DecodeMessage() 669 return decodeLen; in DecodeMessage() 676 decodeLen = in DecodeMessage() 683 return decodeLen; in DecodeMessage() 685 decodeLen = dataLen; in DecodeMessage() 689 decodeLen = textCvt->ConvertUTF8ToUCS2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage() 695 …decodeLen = textCvt->ConvertGsmUTF8ToAuto(decodeData, maxDecodeLen, pMsgText, dataLen, &encodeType… in DecodeMessage() [all …]
|
D | gsm_sms_tpdu_codec.cpp | 66 int decodeLen = 0; in DecodeTpdu() local 68 return decodeLen; in DecodeTpdu() 74 decodeLen = DecodeDeliver(pTpdu, TpduLen, &(pSmsTpdu->data.deliver)); in DecodeTpdu() 78 decodeLen = DecodeSubmit(pTpdu, TpduLen, &(pSmsTpdu->data.submit)); in DecodeTpdu() 82 decodeLen = DecodeStatusReport(pTpdu, TpduLen, &(pSmsTpdu->data.statusRep)); in DecodeTpdu() 87 return decodeLen; in DecodeTpdu()
|
/base/update/updater/test/unittest/package/ |
D | pkg_package_unittest.cpp | 158 size_t decodeLen = 0; in TestBigZipEntry() local 160 entry->DecodeCentralDirEntry(nullptr, buffer, 0, decodeLen); in TestBigZipEntry()
|