Searched refs:MAX_ADDRESS_LEN (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/services/include/gsm/ |
D | gsm_sms_param_codec.h | 45 static constexpr uint8_t MAX_ADDRESS_LEN = 21; variable
|
D | gsm_pdu_code_type.h | 26 static constexpr uint8_t MAX_ADDRESS_LEN = 21; variable
|
/base/telephony/sms_mms/services/gsm/ |
D | gsm_sms_param_codec.cpp | 270 char *tmpAddress = new (std::nothrow) char[MAX_ADDRESS_LEN]; in DecodeAddress() 274 if (memset_s(tmpAddress, MAX_ADDRESS_LEN, 0x00, MAX_ADDRESS_LEN) != EOK) { in DecodeAddress() 281 reinterpret_cast<unsigned char *>(tmpAddress), MAX_ADDRESS_LEN); in DecodeAddress() 285 …extCvt->ConvertGSM7bitToUTF8(reinterpret_cast<unsigned char *>(pAddress->address), MAX_ADDRESS_LEN, in DecodeAddress()
|
D | gsm_sms_message.cpp | 45 int ret = memset_s(replyAddr.address, sizeof(replyAddr.address), 0x00, MAX_ADDRESS_LEN + 1); in CalcReplyEncodeAddress() 50 …et = memcpy_s(replyAddr.address, sizeof(replyAddr.address), replyAddress.c_str(), MAX_ADDRESS_LEN); in CalcReplyEncodeAddress() 71 if (addLen < MAX_ADDRESS_LEN) { in SetSmsTpduDestAddress() 82 desAddr.c_str(), MAX_ADDRESS_LEN); in SetSmsTpduDestAddress() 85 desAddr.c_str(), MAX_ADDRESS_LEN - 1); in SetSmsTpduDestAddress() 91 tPdu->data.submit.destAddress.address[MAX_ADDRESS_LEN] = '\0'; in SetSmsTpduDestAddress() 165 MAX_ADDRESS_LEN + 1); in SetHeaderReply()
|