Lines Matching refs:aa2
307 const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred) in assert_bignum() argument
309 int r = BN_cmp(aa1, aa2); in assert_bignum()
314 fprintf(stderr, "%12s = 0x%s\n", a2, BN_bn2hex(aa2)); in assert_bignum()
320 const char *aa1, const char *aa2, enum test_predicate pred) in assert_string() argument
326 assert_ptr(file, line, a2, "NULL", aa2, NULL, TEST_NE); in assert_string()
328 r = strcmp(aa1, aa2); in assert_string()
332 fprintf(stderr, "%12s = %s (len %zu)\n", a2, aa2, strlen(aa2)); in assert_string()
355 const void *aa1, const void *aa2, size_t l, enum test_predicate pred) in assert_mem() argument
363 assert_ptr(file, line, a2, "NULL", aa2, NULL, TEST_NE); in assert_mem()
365 r = memcmp(aa1, aa2, l); in assert_mem()
369 fprintf(stderr, "%12s = %s (len %zu)\n", a2, tohex(aa2, MIN(l, 256)), l); in assert_mem()
413 int aa1, int aa2, enum test_predicate pred) in assert_int() argument
415 TEST_CHECK(aa1, aa2, pred); in assert_int()
418 fprintf(stderr, "%12s = %d\n", a2, aa2); in assert_int()
424 size_t aa1, size_t aa2, enum test_predicate pred) in assert_size_t() argument
426 TEST_CHECK(aa1, aa2, pred); in assert_size_t()
429 fprintf(stderr, "%12s = %zu\n", a2, aa2); in assert_size_t()
435 u_int aa1, u_int aa2, enum test_predicate pred) in assert_u_int() argument
437 TEST_CHECK(aa1, aa2, pred); in assert_u_int()
440 fprintf(stderr, "%12s = %u / 0x%x\n", a2, aa2, aa2); in assert_u_int()
446 long aa1, long aa2, enum test_predicate pred) in assert_long() argument
448 TEST_CHECK(aa1, aa2, pred); in assert_long()
451 fprintf(stderr, "%12s = %ld / 0x%lx\n", a2, aa2, aa2); in assert_long()
457 long long aa1, long long aa2, enum test_predicate pred) in assert_long_long() argument
459 TEST_CHECK(aa1, aa2, pred); in assert_long_long()
462 fprintf(stderr, "%12s = %lld / 0x%llx\n", a2, aa2, aa2); in assert_long_long()
468 char aa1, char aa2, enum test_predicate pred) in assert_char() argument
472 TEST_CHECK(aa1, aa2, pred); in assert_char()
477 vis(buf, aa2, VIS_SAFE|VIS_NL|VIS_TAB|VIS_OCTAL, 0), aa2); in assert_char()
483 u_int8_t aa1, u_int8_t aa2, enum test_predicate pred) in assert_u8() argument
485 TEST_CHECK(aa1, aa2, pred); in assert_u8()
488 fprintf(stderr, "%12s = 0x%02x %u\n", a2, aa2, aa2); in assert_u8()
494 u_int16_t aa1, u_int16_t aa2, enum test_predicate pred) in assert_u16() argument
496 TEST_CHECK(aa1, aa2, pred); in assert_u16()
499 fprintf(stderr, "%12s = 0x%04x %u\n", a2, aa2, aa2); in assert_u16()
505 u_int32_t aa1, u_int32_t aa2, enum test_predicate pred) in assert_u32() argument
507 TEST_CHECK(aa1, aa2, pred); in assert_u32()
510 fprintf(stderr, "%12s = 0x%08x %u\n", a2, aa2, aa2); in assert_u32()
516 u_int64_t aa1, u_int64_t aa2, enum test_predicate pred) in assert_u64() argument
518 TEST_CHECK(aa1, aa2, pred); in assert_u64()
523 (unsigned long long)aa2, (unsigned long long)aa2); in assert_u64()
529 const void *aa1, const void *aa2, enum test_predicate pred) in assert_ptr() argument
531 TEST_CHECK(aa1, aa2, pred); in assert_ptr()
534 fprintf(stderr, "%12s = %p\n", a2, aa2); in assert_ptr()