Searched refs:IsStructurallyValidUTF8 (Results 1 – 7 of 7) 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()
131 PROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);133 inline bool IsStructurallyValidUTF8(StringPiece str) { in IsStructurallyValidUTF8() function134 return IsStructurallyValidUTF8(str.data(), static_cast<int>(str.length())); in IsStructurallyValidUTF8()
555 bool IsStructurallyValidUTF8(const char* buf, int len) { in IsStructurallyValidUTF8() function
416 if (!IsStructurallyValidUTF8(str)) { in VerifyUTF8()
585 if (!IsStructurallyValidUTF8(data, size)) { in VerifyUtf8String()
208 bool is_valid_utf8 = internal::IsStructurallyValidUTF8(leftover_); in FinishParse()
218 "google::protobuf::internal::IsStructurallyValidUTF8(char const*, int)";