Lines Matching refs:l2
43 const char *m2, size_t l2) in test_fail_string_common() argument
56 l2 = 0; in test_fail_string_common()
57 if (l1 == 0 && l2 == 0) { in test_fail_string_common()
68 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common()
71 while (l1 > 0 || l2 > 0) { in test_fail_string_common()
78 if (l2 > 0) { in test_fail_string_common()
79 b2[n2 = l2 > width ? width : l2] = 0; in test_fail_string_common()
116 l2 -= n2; in test_fail_string_common()
132 const char *m2, size_t l2) in test_fail_string_message() argument
135 m1, l1, m2, l2); in test_fail_string_message()
275 size_t l1, l2, n1, n2, i, len; in test_fail_bignum_common() local
283 l2 = bn2 == NULL ? 0 : (BN_num_bytes(bn2) + (BN_is_negative(bn2) ? 1 : 0)); in test_fail_bignum_common()
284 if (l1 == 0 && l2 == 0) { in test_fail_bignum_common()
297 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common()
301 len = ((l1 > l2 ? l1 : l2) + bytes - 1) / bytes * bytes; in test_fail_bignum_common()
429 const unsigned char *m2, size_t l2) in test_fail_memory_common() argument
441 l2 = 0; in test_fail_memory_common()
442 if (l1 == 0 && l2 == 0) { in test_fail_memory_common()
453 if (l1 != l2 || (m1 != m2 && memcmp(m1, m2, l1) != 0)) in test_fail_memory_common()
456 while (l1 > 0 || l2 > 0) { in test_fail_memory_common()
462 if (l2 > 0) { in test_fail_memory_common()
463 n2 = l2 > bytes ? bytes : l2; in test_fail_memory_common()
495 if (cnt == 0 && (m2 == NULL || l2 == 0)) in test_fail_memory_common()
507 l2 -= n2; in test_fail_memory_common()
524 const unsigned char *m2, size_t l2) in test_fail_memory_message() argument
527 m1, l1, m2, l2); in test_fail_memory_message()