Searched refs:Utf8ToUtf16Size (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | utf_helper_test.cpp | 471 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/ |
D | utf_helper.h | 88 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len);
|
D | utf_helper.cpp | 279 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() function
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string-inl.h | 58 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in CreateFromUtf8()
|
D | ecma_string.cpp | 639 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in ComputeHashcodeUtf8()
|