Searched refs:test_dns_label_unescape_suffix_one (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-dns-domain.c113 static void test_dns_label_unescape_suffix_one(const char *what, const char *expect1, const char *expect2, size_t buffer_sz, int ret1, int ret2) { function
132 test_dns_label_unescape_suffix_one("hallo", "hallo", "", 6, 5, 0);
133 test_dns_label_unescape_suffix_one("hallo", "hallo", "", 4, -ENOBUFS, -ENOBUFS);
134 test_dns_label_unescape_suffix_one("", "", "", 10, 0, 0);
135 test_dns_label_unescape_suffix_one("hallo\\.foobar", "hallo.foobar", "", 20, 12, 0);
136 test_dns_label_unescape_suffix_one("hallo.foobar", "foobar", "hallo", 10, 6, 5);
137 test_dns_label_unescape_suffix_one("hallo.foobar\n", "foobar", "foobar", 20, -EINVAL, -EINVAL);
138 test_dns_label_unescape_suffix_one("hallo\\", "hallo", "hallo", 20, -EINVAL, -EINVAL);
139 test_dns_label_unescape_suffix_one("hallo\\032 ", "hallo ", "", 20, 7, 0);
140 test_dns_label_unescape_suffix_one("
[all...]

Completed in 10 milliseconds