Home
last modified time | relevance | path

Searched refs:Utf8ToUtf16Size (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dutf_helper_test.cpp471 HWTEST_F_L0(UtfHelperTest, Utf8ToUtf16Size) in HWTEST_F_L0() argument
478 size_t length = Utf8ToUtf16Size(utf8ValueOneByteMinPtr, sizeof(utf8ValueOneByteMin)); in HWTEST_F_L0()
480 length = Utf8ToUtf16Size(utf8ValueOneByteMaxPtr, sizeof(utf8ValueOneByteMax)); in HWTEST_F_L0()
487 length = Utf8ToUtf16Size(utf8ValueTwoBytesMinPtr, sizeof(utf8ValueTwoBytesMin)); in HWTEST_F_L0()
489 length = Utf8ToUtf16Size(utf8ValueTwoBytesMaxPtr, sizeof(utf8ValueTwoBytesMax)); in HWTEST_F_L0()
496 length = Utf8ToUtf16Size(utf8ValuePtr, sizeof(utf8Value)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.h88 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len);
Dutf_helper.cpp279 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() function
/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h58 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in CreateFromUtf8()
Decma_string.cpp639 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in ComputeHashcodeUtf8()