Searched refs:IsStructurallyValidUTF8 (Results 1 – 6 of 6) sorted by relevance
47 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data(), in TEST()51 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data() + i, in TEST()58 EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data(), in TEST()62 EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data() + i, in TEST()
130 PROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);132 inline bool IsStructurallyValidUTF8(const std::string& str) { in IsStructurallyValidUTF8() function133 return IsStructurallyValidUTF8(str.data(), static_cast<int>(str.length())); in IsStructurallyValidUTF8()
556 bool IsStructurallyValidUTF8(const char* buf, int len) { in IsStructurallyValidUTF8() function
354 if (!IsStructurallyValidUTF8(str)) { in VerifyUTF8()
592 if (!IsStructurallyValidUTF8(data, size)) { in VerifyUtf8String()
169 if (!internal::IsStructurallyValidUTF8(leftover_)) { in FinishParse()