Searched refs:domain_literal (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/email/ |
D | _header_value_parser.py | 1494 def _check_for_early_dl_end(value, domain_literal): argument 1497 domain_literal.append(errors.InvalidHeaderDefect( 1499 domain_literal.append(ValueTerminal(']', 'domain-literal-end')) 1506 domain_literal = DomainLiteral() 1509 domain_literal.append(token) 1516 if _check_for_early_dl_end(value, domain_literal): 1517 return domain_literal, value 1518 domain_literal.append(ValueTerminal('[', 'domain-literal-start')) 1521 domain_literal.append(token) 1523 domain_literal.append(token) [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test__header_value_parser.py | 1223 domain_literal = domain_literal = self._test_get_x(parser.get_domain_literal, 1229 self.assertEqual(domain_literal.token_type, 'domain-literal') 1230 self.assertEqual(domain_literal.domain, '[127.0.0.1]') 1231 self.assertEqual(domain_literal.ip, '127.0.0.1') 1234 domain_literal = self._test_get_x(parser.get_domain_literal, 1240 self.assertEqual(domain_literal.domain, '[127.0.0.1]') 1241 self.assertEqual(domain_literal.ip, '127.0.0.1') 1244 domain_literal = self._test_get_x(parser.get_domain_literal, 1250 self.assertEqual(domain_literal.domain, '[127.0.0.1]') 1251 self.assertEqual(domain_literal.ip, '127.0.0.1')
|
/external/mesa3d/scripts/ |
D | get_reviewer.pl | 2223 my $domain_literal = "\\[(?:$dtext|\\\\.)*\\]$rfc822_lwsp*"; 2233 my $sub_domain = "(?:$atom|$domain_literal)";
|
/external/u-boot/scripts/ |
D | get_maintainer.pl | 2476 my $domain_literal = "\\[(?:$dtext|\\\\.)*\\]$rfc822_lwsp*"; 2486 my $sub_domain = "(?:$atom|$domain_literal)";
|
/external/pcre/dist2/testdata/ |
D | testinput1 | 5923 (?<domain> (?&dot_atom) | (?&domain_literal) ) 5924 (?<domain_literal> (?&CFWS)?+ \[ (?: (?&FWS)?+ (?&dcontent) )* (?&FWS)?+ \]
|
D | testoutput1 | 9480 (?<domain> (?&dot_atom) | (?&domain_literal) ) 9481 (?<domain_literal> (?&CFWS)?+ \[ (?: (?&FWS)?+ (?&dcontent) )* (?&FWS)?+ \]
|