Searched refs:IsValidUTF8 (Results 1 – 4 of 4) sorted by relevance
115 HWTEST_F_L0(UtfHelperTest, IsValidUTF8) in HWTEST_F_L0() argument120 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataOneBitVaild1)); in HWTEST_F_L0()121 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataOneBitVaild2)); in HWTEST_F_L0()122 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataOneBitUnvaild)); in HWTEST_F_L0()127 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataTwoBitVaild1)); in HWTEST_F_L0()128 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataTwoBitVaild2)); in HWTEST_F_L0()129 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataTwoBitUnvaild1)); in HWTEST_F_L0()130 EXPECT_FALSE(utf_helper::IsValidUTF8(utfDataTwoBitUnvaild2)); in HWTEST_F_L0()137 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataThreeBitVaild1)); in HWTEST_F_L0()138 EXPECT_TRUE(utf_helper::IsValidUTF8(utfDataThreeBitVaild2)); in HWTEST_F_L0()[all …]
77 bool IsValidUTF8(const std::vector<uint8_t> &data);
90 bool IsValidUTF8(const std::vector<uint8_t> &data) in IsValidUTF8() function
441 if (!base::utf_helper::IsValidUTF8(oct)) { in Decode()