Lines Matching refs:aa1
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()
313 fprintf(stderr, "%12s = 0x%s\n", a1, BN_bn2hex(aa1)); in assert_bignum()
320 const char *aa1, const char *aa2, enum test_predicate pred) in assert_string() argument
325 assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE); in assert_string()
328 r = strcmp(aa1, aa2); in assert_string()
331 fprintf(stderr, "%12s = %s (len %zu)\n", a1, aa1, strlen(aa1)); in assert_string()
355 const void *aa1, const void *aa2, size_t l, enum test_predicate pred) in assert_mem() argument
362 assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE); in assert_mem()
365 r = memcmp(aa1, aa2, l); in assert_mem()
368 fprintf(stderr, "%12s = %s (len %zu)\n", a1, tohex(aa1, MIN(l, 256)), l); in assert_mem()
389 const void *aa1, u_char v, size_t l, enum test_predicate pred) in assert_mem_filled() argument
398 assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE); in assert_mem_filled()
400 r = memvalcmp(aa1, v, l, &where); in assert_mem_filled()
404 tohex(aa1, MIN(l, 20)), l > 20 ? "..." : "", l); in assert_mem_filled()
407 ((u_char *)aa1)[where], v); in assert_mem_filled()
413 int aa1, int aa2, enum test_predicate pred) in assert_int() argument
415 TEST_CHECK(aa1, aa2, pred); in assert_int()
417 fprintf(stderr, "%12s = %d\n", a1, aa1); 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()
428 fprintf(stderr, "%12s = %zu\n", a1, aa1); 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()
439 fprintf(stderr, "%12s = %u / 0x%x\n", a1, aa1, aa1); 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()
450 fprintf(stderr, "%12s = %ld / 0x%lx\n", a1, aa1, aa1); 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()
461 fprintf(stderr, "%12s = %lld / 0x%llx\n", a1, aa1, aa1); 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()
475 vis(buf, aa1, VIS_SAFE|VIS_NL|VIS_TAB|VIS_OCTAL, 0), aa1); 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()
487 fprintf(stderr, "%12s = 0x%02x %u\n", a1, aa1, aa1); 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()
498 fprintf(stderr, "%12s = 0x%04x %u\n", a1, aa1, aa1); 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()
509 fprintf(stderr, "%12s = 0x%08x %u\n", a1, aa1, aa1); 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()
521 (unsigned long long)aa1, (unsigned long long)aa1); 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()
533 fprintf(stderr, "%12s = %p\n", a1, aa1); in assert_ptr()