/third_party/python/Lib/test/test_email/ |
H A D | test_policy.py | 5 import email.errors namespace 6 import email.policy namespace 7 import email.parser namespace 8 import email.generator namespace 9 import email.message namespace 10 from email import headerregistry 30 # These default values are the ones set on email.policy.default. 36 'header_factory': email.policy.EmailPolicy.header_factory, 38 'content_manager': email.policy.EmailPolicy.content_manager, 40 'message_factory': email [all...] |
H A D | test_email.py | 2 # Contact: email-sig@python.org 3 # email package unit tests 18 import email namespace 19 import email.policy namespace 21 from email.charset import Charset 22 from email.generator import Generator, DecodedGenerator, BytesGenerator 23 from email.header import Header, decode_header, make_header 24 from email.headerregistry import HeaderRegistry 25 from email.message import Message 26 from email [all...] |
H A D | test_parser.py | 2 import email namespace 4 from email.message import Message, EmailMessage 5 from email.policy import default 19 msg = email.message_from_string("Subject: bogus\n\nmsg\n", 27 msg = email.message_from_file(source_file, 40 # more numerous than allowed by the email RFCs; make sure we are only 93 return email.message_from_file(f, *args, **kw) 96 parsers = (email.message_from_string, message_from_file) 99 return email.message_from_bytes(s.encode(), *args, **kw) 103 return email [all...] |
H A D | test_pickleable.py | 5 import email namespace 6 import email.message namespace 7 from email import policy 8 from email.headerregistry import HeaderRegistry 48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\ 57 msg_params['created'] = (email.message.Message(policy=policy.default),)
|
H A D | __init__.py | 4 import email namespace 5 from email.message import Message 6 from email._policybase import compat32 42 return email.message_from_file(fp, policy=self.policy) 49 return email.message_from_string(string, message, policy=policy) 56 return email.message_from_bytes(bytestring, message, policy=policy)
|
H A D | torture_test.py | 3 # A torture test of the email package. This should not be run as part of the 4 # standard Python test suite since it requires several meg of email messages 6 # Python distro, but are available as part of the standalone email package at 16 import email namespace 17 from email import __file__ as testfile 18 from email.iterators import _structure 38 msg = email.message_from_file(fp)
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-smtp_client/ |
H A D | main.c | 19 email_sent_or_failed(struct lws_smtp_email *email, void *buf, size_t len) in email_sent_or_failed() argument 21 free(email); in email_sent_or_failed() 28 * the test. In our case, we need to queue up a test email to send on the 35 lws_smtp_email_t *email = (lws_smtp_email_t *) in smtp_test_instance_init() local 36 malloc(sizeof(*email) + 2048); in smtp_test_instance_init() 38 if (!email) in smtp_test_instance_init() 41 /* attach an email to it */ in smtp_test_instance_init() 43 memset(email, 0, sizeof(*email)); in smtp_test_instance_init() 44 email in smtp_test_instance_init() [all...] |
/third_party/python/Lib/email/ |
H A D | charset.py | 3 # Contact: email-sig@python.org 14 import email.base64mime namespace 15 import email.quoprimime namespace 17 from email import errors 18 from email.encoders import encode_7or8bit 69 # them to the real ones used in email. 173 """Map character sets to their email properties. 175 This class provides information about the requirements imposed on email 179 information on how to use that character set in an email in an 183 when used in email header [all...] |
H A D | __init__.py | 3 # Contact: email-sig@python.org 5 """A package for parsing, handling, and generating email messages.""" 31 # of importing email since those cascadingly import most of the rest of the 32 # email package. 38 from email.parser import Parser 46 from email.parser import BytesParser 54 from email.parser import Parser 62 from email.parser import BytesParser
|
H A D | policy.py | 7 from email._policybase import Policy, Compat32, compat32, _extend_docstrings 8 from email.utils import _has_surrogates 9 from email.headerregistry import HeaderRegistry as HeaderRegistry 10 from email.contentmanager import raw_data_manager 11 from email.message import EmailMessage 83 :data:`~email.contentmanager.raw_data_manager`.
|
H A D | contentmanager.py | 2 import email.charset namespace 3 import email.message namespace 4 import email.errors namespace 5 from email import quoprimime 109 except email.errors.HeaderDefect as exc: 190 email.charset.ALIASES.get(charset, charset), 227 raw_data_manager.add_set_handler(email.message.Message, set_message_content)
|
/third_party/node/deps/npm/node_modules/npm-user-validate/lib/ |
H A D | index.js | 1 exports.email = email 13 email: { 15 valid: 'Email must be an email address', 48 function email (em) { function 50 return new Error(requirements.email.length) 53 return new Error(requirements.email.valid)
|
/third_party/nghttp2/ |
H A D | author.py | 9 # This script removes duplicates based on email address, breaking a 22 author, email = line.strip().split(':', 1) 23 if email in edict: 24 an = edict[email] 28 edict[email] = author 33 edict[email] = author
|
/third_party/node/deps/npm/lib/utils/ |
H A D | read-user-info.js | 8 exports.email = readEmail 17 const emailPrompt = 'email (this IS public): ' 56 function readEmail (msg = emailPrompt, email, isRetry) { 57 if (isRetry && email) { 58 const error = userValidate.email(email) 62 return email.trim() 66 return readWithProgress({ prompt: msg, default: email || '' })
|
/third_party/python/Tools/scripts/ |
H A D | mailerdaemon.py | 5 import email.message namespace 15 class ErrorMessage(email.message.Message): 17 email.message.Message.__init__(self) 42 # If a re, it should contain at least a group (?P<email>...) which 43 # should refer to the email address. The re can also contain a group 49 # multiple email addresses. The second re is matched (not searched) 53 'error: (?P<reason>unresolvable): (?P<email>.+)', 55 '(?P<email>[^ \n].*)\n( .*\n)?'), 56 'remote execution.*\n.*rmail (?P<email>.+)', 58 ' +(?P<email> [all...] |
/third_party/node/deps/npm/test/lib/utils/ |
H A D | read-user-info.js | 19 email: (email) => { 20 if (email.startsWith('invalid')) { 21 return new Error('invalid email') 94 t.test('email', async (t) => { 100 const result = await readUserInfo.email() 101 t.equal(result, 'foo@bar.baz', 'received the email') 104 t.test('email - invalid warns and retries', async (t) => { 111 const pResult = readUserInfo.email(null, null) 114 t.equal(result, 'foo@bar.baz', 'received the email') [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | metadata.py | 1 import email.feedparser namespace 2 import email.header namespace 3 import email.message namespace 4 import email.parser namespace 5 import email.policy namespace 233 def _get_payload(msg: email.message.Message, source: Union[bytes, str]) -> str: 264 "author-email": "author_email", 274 "maintainer-email": "maintainer_email", 292 _RAW_TO_EMAIL_MAPPING = {raw: email for email, ra [all...] |
/third_party/protobuf/examples/ |
H A D | add_person.py | 19 email = raw_input("Enter email address (blank for none): ") 20 if email != "": 21 person.email = email
|
H A D | add_person.cc | 26 cout << "Enter email address (blank for none): "; in PromptForAddress() 27 string email; in PromptForAddress() local 28 getline(cin, email); in PromptForAddress() 29 if (!email.empty()) { in PromptForAddress() 30 person->set_email(email); in PromptForAddress()
|
/third_party/python/Lib/email/mime/ |
H A D | base.py | 3 # Contact: email-sig@python.org 9 import email.policy namespace 11 from email import message 27 policy = email.policy.compat32
|
/third_party/googletest/googletest/scripts/ |
H A D | upload.py | 81 """Prompts the user for their email address and returns it. 83 The last used email address is saved to a file and offered up as a suggestion 85 used email address is used. If the user enters a new address, it is saved 99 email = raw_input(prompt + ": ").strip() 100 if email: 103 last_email_file.write(email) 108 email = last_email 109 return email 149 (email, password) tuple when called. Will be called if authentication 187 def _GetAuthToken(self, email, passwor [all...] |
/third_party/python/Doc/includes/ |
H A D | email-alternative.py | 5 from email.message import EmailMessage 6 from email.headerregistry import Address 7 from email.utils import make_msgid
|
H A D | email-unpack.py | 6 import email namespace 9 from email.policy import default 26 msg = email.message_from_binary_file(fp, policy=default) 39 # email message can't be used to overwrite important files
|
/third_party/typescript/tests/baselines/reference/ |
H A D | strictOptionalProperties1.js | 185 email?: string | number | undefined 189 email?: string | number 194 u1.email = e // error, but only because boolean isn't in email's type 195 u2.email = e // error, and suggest adding undefined 198 email: undefined 366 u1.email = e; // error, but only because boolean isn't in email's type
367 u2.email = e; // error, and suggest adding undefined
370 email [all...] |
/third_party/curl/tests/ |
H A D | testcurl.pl | 47 # --email=[email] Set email address to report as 75 use vars qw($name $email $desc $confopts $runtestopts $setupfile $mktarball 109 elsif ($ARGV[0] =~ /--email=/) { 110 $email = (split(/=/, shift @ARGV, 2))[1]; 258 if($name && $email && $desc) { 284 if (!$email) { 285 print "please enter your contact email address\n"; 286 $email [all...] |