Home
last modified time | relevance | path

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

/base/telephony/sms_mms/utils/
H A Dtext_coder.cpp251 int maxUcs2Length = srcLength; in Utf8ToGsm7bit() local
252 if (static_cast<uint32_t>(maxUcs2Length) >= UCS2_LEN_MAX) { in Utf8ToGsm7bit()
256 std::unique_ptr<WCHAR[]> ucs2Text = std::make_unique<WCHAR[]>(maxUcs2Length); in Utf8ToGsm7bit()
262 if (memset_s(pUcs2Text, maxUcs2Length * sizeof(WCHAR), 0x00, maxUcs2Length * sizeof(WCHAR)) != EOK) { in Utf8ToGsm7bit()
268 int ucs2Length = Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR), src, srcLength); in Utf8ToGsm7bit()
299 int maxUcs2Length = srcLength; in GsmUtf8ToAuto() local
300 if (maxUcs2Length <= 0 || static_cast<uint32_t>(maxUcs2Length) >= UCS2_LEN_MAX) { in GsmUtf8ToAuto()
304 std::unique_ptr<WCHAR[]> ucs2Text = std::make_unique<WCHAR[]>(maxUcs2Length); in GsmUtf8ToAuto()
345 int maxUcs2Length = srcLength; CdmaUtf8ToAuto() local
396 int maxUcs2Length = srcLength; Gsm7bitToUtf8() local
[all...]

Completed in 2 milliseconds