Searched refs:Ucs2ToAscii (Results 1 - 3 of 3) sorted by relevance
/base/telephony/sms_mms/utils/ |
H A D | text_coder.h | 51 int Ucs2ToAscii(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, bool &unknown);
|
H A D | text_coder.cpp | 371 int gsm7bitLength = Ucs2ToAscii(dest, maxLength, reinterpret_cast<uint8_t *>(pUcs2Text), ucs2Length, unknown); in CdmaUtf8ToAuto() 638 int TextCoder::Ucs2ToAscii(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, bool &unknown) in Ucs2ToAscii() function in OHOS::Telephony::TextCoder
|
/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_utils_test.cpp | 96 EXPECT_EQ(TextCoder::Instance().Ucs2ToAscii(pDestText, 0, pMsgText, 0, unknown), -1); in HWTEST_F() 97 EXPECT_GE(TextCoder::Instance().Ucs2ToAscii(pDestText, 1, pMsgText, 1, unknown), 0); in HWTEST_F()
|
Completed in 4 milliseconds