Home
last modified time | relevance | path

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

/linux/fs/unicode/
H A Dutf8-selftest.c40 } nfdi_test_data[] = { variable
178 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_nfdi()
179 int len = strlen(nfdi_test_data[i].str); in check_utf8_nfdi()
180 int nlen = strlen(nfdi_test_data[i].dec); in check_utf8_nfdi()
184 test((utf8len(um, UTF8_NFDI, nfdi_test_data[i].str) == nlen)); in check_utf8_nfdi()
185 test((utf8nlen(um, UTF8_NFDI, nfdi_test_data[i].str, len) == in check_utf8_nfdi()
188 if (utf8cursor(&u8c, um, UTF8_NFDI, nfdi_test_data[i].str) < 0) in check_utf8_nfdi()
192 test_f((c == nfdi_test_data[i].dec[j]), in check_utf8_nfdi()
194 c, nfdi_test_data[i].dec[j]); in check_utf8_nfdi()
237 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_comparisons()
[all …]