/external/syslinux/core/include/ |
mbox.h | 4 * Simple thread mailbox interface 13 * If a mailbox is allocated statically (as a struct mailbox), this 18 struct mailbox { struct 30 /* The number of bytes for an mailbox of size s */ 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); 39 * This marks a mailbox object as unusable; it will remain unusabl [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
from.py | 9 # Open mailbox file. Exits with exception when this fails.
12 mailbox = os.environ['MAIL']
variable 18 mail = open(mailbox)
20 sys.exit('Cannot open mailbox file: ' + mailbox)
|
/external/python/cpython2/Demo/scripts/ |
from.py | 9 # Open mailbox file. Exits with exception when this fails. 12 mailbox = os.environ['MAIL'] variable 18 mail = open(mailbox) 20 sys.exit('Cannot open mailbox file: ' + mailbox)
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
MailboxField.java | 27 import org.apache.james.mime4j.field.address.Mailbox; 32 private final Mailbox mailbox; field in class:MailboxField 35 protected MailboxField(final String name, final String body, final String raw, final Mailbox mailbox, final ParseException parseException) { 37 this.mailbox = mailbox; 41 public Mailbox getMailbox() { 42 return mailbox; 53 Mailbox mailbox = null local [all...] |
/external/curl/lib/ |
imap.h | 58 char *mailbox; /* Mailbox to select */ member in struct:IMAP 81 char *mailbox; /* The last selected mailbox */ member in struct:imap_conn
|
imap.c | 652 char *mailbox; local 659 /* Make sure the mailbox is in the correct atom format if necessary */ 660 mailbox = imap->mailbox ? imap_atom(imap->mailbox, true) : strdup(""); 661 if(!mailbox) 665 result = imap_sendf(conn, "LIST \"%s\" *", mailbox); 667 free(mailbox); 680 * Sends a SELECT command to ask the server to change the selected mailbox. 688 char *mailbox; local 760 char *mailbox; local [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailConversationCursor.java | 34 import com.android.emailcommon.provider.Mailbox; 47 * any pending notifications for the corresponding mailbox should be canceled). We also handle 48 * getExtras() to provide a snapshot of the mailbox's status 70 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); local 72 if (mailbox != null) { 73 mMailboxTypeId = mailbox.mType; 75 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, mailbox.mTotalCount); 76 if (mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_BACKGROUN 130 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId); local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
MailboxList.java | 25 * An immutable, random-access list of Mailbox objects. 34 * @param mailboxes An ArrayList that contains only Mailbox objects. 54 public Mailbox get(int index) { 57 return (Mailbox)mailboxes.get(index); 61 * Dumps a representation of this mailbox list to 66 Mailbox mailbox = get(i); local 67 System.out.println(mailbox.toString());
|
/external/syslinux/core/thread/ |
mbox.c | 4 * Simple thread mailbox interface 11 void mbox_init(struct mailbox *mbox, size_t size) 25 int mbox_post(struct mailbox *mbox, void *msg, mstime_t timeout) 43 mstime_t mbox_fetch(struct mailbox *mbox, void **msg, mstime_t timeout)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_mailbox.py | 12 import mailbox
25 # Inspect a mailbox.Message representation of the sample message
27 self.assertIsInstance(msg, mailbox.Message)
35 self.assertNotIsInstance(part, mailbox.Message)
70 keys.append(self._box.add(mailbox.Message(_sample_message)))
156 self.assertIsInstance(msg0, mailbox.Message)
387 # Lock and unlock the mailbox
395 # Close mailbox and flush changes to disk
432 # Test that all Mailbox methods raise NotImplementedException.
433 box = mailbox.Mailbox('path') [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support).
4 import mailbox
28 # create a new maildir mailbox to work with:
65 """Test an empty maildir mailbox"""
67 self.mbox = mailbox.Maildir(test_support.TESTFN)
74 self.mbox = mailbox.Maildir(test_support.TESTFN)
82 self.mbox = mailbox.Maildir(test_support.TESTFN)
91 self.mbox = mailbox.Maildir(test_support.TESTFN)
104 for msg in mailbox.PortableUnixMailbox(f,
113 # create a new maildir mailbox to work with: [all...] |
/external/python/cpython2/Lib/test/ |
test_mailbox.py | 14 import mailbox 27 # Inspect a mailbox.Message representation of the sample message 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) 418 # Lock and unlock the mailbox 426 # Close mailbox and flush changes to disk 465 # Test that all Mailbox methods raise NotImplementedException. 466 box = mailbox.Mailbox('path' [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support). 4 import mailbox 28 # create a new maildir mailbox to work with: 65 """Test an empty maildir 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, 121 # create a new maildir mailbox to work with [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_mailbox.py | 14 import mailbox 27 # Inspect a mailbox.Message representation of the sample message 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) 419 # Lock and unlock the mailbox 427 # Close mailbox and flush changes to disk 466 # Test that all Mailbox methods raise NotImplementedException. 467 box = mailbox.Mailbox('path' [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support). 4 import mailbox 28 # create a new maildir mailbox to work with: 65 """Test an empty maildir 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, 121 # create a new maildir mailbox to work with [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_mailbox.py | 14 import mailbox 27 # Inspect a mailbox.Message representation of the sample message 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) 419 # Lock and unlock the mailbox 427 # Close mailbox and flush changes to disk 466 # Test that all Mailbox methods raise NotImplementedException. 467 box = mailbox.Mailbox('path' [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support). 4 import mailbox 28 # create a new maildir mailbox to work with: 65 """Test an empty maildir 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, 121 # create a new maildir mailbox to work with [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mailbox.py | 14 import mailbox 27 # Inspect a mailbox.Message representation of the sample message 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) 419 # Lock and unlock the mailbox 427 # Close mailbox and flush changes to disk 466 # Test that all Mailbox methods raise NotImplementedException. 467 box = mailbox.Mailbox('path' [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support). 4 import mailbox 28 # create a new maildir mailbox to work with: 65 """Test an empty maildir 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, 121 # create a new maildir mailbox to work with [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mailbox.py | 14 import mailbox 27 # Inspect a mailbox.Message representation of the sample message 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) 419 # Lock and unlock the mailbox 427 # Close mailbox and flush changes to disk 466 # Test that all Mailbox methods raise NotImplementedException. 467 box = mailbox.Mailbox('path' [all...] |
test_old_mailbox.py | 2 # in mailbox.py (the ones without write support). 4 import mailbox 28 # create a new maildir mailbox to work with: 65 """Test an empty maildir 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, 121 # create a new maildir mailbox to work with [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/ |
Store.java | 33 import com.android.emailcommon.provider.Mailbox; 162 * @param type The type of mailbox 163 * @return true if the given type of mailbox can be synced. 166 return (type == Mailbox.TYPE_INBOX); 200 * Updates the fields within the given mailbox. Only the fields that are important to 203 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, 205 mailbox.mAccountKey = accountId; 206 mailbox.mDelimiter = delimiter; 212 mailbox.mDisplayName = displayPath [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
ImapService.java | 59 import com.android.emailcommon.provider.Mailbox; 92 * Simple cache for last search result mailbox by account and serverId, since the most common 93 * case will be repeated use of the same mailbox 97 private static Mailbox mLastSearchRemoteMailbox = null; 165 final Account account, final Mailbox folder, final boolean loadMore, 235 // Note: mailbox key and account key not needed - they are projected for the SELECT 251 * @param toMailbox the destination mailbox we're syncing 255 Folder remoteFolder, ArrayList<Message> messages, final Mailbox toMailbox) 282 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages 796 Mailbox mailbox = new Mailbox(); local 834 Mailbox mailbox = getRemoteMailboxForMessage(context, oldMessage); local 891 Mailbox mailbox = null; local 956 Mailbox mailbox = null; local 1459 final Mailbox mailbox = Mailbox.restoreMailboxWithId(context, searchParams.mMailboxId); local [all...] |
PopImapSyncAdapterService.java | 41 import com.android.emailcommon.provider.Mailbox; 82 * @return whether or not this mailbox retrieves its data from the server (as opposed to just 83 * a local mailbox that is never synced). 85 private static boolean loadsFromServer(Context context, Mailbox m, String protocol) { 91 return m.mType != Mailbox.TYPE_DRAFTS 92 && m.mType != Mailbox.TYPE_OUTBOX 93 && m.mType != Mailbox.TYPE_SEARCH; 96 return Mailbox.TYPE_INBOX == m.mType; 106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId) local [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
ImapStore.java | 45 import com.android.emailcommon.provider.Mailbox; 139 case Mailbox.TYPE_INBOX: 140 case Mailbox.TYPE_MAIL: 141 case Mailbox.TYPE_SENT: 142 case Mailbox.TYPE_TRASH: 143 case Mailbox.TYPE_JUNK: 145 case Mailbox.TYPE_NONE: 146 case Mailbox.TYPE_PARENT: 147 case Mailbox.TYPE_DRAFTS: 148 case Mailbox.TYPE_OUTBOX 339 final Mailbox mailbox = folder.mMailbox; local [all...] |