Lines Matching refs:exp_result
107 int exp_result) in check_result() argument
110 if ((exp_result == 0 && result != 0) in check_result()
111 || (exp_result < 0 && result >= 0) in check_result()
112 || (exp_result > 0 && result <= 0)) in check_result()
115 result, exp_result); in check_result()
126 int exp_result) in do_one_test() argument
128 if (check_result (impl, s1, s2, exp_result) < 0) in do_one_test()
134 int exp_result) in do_test() argument
165 s2[len + 1] = 24 + exp_result; in do_test()
166 s2[len - 1] -= exp_result; in do_test()
169 do_one_test (impl, s1, s2, exp_result); in do_test()
298 int exp_result = SIMPLE_STRCMP (s1 + i1, s2 + i2); in check() local
300 check_result (impl, s1 + i1, s2 + i2, exp_result); in check()
313 int exp_result; in check() local
325 exp_result = SIMPLE_STRCMP (s1, s2); in check()
327 check_result (impl, s1, s2, exp_result); in check()
342 int exp_result; in check2() local
359 exp_result = SIMPLE_STRCMP (s1p, s2p); in check2()
361 check_result (impl, s1p, s2p, exp_result); in check2()
383 int exp_result = SIMPLE_STRCMP (s1, s2); in check3() local
385 check_result (impl, s1, s2, exp_result); in check3()