Searched refs:pb_validate_utf8 (Results 1 – 7 of 7) sorted by relevance
130 TEST(pb_validate_utf8("abcdefg")); in main()131 TEST(pb_validate_utf8("\xc3\xa4\xc3\xa4\x6b\x6b\xc3\xb6\x6e\x65\x6e\x0a")); in main()132 TEST(!pb_validate_utf8("\xc3\xa4\xc3\xa4\x6b\x6b\xb6\xc3\x6e\x65\x6e\x0a")); in main()133 TEST(pb_validate_utf8("\xed\x9f\xbf")); in main()134 TEST(pb_validate_utf8("\xee\x80\x80")); in main()135 TEST(pb_validate_utf8("\xef\xbf\xbd")); in main()136 TEST(pb_validate_utf8("\xf4\x8f\xbf\xbf")); in main()137 TEST(!pb_validate_utf8("a\x80z")); in main()138 TEST(!pb_validate_utf8("a\xbfz")); in main()139 TEST(!pb_validate_utf8("a\xfez")); in main()[all …]
41 bool pb_validate_utf8(const char *s);
334 bool pb_validate_utf8(const char *str) in pb_validate_utf8() function
922 if (!pb_validate_utf8(str)) in pb_enc_string()
1579 if (!pb_validate_utf8((const char*)dest)) in pb_dec_string()
1030 ### pb_validate_utf8 subsection1034 bool pb_validate_utf8(const char *s);