Home
last modified time | relevance | path

Searched refs:mailbox (Results 1 – 25 of 143) sorted by relevance

123456

/external/python/cpython2/Lib/test/
Dtest_mailbox.py14 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 …]
Dtest_old_mailbox.py4 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/
Dtest_mailbox.py14 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/arm-trusted-firmware/plat/marvell/armada/a8k/common/ble/
Dble_main.c25 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in mailbox_clean() local
27 memset(mailbox, 0, PLAT_MARVELL_MAILBOX_SIZE); in mailbox_clean()
33 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in exec_ble_main() local
64 if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM || in exec_ble_main()
65 mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE) { in exec_ble_main()
70 (void (*)(void))mailbox[MBOX_IDX_ROM_EXIT_ADDR]; in exec_ble_main()
/external/python/cpython2/Doc/library/
Dimaplib.rst58 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 …]
Dmailbox.rst2 :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 …]
Dpoplib.rst104 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
/external/python/cpython3/Doc/library/
Dimaplib.rst76 This exception is raised when a writable mailbox has its status changed by the
78 write permission, and the mailbox will need to be re-opened to re-obtain write
167 Note that IMAP4 message numbers change as the mailbox changes; in particular,
213 .. method:: IMAP4.append(mailbox, flags, date_time, message)
215 Append *message* to named mailbox.
241 Checkpoint mailbox on server.
246 Close currently selected mailbox. Deleted messages are removed from writable
247 mailbox. This is the recommended command before ``LOGOUT``.
255 .. method:: IMAP4.create(mailbox)
257 Create new mailbox named *mailbox*.
[all …]
Dmailbox.rst1 :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 …]
/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/
Dplat_bl31_setup.c101 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in bl31_plat_arch_setup() local
114 if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM || in bl31_plat_arch_setup()
115 mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE) in bl31_plat_arch_setup()
129 if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM || in bl31_plat_arch_setup()
130 mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE) in bl31_plat_arch_setup()
Dplat_pm.c614 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in a8k_pwr_domain_suspend() local
623 mailbox[MBOX_IDX_SUSPEND_MAGIC] = MVEBU_MAILBOX_SUSPEND_STATE; in a8k_pwr_domain_suspend()
624 mailbox[MBOX_IDX_ROM_EXIT_ADDR] = (uintptr_t)&plat_marvell_exit_bootrom; in a8k_pwr_domain_suspend()
686 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in a8k_pwr_domain_suspend_finish() local
701 mailbox[MBOX_IDX_SUSPEND_MAGIC] = 0; in a8k_pwr_domain_suspend_finish()
702 mailbox[MBOX_IDX_ROM_EXIT_ADDR] = 0; in a8k_pwr_domain_suspend_finish()
/external/arm-trusted-firmware/plat/hisilicon/hikey960/drivers/ipc/
Dhisi_ipc.c139 enum lpm3_mbox_id mailbox = (enum lpm3_mbox_id)(LPM3_MBX0 + core); in hisi_ipc_pm_on_off() local
144 hisi_ipc_send_cmd_with_ack(source, mailbox, cmdtype, cmdpara); in hisi_ipc_pm_on_off()
153 enum lpm3_mbox_id mailbox = (enum lpm3_mbox_id)(LPM3_MBX0 + core); in hisi_ipc_pm_suspend() local
162 hisi_ipc_send_cmd_with_ack(source, mailbox, cmdtype, cmdpara); in hisi_ipc_pm_suspend()
170 enum lpm3_mbox_id mailbox = (enum lpm3_mbox_id)(LPM3_MBX0 + core); in hisi_ipc_psci_system_off() local
175 hisi_ipc_send_cmd_with_ack(source, mailbox, cmdtype, cmdpara); in hisi_ipc_psci_system_off()
184 enum lpm3_mbox_id mailbox = (enum lpm3_mbox_id)(LPM3_MBX0 + core); in hisi_ipc_psci_system_reset() local
189 hisi_ipc_send_cmd_with_ack(source, mailbox, cmdtype, cmdpara); in hisi_ipc_psci_system_reset()
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmarvell_pm.c26 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE; in marvell_program_mailbox() local
33 ((PLAT_MARVELL_MAILBOX_BASE + sizeof(*mailbox)) <= in marvell_program_mailbox()
36 mailbox[MBOX_IDX_MAGIC] = MVEBU_MAILBOX_MAGIC_NUM; in marvell_program_mailbox()
37 mailbox[MBOX_IDX_SEC_ADDR] = address; in marvell_program_mailbox()
/external/python/cpython2/Lib/
Dimaplib.py320 def append(self, mailbox, flags, date_time, message): argument
328 if not mailbox:
329 mailbox = 'INBOX'
340 return self._simple_command(name, mailbox, flags, date_time)
412 def create(self, mailbox): argument
417 return self._simple_command('CREATE', mailbox)
420 def delete(self, mailbox): argument
425 return self._simple_command('DELETE', mailbox)
427 def deleteacl(self, mailbox, who): argument
432 return self._simple_command('DELETEACL', mailbox, who)
[all …]
/external/swiftshader/tests/regres/testlists/
Dvk-wsi.txt2277 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.opaque.reference
2278 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.opaque.incremental_present
2279 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.pre_multiplied.reference
2280 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.pre_multiplied.incremental_present
2281 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.post_multiplied.reference
2282 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.post_multiplied.incremental_present
2283 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.inherit.reference
2284 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.identity.inherit.incremental_present
2285 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.rotate_90.opaque.reference
2286 dEQP-VK.wsi.xlib.incremental_present.scale_none.mailbox.rotate_90.opaque.incremental_present
[all …]
Dvk-wsi-NOT_SUPPORTED.txt2236 dEQP-VK.wsi.android.display_timing.mailbox.display_timing
2237 dEQP-VK.wsi.android.display_timing.mailbox.reference
2454 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.inherit.incremental_pr…
2455 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.inherit.reference
2456 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.opaque.incremental_pre…
2457 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.opaque.reference
2458 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.post_multiplied.increm…
2459 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.post_multiplied.refere…
2460 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.pre_multiplied.increme…
2461 dEQP-VK.wsi.android.incremental_present.scale_down.mailbox.horizontal_mirror.pre_multiplied.referen…
[all …]
/external/python/cpython3/Lib/
Dimaplib.py394 def append(self, mailbox, flags, date_time, message): argument
402 if not mailbox:
403 mailbox = 'INBOX'
417 return self._simple_command(name, mailbox, flags, date_time)
489 def create(self, mailbox): argument
494 return self._simple_command('CREATE', mailbox)
497 def delete(self, mailbox): argument
502 return self._simple_command('DELETE', mailbox)
504 def deleteacl(self, mailbox, who): argument
509 return self._simple_command('DELETEACL', mailbox, who)
[all …]
/external/curl/lib/
Dimap.c618 char *mailbox = imap->mailbox ? imap_atom(imap->mailbox, true) in imap_perform_list() local
620 if(!mailbox) in imap_perform_list()
624 result = imap_sendf(conn, "LIST \"%s\" *", mailbox); in imap_perform_list()
626 free(mailbox); in imap_perform_list()
647 char *mailbox; in imap_perform_select() local
650 Curl_safefree(imapc->mailbox); in imap_perform_select()
654 if(!imap->mailbox) { in imap_perform_select()
660 mailbox = imap_atom(imap->mailbox, false); in imap_perform_select()
661 if(!mailbox) in imap_perform_select()
665 result = imap_sendf(conn, "SELECT %s", mailbox); in imap_perform_select()
[all …]
Dimap.h58 char *mailbox; /* Mailbox to select */ member
83 char *mailbox; /* The last selected mailbox */ member
/external/python/cpython2/Demo/scripts/
Dfrom.py12 mailbox = os.environ['MAIL'] variable
18 mail = open(mailbox)
20 sys.exit('Cannot open mailbox file: ' + mailbox)
/external/curl/tests/
Dftpserver.pl1168 my ($mailbox) = @_;
1169 fix_imap_params($mailbox);
1171 logmsg "SELECT_imap got test $mailbox\n";
1173 if($mailbox eq "") {
1187 $selected = $mailbox;
1247 my ($mailbox, $size) = ($1, $2);
1248 fix_imap_params($mailbox);
1250 if($mailbox eq "") {
1256 my $testno = $mailbox;
1346 my ($reference, $mailbox) = split(/ /, $args, 2);
[all …]
/external/arm-trusted-firmware/plat/arm/common/
Darm_pm.c185 uintptr_t *mailbox = (void *) PLAT_ARM_TRUSTED_MAILBOX_BASE; in plat_arm_program_trusted_mailbox() local
187 *mailbox = address; in plat_arm_program_trusted_mailbox()
194 ((PLAT_ARM_TRUSTED_MAILBOX_BASE + sizeof(*mailbox)) <= \ in plat_arm_program_trusted_mailbox()
/external/python/cpython3/Lib/test/test_email/
Dtest__header_value_parser.py1849 mailbox = self._test_get_x(parser.get_mailbox,
1855 self.assertEqual(mailbox.token_type, 'mailbox')
1856 self.assertIsNone(mailbox.display_name)
1857 self.assertEqual(mailbox.local_part, 'dinsdale')
1858 self.assertEqual(mailbox.domain, 'example.com')
1859 self.assertIsNone(mailbox.route)
1860 self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1863 mailbox = self._test_get_x(parser.get_mailbox,
1869 self.assertEqual(mailbox.token_type, 'mailbox')
1870 self.assertIsNone(mailbox.display_name)
[all …]
/external/e2fsprogs/lib/et/test_cases/
Dimap_err.et69 "Too many user flags in mailbox"
84 "Operation is not supported on mailbox"
93 "Invalid mailbox name"
96 "Invalid mailbox type"
108 "Delivery to mailbox is disabled"
169 "This mailbox hierarchy does not exist on a single backend server."
/external/arm-trusted-firmware/plat/arm/board/a5ds/
Da5ds_pm.c69 uintptr_t *mailbox = (void *)A5DS_TRUSTED_MAILBOX_BASE; in plat_setup_psci_ops() local
70 *mailbox = sec_entrypoint; in plat_setup_psci_ops()

123456