Home
last modified time | relevance | path

Searched refs:dns_name_compare_func (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-dns-domain.c643 TEST(dns_name_compare_func) { in TEST() argument
644 assert_se(dns_name_compare_func("", "") == 0); in TEST()
645 assert_se(dns_name_compare_func("", ".") == 0); in TEST()
646 assert_se(dns_name_compare_func(".", "") == 0); in TEST()
647 assert_se(dns_name_compare_func("foo", "foo.") == 0); in TEST()
648 assert_se(dns_name_compare_func("foo.", "foo") == 0); in TEST()
649 assert_se(dns_name_compare_func("foo", "foo") == 0); in TEST()
650 assert_se(dns_name_compare_func("foo.", "foo.") == 0); in TEST()
651 assert_se(dns_name_compare_func("heise.de", "HEISE.DE.") == 0); in TEST()
653 assert_se(dns_name_compare_func("de.", "heise.de") != 0); in TEST()
/systemd-251/src/shared/
Ddns-domain.c507 int dns_name_compare_func(const char *a, const char *b) { in dns_name_compare_func() function
534 DEFINE_HASH_OPS(dns_name_hash_ops, char, dns_name_hash_func, dns_name_compare_func);
693 if (dns_name_compare_func(a, c) < 0) in dns_name_between()
698 return dns_name_compare_func(a, b) < 0 && in dns_name_between()
699 dns_name_compare_func(b, c) < 0; in dns_name_between()
707 return dns_name_compare_func(b, c) < 0 || in dns_name_between()
708 dns_name_compare_func(a, b) < 0; in dns_name_between()
Ddns-domain.h68 int dns_name_compare_func(const char *a, const char *b);
/systemd-251/src/resolve/
Dresolved-dns-trust-anchor.c464 return dns_name_compare_func(*a, *b); in domain_name_cmp()
Dresolved-dns-rr.c303 r = dns_name_compare_func(dns_resource_key_name(x), dns_resource_key_name(y)); in dns_resource_key_compare_func()