Home
last modified time | relevance | path

Searched refs:IsStructurallyValidUTF8 (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid_unittest.cc47 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()
Dcommon.h130 PROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);
132 inline bool IsStructurallyValidUTF8(const std::string& str) { in IsStructurallyValidUTF8() function
133 return IsStructurallyValidUTF8(str.data(), static_cast<int>(str.length())); in IsStructurallyValidUTF8()
Dstructurally_valid.cc556 bool IsStructurallyValidUTF8(const char* buf, int len) { in IsStructurallyValidUTF8() function
/external/protobuf/src/google/protobuf/
Dparse_context.cc354 if (!IsStructurallyValidUTF8(str)) { in VerifyUTF8()
Dwire_format_lite.cc592 if (!IsStructurallyValidUTF8(data, size)) { in VerifyUtf8String()
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc169 if (!internal::IsStructurallyValidUTF8(leftover_)) { in FinishParse()