Home
last modified time | relevance | path

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

/base/telephony/sms_mms/test/gtest/
Dzero_branch_utils_test.cpp70 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/
Dtext_coder.h35 int Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength);
Dtext_coder.cpp269 …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/
Dcdma_sms_message.cpp568 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_message.cpp705 … decodeLen = TextCoder::Instance().Utf8ToUcs2(decodeData, maxDecodeLen, pMsgText, dataLen); in DecodeMessage()