/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
managers.py | 45 import threading namespace 167 self.mutex = threading.RLock() 182 t = threading.Thread(target=self.handle_request, args=(c,)) 230 threading.current_thread().name) 280 threading.current_thread().name) 293 threading.current_thread().name) 421 threading.current_thread().name = name 740 if threading.current_thread().name != 'MainThread': 741 name += '|' + threading.current_thread().name 754 threading.current_thread().name [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
dbapi.py | 28 import threading namespace 30 threading = None variable 478 @unittest.skipUnless(threading, 'This test requires threading.') 501 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors}) 519 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors}) 537 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors}) 555 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors}) 573 t = threading.Thread(target=run, kwargs={"cur": self.cur, "errors": errors}) 591 t = threading.Thread(target=run, kwargs={"cur": self.cur, "errors": errors} [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ftplib.py | 21 threading = test_support.import_module('threading') variable 207 class DummyFTPServer(asyncore.dispatcher, threading.Thread): 212 threading.Thread.__init__(self) 218 self.active_lock = threading.Lock() 223 self.__flag = threading.Event() 224 threading.Thread.start(self) 668 self.evt = threading.Event() 672 threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
|
test_logging.py | 49 import threading namespace 51 threading = None variable 902 self.finished = threading.Event() 916 @unittest.skipUnless(threading, 'Threading required for this test.') 928 threading.Thread(target=self.tcpserver.serve_until_stopped)] [all...] |
test_xmlrpc.py | 17 import threading namespace 19 threading = None variable 417 @unittest.skipUnless(threading, 'Threading required for this test.') 427 self.evt = threading.Event() 430 threading.Thread(target=self.threadFunc, args=serv_args).start() 751 if threading: 754 # Without threading, http_server() and http_multi_server() will not 778 @unittest.skipUnless(threading, 'Threading required for this test.' [all...] |
test_decimal.py | 38 import threading namespace 40 threading = None variable 1220 import threading namespace 1222 threading = None variable in class:DecimalUseOfContextTest [all...] |
test_multiprocessing.py | 23 # import threading after _multiprocessing to raise a more relevant error 26 import threading namespace 636 self.assertRaises((ValueError, threading.ThreadError), lock.release) 737 p = threading.Thread(target=self.f, args=(cond, sleeping, woken)) 783 t = threading.Thread(target=self.f, 806 t = threading.Thread(target=self.f, args=(cond, sleeping, woken)) 852 # work with threading._Event objects. is_set == isSet 855 # Removed, threading.Event.wait() will return the value of the __flag [all...] |
test_socket.py | 39 import threading namespace 42 threading = None variable 121 self.server_ready = threading.Event() 122 self.client_ready = threading.Event() 123 self.done = threading.Event() 728 @unittest.skipUnless(thread, 'Threading required for this test.') 825 @unittest.skipUnless(thread, 'Threading required for this test.') 854 @unittest.skipUnless(thread, 'Threading required for this test.') 870 @unittest.skipUnless(thread, 'Threading required for this test.') 890 @unittest.skipUnless(thread, 'Threading required for this test.' [all...] |
test_io.py | 45 import threading namespace 47 threading = None variable 895 @unittest.skipUnless(threading, 'Threading required for this test.') 924 threads = [threading.Thread(target=f) for x in range(20)] [all...] |
/external/chromium_org/chrome/test/functional/ |
perf.py | 40 import threading namespace [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
android.py | 36 import threading namespace 519 lock = threading.Lock() [all...] |
/external/chromium_org/third_party/re2/lib/codereview/ |
codereview.py | 58 import threading namespace 162 class StatusThread(threading.Thread): 164 threading.Thread.__init__(self) 555 class LoadCLThread(threading.Thread): 557 threading.Thread.__init__(self) [all...] |
/external/regex-re2/lib/codereview/ |
codereview.py | 58 import threading namespace 162 class StatusThread(threading.Thread): 164 threading.Thread.__init__(self) 555 class LoadCLThread(threading.Thread): 557 threading.Thread.__init__(self) [all...] |
/external/v8/tools/ |
test.py | 42 import threading namespace 68 self.lock = threading.Lock() 85 # That way -j1 avoids threading altogether which is a nice fallback 86 # in case of threading problems. 88 thread = threading.Thread(target=self.RunSingle, args=[]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
decimal.py | 389 # is not available, use threading.currentThread() which is slower but will 391 # mock threading object with threading.local() returning the module namespace. 394 import threading namespace 401 threading = MockThreading() variable in class:Underflow 405 threading.local 411 if hasattr(threading.currentThread(), '__decimal_context__'): 412 del threading.currentThread().__decimal_context__ 419 threading.currentThread().__decimal_context__ = context 429 return threading.currentThread().__decimal_context_ [all...] |
pydoc.py | 2158 import threading namespace 2197 import threading namespace [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_decimal.py | 38 import threading namespace 40 threading = None variable 1220 import threading namespace 1222 threading = None variable in class:DecimalUseOfContextTest [all...] |
test_multiprocessing.py | 23 # import threading after _multiprocessing to raise a more relevant error 26 import threading namespace 636 self.assertRaises((ValueError, threading.ThreadError), lock.release) 737 p = threading.Thread(target=self.f, args=(cond, sleeping, woken)) 783 t = threading.Thread(target=self.f, 806 t = threading.Thread(target=self.f, args=(cond, sleeping, woken)) 852 # work with threading._Event objects. is_set == isSet 855 # Removed, threading.Event.wait() will return the value of the __flag [all...] |
test_socket.py | 39 import threading namespace 42 threading = None variable 121 self.server_ready = threading.Event() 122 self.client_ready = threading.Event() 123 self.done = threading.Event() 728 @unittest.skipUnless(thread, 'Threading required for this test.') 825 @unittest.skipUnless(thread, 'Threading required for this test.') 854 @unittest.skipUnless(thread, 'Threading required for this test.') 870 @unittest.skipUnless(thread, 'Threading required for this test.') 890 @unittest.skipUnless(thread, 'Threading required for this test.' [all...] |
test_io.py | 45 import threading namespace 47 threading = None variable 895 @unittest.skipUnless(threading, 'Threading required for this test.') 924 threads = [threading.Thread(target=f) for x in range(20)] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
decimal.py | 389 # is not available, use threading.currentThread() which is slower but will 391 # mock threading object with threading.local() returning the module namespace. 394 import threading namespace 401 threading = MockThreading() variable in class:Underflow 405 threading.local 411 if hasattr(threading.currentThread(), '__decimal_context__'): 412 del threading.currentThread().__decimal_context__ 419 threading.currentThread().__decimal_context__ = context 429 return threading.currentThread().__decimal_context_ [all...] |
pydoc.py | 2158 import threading namespace 2197 import threading namespace [all...] |