Searched refs:valid_utf8_string (Results 1 – 3 of 3) sorted by relevance
/external/adhd/cras/src/tests/ |
D | utf8_unittest.cc | 20 EXPECT_EQ(1, valid_utf8_string("The greek word 'kosme': " in TEST() 26 EXPECT_EQ(1, valid_utf8_string("Playback", &pos)); in TEST() 29 EXPECT_EQ(1, valid_utf8_string("The Euro sign: \xe2\x82\xac", &pos)); in TEST() 33 EXPECT_EQ(1, valid_utf8_string("\x01", &pos)); in TEST() 35 EXPECT_EQ(1, valid_utf8_string("\xc2\x80", &pos)); in TEST() 37 EXPECT_EQ(1, valid_utf8_string("\xe0\xa0\x80", &pos)); in TEST() 39 EXPECT_EQ(1, valid_utf8_string("\xe1\x80\x80", &pos)); in TEST() 41 EXPECT_EQ(1, valid_utf8_string("\xf0\x90\x80\x80", &pos)); in TEST() 43 EXPECT_EQ(1, valid_utf8_string("\xf1\x80\x80\x80", &pos)); in TEST() 47 EXPECT_EQ(1, valid_utf8_string("\x7f", &pos)); in TEST() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_utf8.c | 85 int valid_utf8_string(const char *string, size_t *bad_pos) in valid_utf8_string() function 179 return valid_utf8_string(string, NULL); in is_utf8_string()
|
D | cras_utf8.h | 26 int valid_utf8_string(const char *string, size_t *bad_pos);
|