Lines Matching refs:l1

41                                     const char *op, const char *m1, size_t l1,  in test_fail_string_common()  argument
53 l1 = 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()
72 if (l1 > 0) { in test_fail_string_common()
73 b1[n1 = l1 > width ? width : l1] = 0; in test_fail_string_common()
114 l1 -= n1; in test_fail_string_common()
130 const char *op, const char *m1, size_t l1, 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
281 l1 = bn1 == NULL ? 0 : (BN_num_bytes(bn1) + (BN_is_negative(bn1) ? 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()
427 const unsigned char *m1, size_t l1, in test_fail_memory_common() argument
438 l1 = 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()
457 if (l1 > 0) { in test_fail_memory_common()
458 n1 = l1 > bytes ? bytes : l1; in test_fail_memory_common()
490 if (cnt == 0 && (m1 == NULL || l1 == 0)) in test_fail_memory_common()
505 l1 -= n1; in test_fail_memory_common()
522 const unsigned char *m1, size_t l1, in test_fail_memory_message() argument
526 m1, l1, m2, l2); in test_fail_memory_message()