Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid_unittest.cc17 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()
Dcommon.h146 LIBPROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);
148 inline bool IsStructurallyValidUTF8(const std::string& str) { in IsStructurallyValidUTF8() function
149 return IsStructurallyValidUTF8(str.data(), static_cast<int>(str.length())); in IsStructurallyValidUTF8()
Dstructurally_valid.cc527 bool IsStructurallyValidUTF8(const char* buf, int len) { in IsStructurallyValidUTF8() function
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc516 if (!IsStructurallyValidUTF8(data, size)) { in VerifyUtf8String()
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc162 if (!internal::IsStructurallyValidUTF8(leftover_)) { in FinishParse()