/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_asyncore.py | 1 import asyncore namespace 45 raise asyncore.ExitNow() 96 # bubbles all the way up through asyncore read/write/_exception calls 98 self.assertRaises(asyncore.ExitNow, asyncore.read, tr1) 99 self.assertRaises(asyncore.ExitNow, asyncore.write, tr1) 100 self.assertRaises(asyncore.ExitNow, asyncore._exception, tr1) 105 asyncore.read(tr2 [all...] |
test_asynchat.py | 3 import asyncore, asynchat, socket, time namespace 122 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 153 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 174 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 186 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 196 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 207 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 219 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
|
test_poplib.py | 7 import asyncore namespace 107 class DummyPOP3Server(asyncore.dispatcher, threading.Thread): 113 asyncore.dispatcher.__init__(self) 130 while self.active and asyncore.socket_map: 132 asyncore.loop(timeout=0.1, count=1) 134 asyncore.close_all(ignore_all=True)
|
test_ftplib.py | 7 import asyncore namespace 207 class DummyFTPServer(asyncore.dispatcher, threading.Thread): 213 asyncore.dispatcher.__init__(self) 230 while self.active and asyncore.socket_map: 232 asyncore.loop(timeout=0.1, count=1) 234 asyncore.close_all(ignore_all=True) 261 class SSLConnection(object, asyncore.dispatcher): 262 """An asyncore.dispatcher subclass supporting TLS/SSL."""
|
test_smtplib.py | 1 import asyncore namespace 111 poll_fun = asyncore.poll2 113 poll_fun = asyncore.poll 116 while asyncore.socket_map and n > 0: 117 poll_fun(0.01, asyncore.socket_map) 134 asyncore.close_all() 232 # in asyncore. This sleep might help, but should really be fixed
|
test_pyclbr.py | 194 self.assertRaises(ImportError, pyclbr.readmodule_ex, 'asyncore.foo')
|
regrtest.py | 764 'os.environ', 'sys.path', 'asyncore.socket_map', 808 asyncore = sys.modules.get('asyncore') 810 return asyncore and asyncore.socket_map.copy() or {} 812 asyncore = sys.modules.get('asyncore') 813 if asyncore is not None: 814 asyncore.close_all(ignore_all=True) 815 asyncore.socket_map.update(saved_map [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_asyncore.py | 1 import asyncore namespace 45 raise asyncore.ExitNow() 96 # bubbles all the way up through asyncore read/write/_exception calls 98 self.assertRaises(asyncore.ExitNow, asyncore.read, tr1) 99 self.assertRaises(asyncore.ExitNow, asyncore.write, tr1) 100 self.assertRaises(asyncore.ExitNow, asyncore._exception, tr1) 105 asyncore.read(tr2 [all...] |
test_asynchat.py | 3 import asyncore, asynchat, socket, time namespace 122 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 153 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 174 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 186 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 196 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 207 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01) 219 asyncore.loop(use_poll=self.usepoll, count=300, timeout=.01)
|
test_poplib.py | 7 import asyncore namespace 107 class DummyPOP3Server(asyncore.dispatcher, threading.Thread): 113 asyncore.dispatcher.__init__(self) 130 while self.active and asyncore.socket_map: 132 asyncore.loop(timeout=0.1, count=1) 134 asyncore.close_all(ignore_all=True)
|
test_ftplib.py | 7 import asyncore namespace 207 class DummyFTPServer(asyncore.dispatcher, threading.Thread): 213 asyncore.dispatcher.__init__(self) 230 while self.active and asyncore.socket_map: 232 asyncore.loop(timeout=0.1, count=1) 234 asyncore.close_all(ignore_all=True) 261 class SSLConnection(object, asyncore.dispatcher): 262 """An asyncore.dispatcher subclass supporting TLS/SSL."""
|
test_smtplib.py | 1 import asyncore namespace 111 poll_fun = asyncore.poll2 113 poll_fun = asyncore.poll 116 while asyncore.socket_map and n > 0: 117 poll_fun(0.01, asyncore.socket_map) 134 asyncore.close_all() 232 # in asyncore. This sleep might help, but should really be fixed
|
test_pyclbr.py | 194 self.assertRaises(ImportError, pyclbr.readmodule_ex, 'asyncore.foo')
|
/external/chromium_org/third_party/pyftpdlib/ |
README.chromium | 11 write asynchronous FTP servers with Python. Based on asyncore framework
|
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
tlsasyncdispatchermixin.py | 7 """TLS Lite + asyncore.""" 10 import asyncore namespace 17 L{asyncore.dispatcher} to add TLS support. 32 To use this class, you must combine it with an asyncore.dispatcher, 73 in asyncore.dispatcher, which will call close() on this class. The 76 asyncore.dispatcher.close() to be called, which closes the socket 77 and removes this instance from the asyncore loop. 121 asyncore.dispatcher.close(self) 145 asyncore.dispatcher.close(self)
|
asyncstatemachine.py | 11 asyncore and Twisted.
|
/external/chromium_org/sync/tools/testserver/ |
sync_testserver.py | 13 import asyncore namespace 74 """This is a merge of asyncore.loop() and SocketServer.serve_forever(). 80 Adapted from asyncore.read() et al. 90 except (asyncore.ExitNow, KeyboardInterrupt, SystemExit): 124 asyncore.dispatcher.handle_read_event) 128 asyncore.dispatcher.handle_write_event) 132 asyncore.dispatcher.handle_expt_event)
|
xmppserver.py | 12 import asyncore namespace 19 # by asyncore by forwarding to an internal object via __getattr__. 395 asyncore.dispatcher.__init__(self, sock, socket_map) 494 class XmppServer(asyncore.dispatcher): 504 asyncore.loop(30.0, False, socket_map) 516 asyncore.dispatcher.__init__(self, None, socket_map) 540 asyncore.dispatcher.close(self)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
asynchat.py | 50 import asyncore namespace 55 class async_chat (asyncore.dispatcher): 79 asyncore.dispatcher.__init__ (self, sock, map)
|
smtpd.py | 78 import asyncore namespace 276 class SMTPServer(asyncore.dispatcher): 280 asyncore.dispatcher.__init__(self) 288 # cleanup asyncore.socket_map before raising 553 asyncore.loop()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
asynchat.py | 50 import asyncore namespace 55 class async_chat (asyncore.dispatcher): 79 asyncore.dispatcher.__init__ (self, sock, map)
|
smtpd.py | 78 import asyncore namespace 276 class SMTPServer(asyncore.dispatcher): 280 asyncore.dispatcher.__init__(self) 288 # cleanup asyncore.socket_map before raising 553 asyncore.loop()
|
/prebuilts/python/darwin-x86/2.7.5/bin/ |
smtpd.py | 78 import asyncore namespace 276 class SMTPServer(asyncore.dispatcher): 280 asyncore.dispatcher.__init__(self) 288 # cleanup asyncore.socket_map before raising 553 asyncore.loop()
|
/prebuilts/python/linux-x86/2.7.5/bin/ |
smtpd.py | 78 import asyncore namespace 276 class SMTPServer(asyncore.dispatcher): 280 asyncore.dispatcher.__init__(self) 288 # cleanup asyncore.socket_map before raising 553 asyncore.loop()
|
/external/chromium_org/third_party/tlslite/ |
README | 19 10 Using TLS Lite with asyncore 441 10 Using TLS Lite with asyncore 443 TLS Lite can be used with subclasses of asyncore.dispatcher. See the comments 445 may not work with all asyncore.dispatcher subclasses. 592 - cleaned up asyncore support 596 - added asyncore support
|