Searched refs:WCHAR (Results 1 – 2 of 2) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | text_coder.cpp | 29 static constexpr uint32_t UCS2_LEN_MAX = INT_MAX / sizeof(WCHAR); 31 const WCHAR GSM7_BIT_TO_UC_S2[] = { 0x0040, 0x00A3, 0x0024, 0x00A5, 0x00E8, 0x00E9, 0x00F9, 0x00EC,… 257 std::unique_ptr<WCHAR[]> ucs2Text = std::make_unique<WCHAR[]>(maxUcs2Length); in Utf8ToGsm7bit() 262 WCHAR *pUcs2Text = ucs2Text.get(); in Utf8ToGsm7bit() 263 …if (memset_s(pUcs2Text, maxUcs2Length * sizeof(WCHAR), 0x00, maxUcs2Length * sizeof(WCHAR)) != EOK… in Utf8ToGsm7bit() 269 … Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR), src, srcLength); in Utf8ToGsm7bit() 304 std::unique_ptr<WCHAR[]> ucs2Text = std::make_unique<WCHAR[]>(maxUcs2Length); in GsmUtf8ToAuto() 309 WCHAR *pUcs2Text = ucs2Text.get(); in GsmUtf8ToAuto() 310 …if (memset_s(pUcs2Text, maxUcs2Length * sizeof(WCHAR), 0x00, maxUcs2Length * sizeof(WCHAR)) != EOK… in GsmUtf8ToAuto() 314 … Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR), src, srcLength); in GsmUtf8ToAuto() [all …]
|
D | msg_text_convert_common.h | 21 using WCHAR = unsigned long; variable
|