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.cc420 static int avb_validate_utf8z(const char* data) { in avb_validate_utf8z() function
427 EXPECT_NE(0, avb_validate_utf8z("foo bar")); in TEST_F()
429 EXPECT_NE(0, avb_validate_utf8z("foo \xC3\xA6 bar")); in TEST_F()
431 EXPECT_NE(0, avb_validate_utf8z("foo \xE2\x82\xAC bar")); in TEST_F()
433 EXPECT_NE(0, avb_validate_utf8z("foo \xF0\x9F\x91\xA6 bar")); in TEST_F()
435 EXPECT_NE(0, avb_validate_utf8z("\xC3\xA6\xE2\x82\xAC\xF0\x9F\x91\xA6")); in TEST_F()
438 EXPECT_EQ(0, avb_validate_utf8z("foo \xF8 bar")); in TEST_F()
439 EXPECT_EQ(0, avb_validate_utf8z("\xF8")); in TEST_F()
441 EXPECT_EQ(0, avb_validate_utf8z("foo \xC3")); in TEST_F()