Home
last modified time | relevance | path

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

/Linux-v5.10/fs/unicode/
Dutf8-selftest.c42 } nfdi_test_data[] = { variable
176 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_nfdi()
177 int len = strlen(nfdi_test_data[i].str); in check_utf8_nfdi()
178 int nlen = strlen(nfdi_test_data[i].dec); in check_utf8_nfdi()
182 test((utf8len(data, nfdi_test_data[i].str) == nlen)); in check_utf8_nfdi()
183 test((utf8nlen(data, nfdi_test_data[i].str, len) == nlen)); in check_utf8_nfdi()
185 if (utf8cursor(&u8c, data, nfdi_test_data[i].str) < 0) in check_utf8_nfdi()
189 test_f((c == nfdi_test_data[i].dec[j]), in check_utf8_nfdi()
191 c, nfdi_test_data[i].dec[j]); in check_utf8_nfdi()
246 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_comparisons()
[all …]