Home
last modified time | relevance | path

Searched refs:addr_spec (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest__header_value_parser.py1344 addr_spec = self._test_get_x(parser.get_addr_spec,
1350 self.assertEqual(addr_spec.token_type, 'addr-spec')
1351 self.assertEqual(addr_spec.local_part, 'dinsdale')
1352 self.assertEqual(addr_spec.domain, 'example.com')
1353 self.assertEqual(addr_spec.addr_spec, 'dinsdale@example.com')
1356 addr_spec = self._test_get_x(parser.get_addr_spec,
1362 self.assertEqual(addr_spec.local_part, 'dinsdale')
1363 self.assertEqual(addr_spec.domain, '[127.0.0.1]')
1364 self.assertEqual(addr_spec.addr_spec, 'dinsdale@[127.0.0.1]')
1367 addr_spec = self._test_get_x(parser.get_addr_spec,
[all …]
Dtest_headerregistry.py1198 addr_spec, username, domain, comment): argument
1208 self.assertEqual(a.addr_spec, addr_spec)
1215 addr_spec, username, domain, comment): argument
1227 self.assertEqual(a.addr_spec, addr_spec)
1280 self.assertEqual(h.addresses[i].addr_spec, examples[i][4])
1362 self.assertEqual(a.addr_spec, 'bar@baz')
1366 a = Address('foo', addr_spec='bar@baz')
1370 self.assertEqual(a.addr_spec, 'bar@baz')
1374 a = Address(addr_spec='bar@baz')
1378 self.assertEqual(a.addr_spec, 'bar@baz')
[all …]
/external/python/cpython3/Lib/email/
Dheaderregistry.py18 def __init__(self, display_name='', username='', domain='', addr_spec=None): argument
38 if addr_spec is not None:
42 a_s, rest = parser.get_addr_spec(addr_spec)
46 a_s, addr_spec))
68 def addr_spec(self): member in Address
95 addr_spec = '' if self.addr_spec=='<>' else self.addr_spec
96 return "{} <{}>".format(disp, addr_spec)
97 return self.addr_spec
D_header_value_parser.py403 def addr_spec(self): member in NameAddr
404 return self[-1].addr_spec
430 def addr_spec(self): member in AngleAddr
434 return x.addr_spec
436 return quote_string(x.local_part) + x.addr_spec
473 def addr_spec(self): member in Mailbox
474 return self[0].addr_spec
485 local_part = domain = route = addr_spec = display_name
531 def addr_spec(self): member in AddrSpec
1581 addr_spec = AddrSpec()
[all …]
/external/u-boot/cmd/
Dflash.c147 addr_spec(char *arg1, char *arg2, ulong *addr_first, ulong *addr_last) in addr_spec() function
377 if (addr_spec(argv[1], argv[2], &addr_first, &addr_last) < 0){ in do_flerase()
575 if (addr_spec(argv[2], argv[3], &addr_first, &addr_last) < 0){ in do_protect()
/external/python/cpython3/Doc/library/
Demail.headerregistry.rst368 .. class:: Address(display_name='', username='', domain='', addr_spec=None)
382 As a convenience *addr_spec* can be specified instead of *username* and
384 *addr_spec*. An *addr_spec* must be a properly RFC quoted string; if it is
403 .. attribute:: addr_spec
/external/mesa3d/scripts/
Dget_reviewer.pl2236 my $addr_spec = "$localpart\@$rfc822_lwsp*$domain";
2240 my $route_addr = "\\<$rfc822_lwsp*$route?$addr_spec\\>$rfc822_lwsp*";
2241 my $mailbox = "(?:$addr_spec|$phrase$route_addr)";
/external/u-boot/scripts/
Dget_maintainer.pl2489 my $addr_spec = "$localpart\@$rfc822_lwsp*$domain";
2493 my $route_addr = "\\<$rfc822_lwsp*$route?$addr_spec\\>$rfc822_lwsp*";
2494 my $mailbox = "(?:$addr_spec|$phrase$route_addr)";
/external/python/cpython3/Lib/test/
Dtest_smtplib.py933 for addr_spec, name in sim_users.items():
935 (name, smtplib.quoteaddr(addr_spec)),
937 self.assertEqual(smtp.vrfy(addr_spec), expected_known)
/external/python/cpython3/Lib/
Dsmtpd.py454 return address.addr_spec, rest
/external/pcre/dist2/testdata/
Dtestinput15912 (?<addr_spec> (?&local_part) \@ (?&domain) )
5913 (?<angle_addr> (?&CFWS)?+ < (?&addr_spec) > (?&CFWS)?+ )
5931 (?<mailbox> (?&name_addr) | (?&addr_spec) )
Dtestoutput19469 (?<addr_spec> (?&local_part) \@ (?&domain) )
9470 (?<angle_addr> (?&CFWS)?+ < (?&addr_spec) > (?&CFWS)?+ )
9488 (?<mailbox> (?&name_addr) | (?&addr_spec) )
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1319 ... Address('Bonzo', addr_spec='bonz@laugh.com')]