Lines Matching refs:c4
28 static const u16 c4[] = {0xd801, 0xdc8d, 0xd801, 0xdc96, 0xd801, 0xdc87, variable
55 u16 *copy = u16_strdup(c4); in unicode_test_u16_strdup()
57 ut_assert(copy != c4); in unicode_test_u16_strdup()
58 ut_assert(!memcmp(copy, c4, sizeof(c4))); in unicode_test_u16_strdup()
90 sprintf(buf, "%8.6ls", c4); in unicode_test_string16()
96 sprintf(buf, "%-8.2ls", c4); in unicode_test_string16()
271 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
324 ut_assert(!unicode_test_u16_strcmp(buf, c4, 4)); in unicode_test_utf8_utf16_strncpy()
331 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
354 s = c4; in unicode_test_utf16_get()
357 ut_asserteq_ptr(c4 + 2, s); in unicode_test_utf16_get()
397 ut_asserteq(2, utf16_strnlen(c4, 2)); in unicode_test_utf16_strnlen()
398 ut_asserteq(3, utf16_strnlen(c4, 3)); in unicode_test_utf16_strnlen()
414 ut_asserteq(12, utf16_utf8_strlen(c4)); in unicode_test_utf16_utf8_strlen()
431 ut_asserteq(8, utf16_utf8_strnlen(c4, 2)); in unicode_test_utf16_utf8_strnlen()
432 ut_asserteq(12, utf16_utf8_strnlen(c4, 3)); in unicode_test_utf16_utf8_strnlen()
458 utf16_utf8_strcpy(&pos, c4); in unicode_test_utf16_utf8_strcpy()
510 utf16_utf8_strncpy(&pos, c4, 2); in unicode_test_utf16_utf8_strncpy()
517 utf16_utf8_strncpy(&pos, c4, 10); in unicode_test_utf16_utf8_strncpy()