/external/syslinux/core/thread/ |
H A D | mbox.c | 2 * mbox.c 8 #include "mbox.h" 11 void mbox_init(struct mailbox *mbox, size_t size) argument 13 if (!!mbox) { 14 sem_init(&mbox->prod_sem, size); /* All slots empty */ 15 sem_init(&mbox->cons_sem, 0); /* No slots full */ 16 sem_init(&mbox->head_sem, 1); /* Head mutex */ 17 sem_init(&mbox->tail_sem, 1); /* Tail mutex */ 19 mbox->wrap = &mbox 25 mbox_post(struct mailbox *mbox, void *msg, mstime_t timeout) argument 43 mbox_fetch(struct mailbox *mbox, void **msg, mstime_t timeout) argument [all...] |
/external/syslinux/core/lwip/src/arch/ |
H A D | sys_arch.c | 60 err_t sys_mbox_new(sys_mbox_t *mbox, int size) argument 62 if (!mbox) 64 *mbox = malloc(MBOX_BYTES(size)); 65 if (!(*mbox)) 68 mbox_init(*mbox, size); 72 void sys_mbox_free(sys_mbox_t *mbox) argument 74 if (!!mbox && !!*mbox) { 75 sys_mbox_set_invalid(mbox); 76 free(*mbox); 81 sys_mbox_post(sys_mbox_t *mbox, void *msg) argument 87 sys_mbox_trypost(sys_mbox_t *mbox, void *msg) argument 94 sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) argument 107 sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) argument 114 sys_mbox_set_invalid(sys_mbox_t *mbox) argument 120 sys_mbox_valid(sys_mbox_t *mbox) argument [all...] |
/external/syslinux/core/include/ |
H A D | mbox.h | 2 * mbox.h 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) argument 48 if (!!mbox) 49 sem_set_invalid(&mbox->prod_sem); 55 static inline bool mbox_is_valid(struct mailbox *mbox) argument 57 return ((!!mbox) && sem_is_valid(&mbox [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_old_mailbox.py | 44 def createMessage(self, dir, mbox=False): 53 if mbox: 67 self.mbox = mailbox.Maildir(test_support.TESTFN) 68 self.assertTrue(len(self.mbox) == 0) 69 self.assertTrue(self.mbox.next() is None) 70 self.assertTrue(self.mbox.next() is None) 74 self.mbox = mailbox.Maildir(test_support.TESTFN) 75 self.assertTrue(len(self.mbox) == 1) 76 msg = self.mbox.next() 79 self.assertTrue(self.mbox [all...] |
H A D | test_mailbox.py | 816 # two-second-plus-a-bit of the last one, just in case the mbox has 990 _factory = lambda self, path, factory=None: mailbox.mbox(path, factory) 1002 self._box = mailbox.mbox(self._path, create=True) 1948 def createMessage(self, dir, mbox=False): 1957 if mbox: 1972 self.mbox = mailbox.Maildir(test_support.TESTFN) 1973 #self.assertTrue(hasattr(self.mbox, "boxes")) 1974 #self.assertEqual(len(self.mbox.boxes), 0) 1975 self.assertIsNone(self.mbox.next()) 1976 self.assertIsNone(self.mbox [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
H A D | sys.h | 164 /** Create a new mbox of specified size 165 * @param mbox pointer to the mbox to create 166 * @param size (miminum) number of messages in this mbox 168 err_t sys_mbox_new(sys_mbox_t *mbox, int size); 169 /** Post a message to an mbox - may not fail 171 * @param mbox mbox to posts the message 173 void sys_mbox_post(sys_mbox_t *mbox, void *msg); 174 /** Try to post a message to an mbox [all...] |
H A D | timers.h | 89 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
H A D | stats.h | 110 struct stats_syselem mbox; member in struct:stats_sys
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
H A D | test_helpabout.py | 29 cls.mbox = Mbox() 31 textview.tkMessageBox = cls.mbox 44 self.mbox.showerror.message = '' 47 self.assertEqual(self.mbox.showerror.message, '')
|
/external/syslinux/core/lwip/src/api/ |
H A D | tcpip.c | 55 static sys_mbox_t mbox; variable 88 sys_timeouts_mbox_fetch(&mbox, (void **)&msg); 175 if (sys_mbox_valid(&mbox)) { 184 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) { 210 if (sys_mbox_valid(&mbox)) { 220 sys_mbox_post(&mbox, msg); 222 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) { 246 if (sys_mbox_valid(&mbox)) { 256 sys_mbox_post(&mbox, msg); 275 if (sys_mbox_valid(&mbox)) { [all...] |
/external/syslinux/core/lwip/src/core/ |
H A D | stats.c | 148 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used)); 149 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max)); 150 LWIP_PLATFORM_DIAG(("mbox.err: %"U32_F"\n\t", (u32_t)sys->mbox.err));
|
H A D | timers.c | 412 * Wait (forever) for a message to arrive in an mbox. 415 * @param mbox the mbox to fetch the message from 419 sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) argument 428 time_needed = sys_arch_mbox_fetch(mbox, msg, 0); 431 time_needed = sys_arch_mbox_fetch(mbox, msg, next_timeout->time); 460 /* We try again to fetch a message from the mbox. */
|
/external/syslinux/core/lwip/src/include/arch/ |
H A D | sys_arch.h | 7 #include <mbox.h>
|
/external/python/cpython3/Lib/test/ |
H A D | test_mailbox.py | 908 # two-second-plus-a-bit of the last one, just in case the mbox has 1092 _factory = lambda self, path, factory=None: mailbox.mbox(path, factory) 1104 self._box = mailbox.mbox(self._path, create=True) 2128 def createMessage(self, dir, mbox=False): 2137 if mbox: 2152 self.mbox = mailbox.Maildir(support.TESTFN) 2153 #self.assertTrue(hasattr(self.mbox, "boxes")) 2154 #self.assertEqual(len(self.mbox.boxes), 0) 2155 self.assertIsNone(self.mbox.next()) 2156 self.assertIsNone(self.mbox [all...] |
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
H A D | wikipedia.css | 2872 .mbox-inside .standard-talk, 2903 th.mbox-text, td.mbox-text { /* The message body cell(s) */ 2909 td.mbox-image { /* The left image cell */ 2915 td.mbox-imageright { /* The right image cell */ 2921 td.mbox-empty-cell { /* An empty narrow cell */ 2938 .ambox th.mbox-text, 2939 .ambox td.mbox-text { /* The message body cell(s) */ 2942 .ambox td.mbox-image { /* The left image cell */ 2946 .ambox td.mbox [all...] |
/external/mdnsresponder/mDNSCore/ |
H A D | DNSCommon.c | 1135 case kDNSType_RP: return DomainNameHashValue(&rdb->rp.mbox) + DomainNameHashValue(&rdb->rp.txt); 1190 case kDNSType_RP: return(mDNSBool)( samename(&b1->rp.mbox, &b2->rp.mbox) && 1427 case kDNSType_RP: return(mDNSu16)(CompressedDomainNameLength(&rd->rp.mbox, name) + 1695 case kDNSType_RP: ptr = putDomainNameAsLabels(msg, ptr, limit, &rdb->rp.mbox); 2260 case kDNSType_RP: ptr = getDomainName(msg, ptr, end, &rdb->rp.mbox); // Domainname + domainname 2261 if (!ptr) { debugf("GetLargeResourceRecord: Malformed RP mbox"); goto fail; }
|
H A D | mDNSEmbeddedAPI.h | 724 typedef packedstruct { domainname mbox; domainname txt; } rdataRP; variable
|
/external/fio/ |
H A D | gclient.c | 1149 static void gfio_show_ddir_status(struct gfio_client *gc, GtkWidget *mbox, argument 1175 gtk_box_pack_start(GTK_BOX(mbox), box, TRUE, FALSE, 3);
|
/external/dtc/Documentation/ |
H A D | dtc-paper.tex | 27 \newcommand{\ppc}{\mbox{PowerPC}\xspace}
|
/external/annotation-tools/annotation-file-utilities/ |
H A D | annotation-file-format.tex | 20 \newcommand{\code}[1]{\ifmmode{\mbox{\relax\ttfamily{#1}}}\else{\relax\ttfamily #1}\fi} 22 %HEVEA \renewcommand{\code}[1]{\ifmmode{\mbox{\ttfamily{#1}}}\else{\ttfamily #1}\fi}
|
/external/python/cpython2/Lib/ |
H A D | mailbox.py | 1 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.""" 35 __all__ = [ 'Mailbox', 'Maildir', 'mbox', 'MH', 'Babyl', 'MMDF', 765 """An mbox or MMDF mailbox.""" 820 class mbox(_mboxMMDF): class in inherits:_mboxMMDF 821 """A classic mbox mailbox.""" 830 """Initialize an mbox mailbox.""" 1589 """Message with mbox- or MMDF-specific properties.""" 1648 """Copy mbox- or MMDF-specific state to message insofar as possible.""" 1700 """Message with mbox-specific properties."""
|
/external/python/cpython3/Lib/ |
H A D | mailbox.py | 1 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.""" 26 __all__ = ['Mailbox', 'Maildir', 'mbox', 'MH', 'Babyl', 'MMDF', 770 """An mbox or MMDF mailbox.""" 835 class mbox(_mboxMMDF): class in inherits:_mboxMMDF 836 """A classic mbox mailbox.""" 845 """Initialize an mbox mailbox.""" 1633 """Message with mbox- or MMDF-specific properties.""" 1694 """Copy mbox- or MMDF-specific state to message insofar as possible.""" 1746 """Message with mbox-specific properties."""
|