Searched refs:Utf8ToUcs2 (Results 1 – 5 of 5) sorted by relevance
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_utils_test.cpp | 70 EXPECT_EQ(TextCoder::Instance().Utf8ToUcs2(pDestText, 1, pMsgText, -1), -1); 71 EXPECT_EQ(TextCoder::Instance().Utf8ToUcs2(pDestText, 0, pMsgText, -1), 0);
|
/base/telephony/sms_mms/utils/ |
D | text_coder.h | 35 int Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength);
|
D | text_coder.cpp | 269 …int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR),… in Utf8ToGsm7bit() 273 int TextCoder::Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength) in Utf8ToUcs2() function in OHOS::Telephony::TextCoder 314 …int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR),… in GsmUtf8ToAuto() 358 …int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR),… in CdmaUtf8ToAuto()
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_message.cpp | 568 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_message.cpp | 716 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
|