Lines Matching refs:result
348 static void test_dns_name_concat_one(const char *a, const char *b, int r, const char *result) { in test_dns_name_concat_one() argument
352 assert_se(streq_ptr(p, result)); in test_dns_name_concat_one()
545 …_one(const char *name, const char *old_suffix, const char *new_suffix, int r, const char *result) { in test_dns_name_change_suffix_one() argument
548 log_info("%s, %s, %s, →%s", name, old_suffix, new_suffix, result); in test_dns_name_change_suffix_one()
551 assert_se(streq_ptr(s, result)); in test_dns_name_change_suffix_one()
566 static void test_dns_name_suffix_one(const char *name, unsigned n_labels, const char *result, int r… in test_dns_name_suffix_one() argument
569 log_info("%s, %d, →%s, %d", name, n_labels, result, ret); in test_dns_name_suffix_one()
572 assert_se(streq_ptr(p, result)); in test_dns_name_suffix_one()
656 static void test_dns_name_common_suffix_one(const char *a, const char *b, const char *result) { in test_dns_name_common_suffix_one() argument
659 log_info("%s, %s, →%s", a, b, result); in test_dns_name_common_suffix_one()
662 assert_se(streq(c, result)); in test_dns_name_common_suffix_one()
678 static void test_dns_name_apply_idna_one(const char *s, int expected, const char *result) { in test_dns_name_apply_idna_one() argument
684 s, r, strnull(buf), expected, strnull(result)); in test_dns_name_apply_idna_one()
691 assert_se(dns_name_equal(buf, result) == 1); in test_dns_name_apply_idna_one()