Home
last modified time | relevance | path

Searched refs:Utf8ToUcs2 (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_utils_test.cpp76 EXPECT_EQ(TextCoder::Instance().Utf8ToUcs2(pDestText, 1, pMsgText, -1), -1);
77 EXPECT_EQ(TextCoder::Instance().Utf8ToUcs2(pDestText, 0, pMsgText, -1), 0);
/ohos5.0/base/telephony/sms_mms/utils/
H A Dtext_coder.cpp268 …int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR),… in Utf8ToGsm7bit()
272 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()
360 …int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR),… in CdmaUtf8ToAuto()
H A Dtext_coder.h35 int Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength);
/ohos5.0/base/telephony/sms_mms/services/sms/cdma/
H A Dcdma_sms_message.cpp568 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_message.cpp719 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()