Searched refs:IsStructurallyValidUTF8 (Results 1 – 5 of 5) sorted by relevance
17 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data(), in TEST()21 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data() + i, in TEST()28 EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data(), in TEST()32 EXPECT_FALSE(IsStructurallyValidUTF8(invalid_str.data() + i, in TEST()
146 LIBPROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);148 inline bool IsStructurallyValidUTF8(const std::string& str) { in IsStructurallyValidUTF8() function149 return IsStructurallyValidUTF8(str.data(), static_cast<int>(str.length())); in IsStructurallyValidUTF8()
527 bool IsStructurallyValidUTF8(const char* buf, int len) { in IsStructurallyValidUTF8() function
516 if (!IsStructurallyValidUTF8(data, size)) { in VerifyUtf8String()
162 if (!internal::IsStructurallyValidUTF8(leftover_)) { in FinishParse()