Lines Matching defs:test_dns_name_is_valid_one

355 static void test_dns_name_is_valid_one(const char *s, int ret) {
360 test_dns_name_is_valid_one("foo", 1);
361 test_dns_name_is_valid_one("foo.", 1);
362 test_dns_name_is_valid_one("Foo", 1);
363 test_dns_name_is_valid_one("foo.bar", 1);
364 test_dns_name_is_valid_one("foo.bar.baz", 1);
365 test_dns_name_is_valid_one("", 1);
366 test_dns_name_is_valid_one("foo..bar", 0);
367 test_dns_name_is_valid_one(".foo.bar", 0);
368 test_dns_name_is_valid_one("foo.bar.", 1);
369 test_dns_name_is_valid_one("\\zbar", 0);
370 test_dns_name_is_valid_one("รค", 1);
371 test_dns_name_is_valid_one("\n", 0);
374 test_dns_name_is_valid_one("a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345", 0);
377 test_dns_name_is_valid_one("a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a1234", 0);
380 test_dns_name_is_valid_one("a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a123", 0);
383 test_dns_name_is_valid_one("a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12345678.a12", 1);
386 test_dns_name_is_valid_one("a123456789a123456789a123456789a123456789a123456789a123456789a123", 0);
389 test_dns_name_is_valid_one("a123456789a123456789a123456789a123456789a123456789a123456789a12", 1);