Lines Matching refs:l2
42 const char *m2, size_t l2) in test_fail_string_common() argument
55 l2 = 0; in test_fail_string_common()
56 if (l1 == 0 && l2 == 0) { in test_fail_string_common()
67 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common()
70 while (l1 > 0 || l2 > 0) { in test_fail_string_common()
77 if (l2 > 0) { in test_fail_string_common()
78 b2[n2 = l2 > width ? width : l2] = 0; in test_fail_string_common()
115 l2 -= n2; in test_fail_string_common()
131 const char *m2, size_t l2) in test_fail_string_message() argument
134 m1, l1, m2, l2); in test_fail_string_message()
274 size_t l1, l2, n1, n2, i, len; in test_fail_bignum_common() local
282 l2 = bn2 == NULL ? 0 : (BN_num_bytes(bn2) + (BN_is_negative(bn2) ? 1 : 0)); in test_fail_bignum_common()
283 if (l1 == 0 && l2 == 0) { in test_fail_bignum_common()
296 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common()
300 len = ((l1 > l2 ? l1 : l2) + bytes - 1) / bytes * bytes; in test_fail_bignum_common()
428 const unsigned char *m2, size_t l2) in test_fail_memory_common() argument
440 l2 = 0; in test_fail_memory_common()
441 if (l1 == 0 && l2 == 0) { in test_fail_memory_common()
452 if (l1 != l2 || (m1 != m2 && memcmp(m1, m2, l1) != 0)) in test_fail_memory_common()
455 while (l1 > 0 || l2 > 0) { in test_fail_memory_common()
461 if (l2 > 0) { in test_fail_memory_common()
462 n2 = l2 > bytes ? bytes : l2; in test_fail_memory_common()
494 if (cnt == 0 && (m2 == NULL || l2 == 0)) in test_fail_memory_common()
506 l2 -= n2; in test_fail_memory_common()
523 const unsigned char *m2, size_t l2) in test_fail_memory_message() argument
526 m1, l1, m2, l2); in test_fail_memory_message()