Searched refs:asyncore (Results 1 - 22 of 22) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_asyncore.py1 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
[all...]
H A Dtest_asynchat.py3 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)
H A Dtest_poplib.py7 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)
H A Dtest_smtplib.py1 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
H A Dregrtest.py764 '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
[all...]
H A Dtest_ftplib.py7 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."""
H A Dtest_ssl.py6 import asyncore namespace
601 class EchoServer(asyncore.dispatcher):
603 class ConnectionHandler(asyncore.dispatcher_with_send):
606 asyncore.dispatcher_with_send.__init__(self, conn)
652 asyncore.dispatcher.__init__(self)
701 asyncore.loop(0.05)
1162 """Check the example asyncore integration."""
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_asyncore.py1 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
[all...]
H A Dtest_asynchat.py3 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)
H A Dtest_poplib.py7 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)
H A Dtest_smtplib.py1 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
H A Dregrtest.py764 '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
[all...]
H A Dtest_ftplib.py7 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."""
H A Dtest_ssl.py6 import asyncore namespace
601 class EchoServer(asyncore.dispatcher):
603 class ConnectionHandler(asyncore.dispatcher_with_send):
606 asyncore.dispatcher_with_send.__init__(self, conn)
652 asyncore.dispatcher.__init__(self)
701 asyncore.loop(0.05)
1162 """Check the example asyncore integration."""
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dasynchat.py50 import asyncore namespace
55 class async_chat (asyncore.dispatcher):
79 asyncore.dispatcher.__init__ (self, sock, map)
H A Dsmtpd.py78 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/
H A Dasynchat.py50 import asyncore namespace
55 class async_chat (asyncore.dispatcher):
79 asyncore.dispatcher.__init__ (self, sock, map)
H A Dsmtpd.py78 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/
H A Dsmtpd.py78 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/
H A Dsmtpd.py78 import asyncore namespace
276 class SMTPServer(asyncore.dispatcher):
280 asyncore.dispatcher.__init__(self)
288 # cleanup asyncore.socket_map before raising
553 asyncore.loop()
/prebuilts/devtools/tools/lib/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...

Completed in 6692 milliseconds