Home
last modified time | relevance | path

Searched refs:tempLen (Results 1 - 5 of 5) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_param_encode.cpp42 size_t tempLen = strlen(temp); in EncodeAddressPdu() local
43 if (tempLen > MAX_SMSC_LEN) { in EncodeAddressPdu()
48 if (temp[0] == '+' && tempLen > 1) { in EncodeAddressPdu()
49 resultNum.push_back(tempLen - 1); in EncodeAddressPdu()
51 tempLen--; in EncodeAddressPdu()
54 resultNum.push_back(tempLen); in EncodeAddressPdu()
63 if (!utils.DigitToBcd(temp, tempLen, bcd, MAX_ADD_PARAM_LEN, length)) { in EncodeAddressPdu()
/base/update/updater/services/package/pkg_verify/
H A Dzip_pkg_parse.cpp191 uint16_t tempLen = ReadLE16(zipSignCommentAddr); in CheckZipEocd() local
192 if (signCommentTotalLen != tempLen) { in CheckZipEocd()
193 PKG_LOGE("compare sign comment length: eocd[0x%04X], footer[0x%04X] error", tempLen, signCommentTotalLen); in CheckZipEocd()
/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_body_part.cpp216 uint32_t tempLen = encodebuffer.length(); in DecodePartBody() local
217 if (tempLen > MMS_PDU_MAX_SIZE) { in DecodePartBody()
218 TELEPHONY_LOGE("tempLen over size error"); in DecodePartBody()
221 pbodyPartBuffer_ = std::make_unique<char[]>(tempLen); in DecodePartBody()
226 if (memcpy_s(pbodyPartBuffer_.get(), tempLen, encodebuffer.data(), tempLen) != EOK) { in DecodePartBody()
230 bodyLen_ = tempLen; in DecodePartBody()
H A Dmms_header.cpp719 uint32_t tempLen = 0; in DecodeFieldTextStringValue() local
720 if (!buff.DecodeText(tempString, tempLen)) { in DecodeFieldTextStringValue()
725 len = (int32_t)tempLen; in DecodeFieldTextStringValue()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_ccm_test.cpp1368 uint32_t tempLen = HKS_CIPHER_CCM_MODE_MAX_DATA_LEN + CCM_MAX_AEAD_SIZE + CCM_MAX_NONCE_SIZE; in HWTEST_F() local
1369 uint8_t *tempData = reinterpret_cast<uint8_t *>(HksMalloc(tempLen)); in HWTEST_F()
1370 struct HksBlob inData = {tempLen, tempData}; in HWTEST_F()
1371 struct HksBlob cipherText = {tempLen, tempData }; in HWTEST_F()
1398 cipherText.size = tempLen; in HWTEST_F()
1403 cipherText.size = tempLen; in HWTEST_F()

Completed in 8 milliseconds