Home
last modified time | relevance | path

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

/external/libxkbcommon/test/
Dutf8.c156 check_utf32_to_utf8(uint32_t unichar, int expected_length, const char *expected) { in check_utf32_to_utf8() function
169 check_utf32_to_utf8(0x0, 2, ""); in test_utf32_to_utf8()
170 check_utf32_to_utf8(0x40, 2, "\x40"); in test_utf32_to_utf8()
171 check_utf32_to_utf8(0xA1, 3, "\xc2\xa1"); in test_utf32_to_utf8()
172 check_utf32_to_utf8(0x2701, 4, "\xe2\x9c\x81"); in test_utf32_to_utf8()
173 check_utf32_to_utf8(0x1f004, 5, "\xf0\x9f\x80\x84"); in test_utf32_to_utf8()
174 check_utf32_to_utf8(0x110000, 0, ""); in test_utf32_to_utf8()
175 check_utf32_to_utf8(0xffffffff, 0, ""); in test_utf32_to_utf8()