Lines Matching full:l1
42 const char *op, const char *m1, size_t l1, in test_fail_string_common() argument
54 l1 = 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()
73 if (l1 > 0) { in test_fail_string_common()
74 b1[n1 = l1 > width ? width : l1] = 0; in test_fail_string_common()
115 l1 -= n1; in test_fail_string_common()
131 const char *op, const char *m1, size_t l1, 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
282 l1 = bn1 == NULL ? 0 : (BN_num_bytes(bn1) + (BN_is_negative(bn1) ? 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()
428 const unsigned char *m1, size_t l1, in test_fail_memory_common() argument
439 l1 = 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()
458 if (l1 > 0) { in test_fail_memory_common()
459 n1 = l1 > bytes ? bytes : l1; in test_fail_memory_common()
491 if (cnt == 0 && (m1 == NULL || l1 == 0)) in test_fail_memory_common()
506 l1 -= n1; in test_fail_memory_common()
523 const unsigned char *m1, size_t l1, in test_fail_memory_message() argument
527 m1, l1, m2, l2); in test_fail_memory_message()