Searched refs:pDestText (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | msg_text_convert.h | 37 …OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSrcText, IN int srcTextLe… 38 …int ConvertCdmaUTF8ToAuto(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *… 40 …int ConvertGsmUTF8ToAuto(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *p… 42 …int ConvertGSM7bitToUTF8(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *p… 45 …OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSrcText, IN int srcTextLe… 47 …OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSrcText, IN int srcTextLe… 49 …OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSrcText, IN int srcTextLe… 59 …int ConvertUCS2ToGSM7bit(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *p… 61 …int ConvertUCS2ToGSM7bitAuto(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned cha… 63 …int ConvertUCS2ToASCII(OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSr… [all …]
|
D | msg_text_convert.cpp | 211 unsigned char *pDestText; in ConvertUTF8ToGSM7bit() local 217 … std::tie(pDestText, maxLength, pSrcText, srcTextLen, pLangId, bIncludeAbnormalChar) = parameters; in ConvertUTF8ToGSM7bit() 240 …gsm7bitLength = ConvertUCS2ToGSM7bit(pDestText, maxLength, reinterpret_cast<unsigned char *>(pUCS2… in ConvertUTF8ToGSM7bit() 246 …OUT unsigned char *pDestText, IN int maxLength, IN const unsigned char *pSrcText, IN int srcTextLe… in ConvertUTF8ToUCS2() argument 249 auto unicodeTemp = reinterpret_cast<unsigned char *>(pDestText); in ConvertUTF8ToUCS2() 255 const unsigned char *pTempDestText = pDestText; in ConvertUTF8ToUCS2() 257 if (maxLength == 0 || pSrcText == nullptr || pDestText == nullptr) { in ConvertUTF8ToUCS2() 286 int MsgTextConvert::ConvertGsmUTF8ToAuto(OUT unsigned char *pDestText, IN int maxLength, in ConvertGsmUTF8ToAuto() argument 308 ret = memcpy_s(pDestText, tempTextLen, pSrcText, tempTextLen); in ConvertGsmUTF8ToAuto() 315 … pDestText, maxLength, reinterpret_cast<unsigned char *>(pUCS2Text), ucs2Length, &bUnknown); in ConvertGsmUTF8ToAuto() [all …]
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_test.cpp | 70 unsigned char *pDestText = encodeData; variable 74 … pDestText, BUF_SIZE, const_cast<unsigned char *>(pMsgText), 0, pLangId, pIncludeAbnormalChar); 76 EXPECT_GE(textCvt->ConvertCdmaUTF8ToAuto(pDestText, 1, pMsgText, 1, &smsCodingScheme), -1); 77 EXPECT_GE(textCvt->ConvertGsmUTF8ToAuto(pDestText, 1, pMsgText, 1, &smsCodingScheme), -1); 78 EXPECT_EQ(textCvt->ConvertUTF8ToUCS2(pDestText, 1, pMsgText, -1), -1); 79 EXPECT_EQ(textCvt->ConvertUTF8ToUCS2(pDestText, 0, pMsgText, -1), -1); 80 EXPECT_EQ(textCvt->ConvertCdmaUTF8ToAuto(pDestText, 1, pMsgText, 0, &smsCodingScheme), 0); 81 EXPECT_EQ(textCvt->ConvertGsmUTF8ToAuto(pDestText, 1, pMsgText, 0, &smsCodingScheme), 0); 82 EXPECT_EQ(textCvt->ConvertGSM7bitToUTF8(pDestText, 0, pMsgText, 0, &msgLangInfo), 0); 83 EXPECT_GE(textCvt->ConvertSHIFTJISToUTF8(pDestText, 1, pMsgText, -1), 0); [all …]
|
/base/telephony/sms_mms/services/gsm/ |
D | gsm_sms_message.cpp | 241 unsigned char *pDestText = encodeData; in CreateDataSubmitSmsTpdu() local 245 …pDestText, bufSize, const_cast<unsigned char *>(pMsgText), (int)dataLen, pLangId, pIncludeAbnormal… in CreateDataSubmitSmsTpdu()
|