Home
last modified time | relevance | path

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

/external/avb/test/
Davb_util_unittest.cc421 static int avb_validate_utf8z(const char* data) { in avb_validate_utf8z() function
428 EXPECT_NE(0, avb_validate_utf8z("foo bar")); in TEST_F()
430 EXPECT_NE(0, avb_validate_utf8z("foo \xC3\xA6 bar")); in TEST_F()
432 EXPECT_NE(0, avb_validate_utf8z("foo \xE2\x82\xAC bar")); in TEST_F()
434 EXPECT_NE(0, avb_validate_utf8z("foo \xF0\x9F\x91\xA6 bar")); in TEST_F()
436 EXPECT_NE(0, avb_validate_utf8z("\xC3\xA6\xE2\x82\xAC\xF0\x9F\x91\xA6")); in TEST_F()
439 EXPECT_EQ(0, avb_validate_utf8z("foo \xF8 bar")); in TEST_F()
440 EXPECT_EQ(0, avb_validate_utf8z("\xF8")); in TEST_F()
442 EXPECT_EQ(0, avb_validate_utf8z("foo \xC3")); in TEST_F()