Lines Matching refs:m2
43 const char *m2, size_t l2) in test_fail_string_common() argument
55 if (m2 == NULL) in test_fail_string_common()
58 if ((m1 == NULL) == (m2 == NULL)) { in test_fail_string_common()
63 test_string_null_empty(m2, '+'); in test_fail_string_common()
68 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common()
81 b2[i] = isprint((unsigned char)m2[i]) ? m2[i] : '.'; in test_fail_string_common()
89 if (m1[i] == m2[i]) { in test_fail_string_common()
104 if (cnt == 0 && (m2 == NULL || *m2 == '\0')) in test_fail_string_common()
105 test_string_null_empty(m2, '+'); in test_fail_string_common()
113 if (m2 != NULL) in test_fail_string_common()
114 m2 += 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()
277 unsigned char *m1 = NULL, *m2 = NULL; in test_fail_bignum_common() local
314 m2 = bufp + len; in test_fail_bignum_common()
315 BN_bn2binpad(bn2, m2, len); in test_fail_bignum_common()
321 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
352 if (m2 != NULL) in test_fail_bignum_common()
353 m2 += bytes; in test_fail_bignum_common()
429 const unsigned char *m2, size_t l2) in test_fail_memory_common() argument
440 if (m2 == NULL) in test_fail_memory_common()
443 if ((m1 == NULL) == (m2 == NULL)) { in test_fail_memory_common()
448 test_memory_null_empty(m2, '+'); in test_fail_memory_common()
453 if (l1 != l2 || (m1 != m2 && memcmp(m1, m2, l1) != 0)) in test_fail_memory_common()
464 hex_convert_memory(m2, n2, b2, 8); in test_fail_memory_common()
474 if (m1[i] == m2[i]) { in test_fail_memory_common()
495 if (cnt == 0 && (m2 == NULL || l2 == 0)) in test_fail_memory_common()
496 test_memory_null_empty(m2, '+'); in test_fail_memory_common()
504 if (m2 != NULL) in test_fail_memory_common()
505 m2 += 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()