Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.cpp222 size_t utf8Pos = 0; in ConvertRegionUtf16ToUtf8() local
228 utf8Out[utf8Pos++] = 0x00U; in ConvertRegionUtf16ToUtf8()
233 utf8Out[utf8Pos++] = UTF8_2B_FIRST; in ConvertRegionUtf16ToUtf8()
234 utf8Out[utf8Pos++] = UTF8_2B_SECOND; in ConvertRegionUtf16ToUtf8()
238 utf8Pos += EncodeUTF8(codepoint, utf8Out, utf8Len, utf8Pos); in ConvertRegionUtf16ToUtf8()
240 return utf8Pos; in ConvertRegionUtf16ToUtf8()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dutf_helper_test.cpp523 …size_t utf8Pos = ConvertRegionUtf16ToUtf8(utf16ValuePtr, utf8Out, utf16Len, utf8Len, start, modify… in HWTEST_F_L0() local
525 EXPECT_EQ(utf8Pos, 16U); in HWTEST_F_L0()
528 utf8Pos = ConvertRegionUtf16ToUtf8(utf16ValuePtr, utf8Out, utf16Len, utf8Len, start, modify); in HWTEST_F_L0()
529 EXPECT_EQ(utf8Pos, 18U); in HWTEST_F_L0()