HomeSort by relevance Sort by last modified time
    Searched refs:weaklist (Results 1 - 8 of 8) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /external/python/cpython2/Lib/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /external/python/cpython3/Lib/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
31 weaklist = []
33 t = threading.Thread(target=target, args=(local, weaklist))
39 self.assertEqual(len(weaklist), n)
42 deadlist = [weak for weak in weaklist if weak() is None]
48 deadlist = [weak for weak in weaklist if weak() is None]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_threading_local.py 16 def target(local, weaklist):
19 weaklist.append(weakref.ref(weak))
30 weaklist = []
32 t = threading.Thread(target=target, args=(local, weaklist))
38 self.assertEqual(len(weaklist), n)
41 deadlist = [weak for weak in weaklist if weak() is None]
47 deadlist = [weak for weak in weaklist if weak() is None]
  /external/python/cpython3/Python/
import.c 341 PyObject *weaklist = NULL; local
377 weaklist = PyList_New(0);
378 if (weaklist == NULL)
382 if (weaklist != NULL) { \
386 PyList_Append(weaklist, tup); \
436 if (weaklist != NULL) {
438 n = PyList_GET_SIZE(weaklist);
440 PyObject *tup = PyList_GET_ITEM(weaklist, i);
455 Py_DECREF(weaklist);
    [all...]

Completed in 567 milliseconds