Home
last modified time | relevance | path

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

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

Completed in 5 milliseconds