Lines Matching refs:exp_result
76 *s2, size_t n, int exp_result) in do_one_test() argument
95 size_t n, int max_char, int exp_result) in do_test_limit() argument
130 if (exp_result < 0) in do_test_limit()
132 else if (exp_result > 0) in do_test_limit()
136 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_test_limit()
145 n, int max_char, int exp_result) in do_test() argument
177 s1[n] = 24 + exp_result; in do_test()
181 if (exp_result < 0) in do_test()
183 else if (exp_result > 0) in do_test()
186 s2[n - 1] -= exp_result; in do_test()
188 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_test()
198 size_t n, int exp_result) in do_one_test_page_boundary() argument
207 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_one_test_page_boundary()
223 int exp_result; in do_test_page_boundary() local
243 exp_result = SIMPLE_STRNCMP (s1p, s2p, s); in do_test_page_boundary()
245 len, s, exp_result); in do_test_page_boundary()
254 int exp_result; in do_one_test_page() local
266 exp_result= *s1; in do_one_test_page()
276 do_one_test (json_ctx, impl, s1, s2, page_size, -exp_result); in do_one_test_page()
289 do_one_test (json_ctx, impl, s1, s2, page_size, exp_result); in do_one_test_page()