Home
last modified time | relevance | path

Searched refs:IsValidUTF8 (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dutf_helper_test.cpp87 * @tc.name: IsValidUTF8
91 HWTEST_F_L0(UtfHelperTest, IsValidUTF8) in HWTEST_F_L0()
97 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataOneBitVaild1)); in HWTEST_F_L0()
98 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataOneBitVaild2)); in HWTEST_F_L0()
99 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataOneBitInvaild)); in HWTEST_F_L0()
106 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataTwoBitVaild1)); in HWTEST_F_L0()
107 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataTwoBitVaild2)); in HWTEST_F_L0()
108 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataTwoBitInvaild1)); in HWTEST_F_L0()
109 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataTwoBitInvaild2)); in HWTEST_F_L0()
110 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataTwoBitInvaild in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.h130 PANDA_PUBLIC_API bool IsValidUTF8(const std::vector<uint8_t> &data);
H A Dutf.cpp378 bool IsValidUTF8(const std::vector<uint8_t> &data) in IsValidUTF8() function
/arkcompiler/ets_runtime/ecmascript/base/
H A Dutf_helper.h109 bool IsValidUTF8(const std::vector<uint8_t> &data);
H A Dutf_helper.cpp116 bool IsValidUTF8(const std::vector<uint8_t> &data) in IsValidUTF8() function
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_optimized_stubs-inl.h72 if (!base::utf_helper::IsValidUTF8(oct)) { in UTF16EncodeCodePoint()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_global.cpp635 if (!base::utf_helper::IsValidUTF8(oct)) { in UTF16EncodeCodePoint()

Completed in 7 milliseconds