Searched refs:is_HDN (Results 1 – 4 of 4) sorted by relevance
683 from cookielib import is_HDN684 self.assertTrue(is_HDN("foo.bar.com"))685 self.assertTrue(is_HDN("1foo2.3bar4.5com"))686 self.assertFalse(is_HDN("192.168.1.1"))687 self.assertFalse(is_HDN(""))688 self.assertFalse(is_HDN("."))689 self.assertFalse(is_HDN(".foo.bar.com"))690 self.assertFalse(is_HDN("..foo"))691 self.assertFalse(is_HDN("foo."))
15 reach, is_HDN, domain_match, user_domain_match, request_path,794 self.assertTrue(is_HDN("foo.bar.com"))795 self.assertTrue(is_HDN("1foo2.3bar4.5com"))796 self.assertFalse(is_HDN("192.168.1.1"))797 self.assertFalse(is_HDN(""))798 self.assertFalse(is_HDN("."))799 self.assertFalse(is_HDN(".foo.bar.com"))800 self.assertFalse(is_HDN("..foo"))801 self.assertFalse(is_HDN("foo."))
513 def is_HDN(text): function555 if not is_HDN(A):563 if not is_HDN(B[1:]):702 if is_HDN(h) and (i >= 0 or b == "local"):
528 def is_HDN(text): function570 if not is_HDN(A):578 if not is_HDN(B[1:]):715 if is_HDN(h) and (i >= 0 or b == "local"):