Home
last modified time | relevance | path

Searched refs:pb_validate_utf8 (Results 1 – 7 of 7) sorted by relevance

/nanopb-3.4.0/tests/common_unittests/
Dcommon_unittests.c130 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 …]
/nanopb-3.4.0/
Dpb_common.h41 bool pb_validate_utf8(const char *s);
Dpb_common.c334 bool pb_validate_utf8(const char *str) in pb_validate_utf8() function
Dpb_encode.c922 if (!pb_validate_utf8(str)) in pb_enc_string()
Dpb_decode.c1579 if (!pb_validate_utf8((const char*)dest)) in pb_dec_string()
/nanopb-3.4.0/spm_headers/nanopb/
Dpb_common.h41 bool pb_validate_utf8(const char *s);
/nanopb-3.4.0/docs/
Dreference.md1030 ### pb_validate_utf8 subsection
1034 bool pb_validate_utf8(const char *s);