/external/python/cpython2/Lib/test/ |
D | test_mailbox.py | 14 import mailbox 29 self.assertIsInstance(msg, mailbox.Message) 37 self.assertNotIsInstance(part, mailbox.Message) 67 keys.append(self._box.add(mailbox.Message(_sample_message))) 166 self.assertIsInstance(msg0, mailbox.Message) 466 box = mailbox.Mailbox('path') 499 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) 508 msg = mailbox.MaildirMessage(self._template % 0) 517 msg = mailbox.MaildirMessage(self._template % 0) 522 self.assertIsInstance(msg_returned, mailbox.MaildirMessage) [all …]
|
D | test_old_mailbox.py | 4 import mailbox 67 self.mbox = mailbox.Maildir(test_support.TESTFN) 74 self.mbox = mailbox.Maildir(test_support.TESTFN) 84 self.mbox = mailbox.Maildir(test_support.TESTFN) 95 self.mbox = mailbox.Maildir(test_support.TESTFN) 112 for msg in mailbox.PortableUnixMailbox(f, 148 box = mailbox.UnixMailbox(f)
|
/external/python/cpython3/Lib/test/ |
D | test_mailbox.py | 14 import mailbox 20 all_mailbox_types = (mailbox.Message, mailbox.MaildirMessage, 21 mailbox.mboxMessage, mailbox.MHMessage, 22 mailbox.BabylMessage, mailbox.MMDFMessage) 27 self.assertIsInstance(msg, mailbox.Message) 35 self.assertNotIsInstance(part, mailbox.Message) 67 keys.append(self._box.add(mailbox.Message(_sample_message))) 255 self.assertIsInstance(msg0, mailbox.Message) 556 box = mailbox.Mailbox('path') 590 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) [all …]
|
/external/python/cpython2/Doc/library/ |
D | imaplib.rst | 58 This exception is raised when a writable mailbox has its status changed by the 60 write permission, and the mailbox will need to be re-opened to re-obtain write 116 Note that IMAP4 message numbers change as the mailbox changes; in particular, 162 .. method:: IMAP4.append(mailbox, flags, date_time, message) 164 Append *message* to named mailbox. 185 Checkpoint mailbox on server. 190 Close currently selected mailbox. Deleted messages are removed from writable 191 mailbox. This is the recommended command before ``LOGOUT``. 199 .. method:: IMAP4.create(mailbox) 201 Create new mailbox named *mailbox*. [all …]
|
D | mailbox.rst | 2 :mod:`mailbox` --- Manipulate mailboxes in various formats 5 .. module:: mailbox 16 Supported mailbox formats are 34 A mailbox, which may be inspected and modified. 53 state of the mailbox. Similarly, when a message is added to a 60 mailbox during iteration is safe and well-defined. Messages added to the 61 mailbox after an iterator is created will not be seen by the 62 iterator. Messages removed from the mailbox before the iterator yields them 70 changed by some other process. The safest mailbox format to use for such 72 concurrent writing. If you're modifying a mailbox, you *must* lock it by [all …]
|
D | poplib.rst | 104 Send password, response includes message count and mailbox size. Note: the 105 mailbox on the server is locked until :meth:`~poplib.quit` is called. 120 Get mailbox status. The result is a tuple of 2 integers: ``(message count, 121 mailbox size)``. 145 Remove any deletion marks for the mailbox. 155 Signoff: commit changes, unlock mailbox, drop connection. 185 Here is a minimal example (without error checking) that opens a mailbox and
|
D | netdata.rst | 17 mailbox.rst
|
/external/python/cpython3/Doc/library/ |
D | imaplib.rst | 71 This exception is raised when a writable mailbox has its status changed by the 73 write permission, and the mailbox will need to be re-opened to re-obtain write 156 Note that IMAP4 message numbers change as the mailbox changes; in particular, 202 .. method:: IMAP4.append(mailbox, flags, date_time, message) 204 Append *message* to named mailbox. 230 Checkpoint mailbox on server. 235 Close currently selected mailbox. Deleted messages are removed from writable 236 mailbox. This is the recommended command before ``LOGOUT``. 244 .. method:: IMAP4.create(mailbox) 246 Create new mailbox named *mailbox*. [all …]
|
D | mailbox.rst | 1 :mod:`mailbox` --- Manipulate mailboxes in various formats 4 .. module:: mailbox 10 **Source code:** :source:`Lib/mailbox.py` 19 Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF. 35 A mailbox, which may be inspected and modified. 54 state of the mailbox. Similarly, when a message is added to a 61 mailbox during iteration is safe and well-defined. Messages added to the 62 mailbox after an iterator is created will not be seen by the 63 iterator. Messages removed from the mailbox before the iterator yields them 71 changed by some other process. The safest mailbox format to use for such [all …]
|
D | poplib.rst | 133 Send password, response includes message count and mailbox size. Note: the 134 mailbox on the server is locked until :meth:`~poplib.quit` is called. 149 Get mailbox status. The result is a tuple of 2 integers: ``(message count, 150 mailbox size)``. 174 Remove any deletion marks for the mailbox. 184 Signoff: commit changes, unlock mailbox, drop connection. 240 Here is a minimal example (without error checking) that opens a mailbox and
|
D | email.generator.rst | 55 format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD 101 the Unix mailbox format (see :mod:`mailbox`) before the first of the 156 format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD 194 the Unix mailbox format (see :mod:`mailbox`) before the first of the
|
D | netdata.rst | 17 mailbox.rst
|
/external/syslinux/core/include/ |
D | mbox.h | 18 struct mailbox { struct 31 #define MBOX_BYTES(s) (sizeof(struct mailbox) + \ 34 void mbox_init(struct mailbox *mbox, size_t size); 35 int mbox_post(struct mailbox *mbox, void *msg, mstime_t timeout); 36 mstime_t mbox_fetch(struct mailbox *mbox, void **msg, mstime_t timeout); 46 static inline void mbox_set_invalid(struct mailbox *mbox) in mbox_set_invalid() 55 static inline bool mbox_is_valid(struct mailbox *mbox) in mbox_is_valid()
|
/external/python/cpython2/Lib/ |
D | imaplib.py | 317 def append(self, mailbox, flags, date_time, message): argument 325 if not mailbox: 326 mailbox = 'INBOX' 337 return self._simple_command(name, mailbox, flags, date_time) 409 def create(self, mailbox): argument 414 return self._simple_command('CREATE', mailbox) 417 def delete(self, mailbox): argument 422 return self._simple_command('DELETE', mailbox) 424 def deleteacl(self, mailbox, who): argument 429 return self._simple_command('DELETEACL', mailbox, who) [all …]
|
/external/python/cpython3/Lib/ |
D | imaplib.py | 372 def append(self, mailbox, flags, date_time, message): argument 380 if not mailbox: 381 mailbox = 'INBOX' 395 return self._simple_command(name, mailbox, flags, date_time) 467 def create(self, mailbox): argument 472 return self._simple_command('CREATE', mailbox) 475 def delete(self, mailbox): argument 480 return self._simple_command('DELETE', mailbox) 482 def deleteacl(self, mailbox, who): argument 487 return self._simple_command('DELETEACL', mailbox, who) [all …]
|
/external/curl/lib/ |
D | imap.c | 612 char *mailbox; in imap_perform_list() local 620 mailbox = imap->mailbox ? imap_atom(imap->mailbox, true) : strdup(""); in imap_perform_list() 621 if(!mailbox) in imap_perform_list() 625 result = imap_sendf(conn, "LIST \"%s\" *", mailbox); in imap_perform_list() 627 free(mailbox); in imap_perform_list() 648 char *mailbox; in imap_perform_select() local 651 Curl_safefree(imapc->mailbox); in imap_perform_select() 655 if(!imap->mailbox) { in imap_perform_select() 661 mailbox = imap_atom(imap->mailbox, false); in imap_perform_select() 662 if(!mailbox) in imap_perform_select() [all …]
|
D | imap.h | 58 char *mailbox; /* Mailbox to select */ member 82 char *mailbox; /* The last selected mailbox */ member
|
/external/curl/tests/ |
D | ftpserver.pl | 1131 my ($mailbox) = @_; 1132 fix_imap_params($mailbox); 1134 logmsg "SELECT_imap got test $mailbox\n"; 1136 if($mailbox eq "") { 1150 $selected = $mailbox; 1210 my ($mailbox, $size) = ($1, $2); 1211 fix_imap_params($mailbox); 1213 if($mailbox eq "") { 1219 my $testno = $mailbox; 1309 my ($reference, $mailbox) = split(/ /, $args, 2); [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test__header_value_parser.py | 1760 mailbox = self._test_get_x(parser.get_mailbox, 1766 self.assertEqual(mailbox.token_type, 'mailbox') 1767 self.assertIsNone(mailbox.display_name) 1768 self.assertEqual(mailbox.local_part, 'dinsdale') 1769 self.assertEqual(mailbox.domain, 'example.com') 1770 self.assertIsNone(mailbox.route) 1771 self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com') 1774 mailbox = self._test_get_x(parser.get_mailbox, 1780 self.assertEqual(mailbox.token_type, 'mailbox') 1781 self.assertIsNone(mailbox.display_name) [all …]
|
/external/python/cpython2/Demo/scripts/ |
D | from.py | 12 mailbox = os.environ['MAIL'] variable 18 mail = open(mailbox) 20 sys.exit('Cannot open mailbox file: ' + mailbox)
|
D | README | 9 from.py Summarize mailbox 13 mboxconvert.py Convert MH or MMDF mailboxes to unix mailbox format
|
/external/syslinux/core/lwip/doc/ |
D | sys_arch.txt | 27 mailbox, or as a rendez-vous point where only one message can be 29 be more efficient. A message in a mailbox is just a pointer, nothing 75 Creates an empty mailbox for maximum "size" elements. Elements stored 82 Deallocates a mailbox. If there are messages still present in the 83 mailbox when the mailbox is deallocated, it is an indication of a 88 Posts the "msg" to the mailbox. This function have to block until 93 Try to post the "msg" to the mailbox. Returns ERR_MEM if this one 98 Blocks the thread until a message arrives in the mailbox, but does 116 present in the mailbox, it immediately returns with the code
|
/external/syslinux/core/thread/ |
D | mbox.c | 11 void mbox_init(struct mailbox *mbox, size_t size) in mbox_init() 25 int mbox_post(struct mailbox *mbox, void *msg, mstime_t timeout) in mbox_post() 43 mstime_t mbox_fetch(struct mailbox *mbox, void **msg, mstime_t timeout) in mbox_fetch()
|
/external/e2fsprogs/lib/et/test_cases/ |
D | imap_err.et | 39 "Too many user flags in mailbox" 45 "Operation is not supported on mailbox" 54 "Invalid mailbox name"
|
/external/curl/tests/data/ |
D | test811 | 23 IMAP CREATE mailbox (CUSTOMREQUEST)
|