Lines Matching refs:exp_result
61 char *exp_result) in check_result() argument
64 if (result != exp_result) in check_result()
68 (exp_result == NULL) ? "(null)" : exp_result); in check_result()
77 do_one_test (impl_t *impl, const char *s1, const char *s2, char *exp_result) in do_one_test() argument
79 if (check_result (impl, s1, s2, exp_result) < 0) in do_one_test()
130 char *exp_result; in check1() local
132 exp_result = simple_strstr (s1, s2); in check1()
134 check_result (impl, s1, s2, exp_result); in check1()
144 char *exp_result; in check2() local
165 exp_result = simple_strstr (s1_stack, s2_stack); in check2()
168 check_result (impl, s1_stack, s2_stack, exp_result); in check2()
169 check_result (impl, s1_stack, s2_page_end, exp_result); in check2()
170 check_result (impl, s1_stack, s2_page_cross, exp_result); in check2()
172 check_result (impl, s1_page_end, s2_stack, exp_result); in check2()
173 check_result (impl, s1_page_end, s2_page_end, exp_result); in check2()
174 check_result (impl, s1_page_end, s2_page_cross, exp_result); in check2()
176 check_result (impl, s1_page_cross, s2_stack, exp_result); in check2()
177 check_result (impl, s1_page_cross, s2_page_end, exp_result); in check2()
178 check_result (impl, s1_page_cross, s2_page_cross, exp_result); in check2()
203 char *exp_result = simple_strstr (h, n); in pr23637() local
205 check_result (impl, h, n, exp_result); in pr23637()