Home
last modified time | relevance | path

Searched refs:u16Data (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp155 …std::u16string u16Data = std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.from… in ConvertUtf8ToUtf16()
156 return u16Data; in ConvertUtf8ToUtf16()
159 static std::string ConvertUtf16ToMUtf8(const uint16_t *u16Data, size_t u16DataSize) in ConvertUtf16ToMUtf8() argument
161 size_t mutf8DataLen = panda::utf::Utf16ToMUtf8Size(u16Data, u16DataSize); in ConvertUtf16ToMUtf8()
164 …panda::utf::ConvertRegionUtf16ToMUtf8(u16Data, mutf8Data.data(), u16DataSize, mutf8DataLen - 1, 0); in ConvertUtf16ToMUtf8()
174 uint16_t *u16Data = reinterpret_cast<uint16_t *>(u16String.data()); in ConvertUtf8ToMUtf8() local
176 return ConvertUtf16ToMUtf8(u16Data, u16DataSize); in ConvertUtf8ToMUtf8()
216 uint16_t u16Data = static_cast<uint16_t>(std::stoi(uStr.c_str(), NULL, base)); in ParseUnicodeEscapeString() local
217 newData += ConvertUtf16ToMUtf8(&u16Data, 1); in ParseUnicodeEscapeString()
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h173 static inline size_t FindFromU16ToUpper(const std::u16string &thisStr, uint16_t *u16Data) in FindFromU16ToUpper() argument
175 std::u16string tmpStr = Utf16ToU16String(u16Data, 1); in FindFromU16ToUpper()