Home
last modified time | relevance | path

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

/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/
Dtokenize_string.h74 calculated_token, domain_literal, string_literal) \ argument
80 char domain[sizeof(domain_literal)]; \
87 sizeof(domain_literal), \
89 domain_literal, \
/external/python/cpython3/Lib/email/
D_header_value_parser.py1550 def _check_for_early_dl_end(value, domain_literal): argument
1553 domain_literal.append(errors.InvalidHeaderDefect(
1555 domain_literal.append(ValueTerminal(']', 'domain-literal-end'))
1562 domain_literal = DomainLiteral()
1565 domain_literal.append(token)
1572 if _check_for_early_dl_end(value, domain_literal):
1573 return domain_literal, value
1574 domain_literal.append(ValueTerminal('[', 'domain-literal-start'))
1577 domain_literal.append(token)
1579 domain_literal.append(token)
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest__header_value_parser.py1281 domain_literal = domain_literal = self._test_get_x(parser.get_domain_literal,
1287 self.assertEqual(domain_literal.token_type, 'domain-literal')
1288 self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1289 self.assertEqual(domain_literal.ip, '127.0.0.1')
1292 domain_literal = self._test_get_x(parser.get_domain_literal,
1298 self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1299 self.assertEqual(domain_literal.ip, '127.0.0.1')
1302 domain_literal = self._test_get_x(parser.get_domain_literal,
1308 self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1309 self.assertEqual(domain_literal.ip, '127.0.0.1')
/external/pcre/dist2/testdata/
Dtestinput15916 (?<domain> (?&dot_atom) | (?&domain_literal) )
5917 (?<domain_literal> (?&CFWS)?+ \[ (?: (?&FWS)?+ (?&dcontent) )* (?&FWS)?+ \]
Dtestoutput19470 (?<domain> (?&dot_atom) | (?&domain_literal) )
9471 (?<domain_literal> (?&CFWS)?+ \[ (?: (?&FWS)?+ (?&dcontent) )* (?&FWS)?+ \]