Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dutf8_unittest.cc20 EXPECT_EQ(1, valid_utf8_string("The greek word 'kosme': " in TEST()
25 EXPECT_EQ(1, valid_utf8_string("Playback", &pos)); in TEST()
28 EXPECT_EQ(1, valid_utf8_string("The Euro sign: \xe2\x82\xac", &pos)); in TEST()
32 EXPECT_EQ(1, valid_utf8_string("\x01", &pos)); in TEST()
34 EXPECT_EQ(1, valid_utf8_string("\xc2\x80", &pos)); in TEST()
36 EXPECT_EQ(1, valid_utf8_string("\xe0\xa0\x80", &pos)); in TEST()
38 EXPECT_EQ(1, valid_utf8_string("\xe1\x80\x80", &pos)); in TEST()
40 EXPECT_EQ(1, valid_utf8_string("\xf0\x90\x80\x80", &pos)); in TEST()
42 EXPECT_EQ(1, valid_utf8_string("\xf1\x80\x80\x80", &pos)); in TEST()
46 EXPECT_EQ(1, valid_utf8_string("\x7f", &pos)); in TEST()
[all …]
/external/adhd/cras/src/server/
Dcras_utf8.c102 int valid_utf8_string(const char *string, size_t *bad_pos) in valid_utf8_string() function
195 return valid_utf8_string(string, NULL); in is_utf8_string()
Dcras_utf8.h26 int valid_utf8_string(const char *string, size_t *bad_pos);