Lines Matching refs:test

73 	struct wcsrtombs_test *test;  member
81 test_wcsrtombs_1(const char *locale, struct wcsrtombs_test *test) in test_wcsrtombs_1() argument
97 for (int i = 0; test[i].mbs[0] != 0; i++) { in test_wcsrtombs_1()
99 const wchar_t *wcs = test[i].wcs; in test_wcsrtombs_1()
105 if (cnt != strlen(test[i].mbs)) { in test_wcsrtombs_1()
107 cnt, strlen(test[i].mbs)); in test_wcsrtombs_1()
109 if (strcmp(mbs, test[i].mbs) != 0) { in test_wcsrtombs_1()
111 mbs, test[i].mbs); in test_wcsrtombs_1()
121 test_wcsrtombs_l(const char *locale, struct wcsrtombs_test *test) in test_wcsrtombs_l() argument
143 for (int i = 0; test[i].mbs[0] != 0; i++) { in test_wcsrtombs_l()
145 const wchar_t *wcs = test[i].wcs; in test_wcsrtombs_l()
151 if (cnt != strlen(test[i].mbs)) { in test_wcsrtombs_l()
153 cnt, strlen(test[i].mbs)); in test_wcsrtombs_l()
155 if (strcmp(mbs, test[i].mbs) != 0) { in test_wcsrtombs_l()
157 test[i].mbs); in test_wcsrtombs_l()
168 struct wcsrtombs_test *test) in test_wcsrtombs_thr_iter() argument
178 for (int i = 0; test[i].mbs[0] != 0; i++) { in test_wcsrtombs_thr_iter()
180 const wchar_t *wcs = test[i].wcs; in test_wcsrtombs_thr_iter()
186 if (cnt != strlen(test[i].mbs)) { in test_wcsrtombs_thr_iter()
188 cnt, strlen(test[i].mbs)); in test_wcsrtombs_thr_iter()
190 if (strcmp(mbs, test[i].mbs) != 0) { in test_wcsrtombs_thr_iter()
192 test[i].mbs); in test_wcsrtombs_thr_iter()
210 locales[i].test); in test_wcsrtombs_thr_work()
353 test_wcsrtombs_1(locales[i].locale, locales[i].test); in test_wcsrtombs()
354 test_wcsrtombs_l(locales[i].locale, locales[i].test); in test_wcsrtombs()