Lines Matching refs:n2
49 size_t n1, n2, i; in test_fail_string_common() local
72 n1 = n2 = 0; in test_fail_string_common()
79 b2[n2 = l2 > width ? width : l2] = 0; in test_fail_string_common()
80 for (i = 0; i < n2; i++) in test_fail_string_common()
85 if (n1 > 0 && n2 > 0) { in test_fail_string_common()
86 const size_t j = n1 < n2 ? n1 : n2; in test_fail_string_common()
97 if (n1 == n2 && !diff) { in test_fail_string_common()
98 test_printf_stderr("%4u: '%s'\n", cnt, n2 > n1 ? b2 : b1); in test_fail_string_common()
106 else if (n2 > 0) in test_fail_string_common()
114 m2 += n2; in test_fail_string_common()
116 l2 -= n2; in test_fail_string_common()
275 size_t l1, l2, n1, n2, i, len; in test_fail_bignum_common() local
321 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
336 test_printf_stderr(" %s:% 5d\n", n2 > n1 ? b2 : b1, cnt); in test_fail_bignum_common()
344 else if (cnt == 0 || n2 > 0) in test_fail_bignum_common()
346 if (real_diff && (cnt == 0 || (n1 > 0 && n2 > 0)) in test_fail_bignum_common()
434 size_t n1, n2, i; in test_fail_memory_common() local
457 n1 = n2 = 0; in test_fail_memory_common()
463 n2 = l2 > bytes ? bytes : l2; in test_fail_memory_common()
464 hex_convert_memory(m2, n2, b2, 8); in test_fail_memory_common()
470 if (n1 > 0 && n2 > 0) { in test_fail_memory_common()
471 const size_t j = n1 < n2 ? n1 : n2; in test_fail_memory_common()
488 if (n1 == n2 && !diff) { in test_fail_memory_common()
497 else if (n2 > 0) in test_fail_memory_common()
505 m2 += n2; in test_fail_memory_common()
507 l2 -= n2; in test_fail_memory_common()