Lines Matching refs:m1
41 const char *op, const char *m1, size_t l1, in test_fail_string_common() argument
52 if (m1 == NULL) in test_fail_string_common()
57 if ((m1 == NULL) == (m2 == NULL)) { in test_fail_string_common()
58 test_string_null_empty(m1, ' '); in test_fail_string_common()
61 test_string_null_empty(m1, '-'); in test_fail_string_common()
67 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common()
75 b1[i] = isprint((unsigned char)m1[i]) ? m1[i] : '.'; in test_fail_string_common()
88 if (m1[i] == m2[i]) { in test_fail_string_common()
99 if (cnt == 0 && (m1 == NULL || *m1 == '\0')) in test_fail_string_common()
100 test_string_null_empty(m1, '-'); in test_fail_string_common()
110 if (m1 != NULL) in test_fail_string_common()
111 m1 += 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()
276 unsigned char *m1 = NULL, *m2 = NULL; in test_fail_bignum_common() local
309 m1 = bufp; in test_fail_bignum_common()
310 BN_bn2binpad(bn1, m1, len); in test_fail_bignum_common()
319 n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1); in test_fail_bignum_common()
349 if (m1 != NULL) in test_fail_bignum_common()
350 m1 += bytes; in test_fail_bignum_common()
427 const unsigned char *m1, size_t l1, in test_fail_memory_common() argument
437 if (m1 == NULL) in test_fail_memory_common()
442 if ((m1 == NULL) == (m2 == NULL)) { in test_fail_memory_common()
443 test_memory_null_empty(m1, ' '); in test_fail_memory_common()
446 test_memory_null_empty(m1, '-'); in test_fail_memory_common()
452 if (l1 != l2 || (m1 != m2 && memcmp(m1, m2, l1) != 0)) in test_fail_memory_common()
459 hex_convert_memory(m1, n1, b1, 8); in test_fail_memory_common()
473 if (m1[i] == m2[i]) { in test_fail_memory_common()
490 if (cnt == 0 && (m1 == NULL || l1 == 0)) in test_fail_memory_common()
491 test_memory_null_empty(m1, '-'); in test_fail_memory_common()
501 if (m1 != NULL) in test_fail_memory_common()
502 m1 += 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()