Lines Matching refs:n
55 static int test_int_ops(int n) in test_int_ops() argument
58 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops()
62 if (!TEST_int_eq(err, test_ints[n].sum_err) in test_int_ops()
68 if (!TEST_int_eq(err, test_ints[n].sub_err) in test_int_ops()
74 if (!TEST_int_eq(err, test_ints[n].mul_err) in test_int_ops()
80 if (!TEST_int_eq(err, test_ints[n].div_err) in test_int_ops()
86 if (!TEST_int_eq(err, test_ints[n].mod_err) in test_int_ops()
92 if (!TEST_int_eq(err, test_ints[n].div_round_up_err)) in test_int_ops()
101 if (!TEST_int_eq(err, test_ints[n].neg_a_err) in test_int_ops()
107 if (!TEST_int_eq(err, test_ints[n].neg_b_err) in test_int_ops()
113 if (!TEST_int_eq(err, test_ints[n].abs_a_err) in test_int_ops()
119 if (!TEST_int_eq(err, test_ints[n].abs_b_err) in test_int_ops()
143 static int test_uint_ops(int n) in test_uint_ops() argument
147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops()
151 if (!TEST_int_eq(err, test_uints[n].sum_err) in test_uint_ops()
157 if (!TEST_int_eq(err, test_uints[n].sub_err) in test_uint_ops()
163 if (!TEST_int_eq(err, test_uints[n].mul_err) in test_uint_ops()
169 if (!TEST_int_eq(err, test_uints[n].div_err) in test_uint_ops()
175 if (!TEST_int_eq(err, test_uints[n].mod_err) in test_uint_ops()
181 if (!TEST_int_eq(err, test_uints[n].div_round_up_err) in test_uint_ops()
226 static int test_size_t_ops(int n) in test_size_t_ops() argument
230 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops()
234 if (!TEST_int_eq(err, test_size_ts[n].sum_err) in test_size_t_ops()
240 if (!TEST_int_eq(err, test_size_ts[n].sub_err) in test_size_t_ops()
246 if (!TEST_int_eq(err, test_size_ts[n].mul_err) in test_size_t_ops()
252 if (!TEST_int_eq(err, test_size_ts[n].div_err) in test_size_t_ops()
258 if (!TEST_int_eq(err, test_size_ts[n].mod_err) in test_size_t_ops()
264 if (!TEST_int_eq(err, test_size_ts[n].div_round_up_err) in test_size_t_ops()
313 static int test_int_muldiv(int n) in test_int_muldiv() argument
317 const int a = test_muldiv_ints[n].a; in test_int_muldiv()
318 const int b = test_muldiv_ints[n].b; in test_int_muldiv()
319 const int c = test_muldiv_ints[n].c; in test_int_muldiv()
324 if (!TEST_int_eq(err, test_muldiv_ints[n].err) in test_int_muldiv()
345 static int test_uint_muldiv(int n) in test_uint_muldiv() argument
349 const unsigned int a = test_muldiv_uints[n].a; in test_uint_muldiv()
350 const unsigned int b = test_muldiv_uints[n].b; in test_uint_muldiv()
351 const unsigned int c = test_muldiv_uints[n].c; in test_uint_muldiv()
356 if (!TEST_int_eq(err, test_muldiv_uints[n].err) in test_uint_muldiv()