Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dutf_helper_test.cpp464 * @tc.name: Utf8ToUtf16Size
469 HWTEST_F_L0(UtfHelperTest, Utf8ToUtf16Size) in HWTEST_F_L0()
476 size_t length = Utf8ToUtf16Size(utf8ValueOneByteMinPtr, sizeof(utf8ValueOneByteMin)); in HWTEST_F_L0()
478 length = Utf8ToUtf16Size(utf8ValueOneByteMaxPtr, sizeof(utf8ValueOneByteMax)); in HWTEST_F_L0()
485 length = Utf8ToUtf16Size(utf8ValueTwoBytesMinPtr, sizeof(utf8ValueTwoBytesMin)); in HWTEST_F_L0()
487 length = Utf8ToUtf16Size(utf8ValueTwoBytesMaxPtr, sizeof(utf8ValueTwoBytesMax)); in HWTEST_F_L0()
494 length = Utf8ToUtf16Size(utf8ValuePtr, sizeof(utf8Value)); in HWTEST_F_L0()
665 * @tc.name: Utf8ToUtf16Size
673 size_t converted = Utf8ToUtf16Size(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.size()); in HWTEST_F_L0()
679 * @tc.name: Utf8ToUtf16Size
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.h141 PANDA_PUBLIC_API size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len);
H A Dutf.cpp569 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() function
/arkcompiler/ets_runtime/ecmascript/base/
H A Dutf_helper.h127 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len);
H A Dutf_helper.cpp372 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() function
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string-inl.h56 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in CreateFromUtf8()
H A Decma_string.cpp956 auto utf16Len = base::utf_helper::Utf8ToUtf16Size(utf8Data, utf8Len); in ComputeHashcodeUtf8()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
H A Dstring.cpp135 auto utf16Length = utf::Utf8ToUtf16Size(utf8Data, utf8Length); in CreateFromUtf8()

Completed in 12 milliseconds