Lines Matching refs:nfdi_test_data
40 } 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()
238 const struct qstr s1 = {.name = nfdi_test_data[i].str, in check_utf8_comparisons()
239 .len = sizeof(nfdi_test_data[i].str)}; in check_utf8_comparisons()
240 const struct qstr s2 = {.name = nfdi_test_data[i].dec, in check_utf8_comparisons()
241 .len = sizeof(nfdi_test_data[i].dec)}; in check_utf8_comparisons()