/external/python/cpython3/Lib/test/ |
test_weakset.py | 2 from weakref import WeakSet 26 self.ab_weakset = WeakSet(self.ab_items) 27 self.abcde_weakset = WeakSet(self.abcde_items) 28 self.def_weakset = WeakSet(self.def_items) 30 self.s = WeakSet(self.items) 33 self.fs = WeakSet([self.obj]) 36 weaksetmethods = dir(WeakSet) 41 "WeakSet missing method " + method) 44 self.assertRaises(TypeError, WeakSet, [], 2) 65 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/external/python/cpython2/Lib/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet 47 self.ab_weakset = WeakSet(self.ab_items) 48 self.abcde_weakset = WeakSet(self.abcde_items) 49 self.def_weakset = WeakSet(self.def_items) 50 self.s = WeakSet(self.items) 53 self.fs = WeakSet([self.obj]) 56 weaksetmethods = dir(WeakSet) 61 "WeakSet missing method " + method) 64 self.assertRaises(TypeError, WeakSet, [], 2) 85 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet 47 self.ab_weakset = WeakSet(self.ab_items) 48 self.abcde_weakset = WeakSet(self.abcde_items) 49 self.def_weakset = WeakSet(self.def_items) 50 self.s = WeakSet(self.items) 53 self.fs = WeakSet([self.obj]) 56 weaksetmethods = dir(WeakSet) 61 "WeakSet missing method " + method) 64 self.assertRaises(TypeError, WeakSet, [], 2) 85 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet 47 self.ab_weakset = WeakSet(self.ab_items) 48 self.abcde_weakset = WeakSet(self.abcde_items) 49 self.def_weakset = WeakSet(self.def_items) 50 self.s = WeakSet(self.items) 53 self.fs = WeakSet([self.obj]) 56 weaksetmethods = dir(WeakSet) 61 "WeakSet missing method " + method) 64 self.assertRaises(TypeError, WeakSet, [], 2) 85 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet 47 self.ab_weakset = WeakSet(self.ab_items) 48 self.abcde_weakset = WeakSet(self.abcde_items) 49 self.def_weakset = WeakSet(self.def_items) 50 self.s = WeakSet(self.items) 53 self.fs = WeakSet([self.obj]) 56 weaksetmethods = dir(WeakSet) 61 "WeakSet missing method " + method) 64 self.assertRaises(TypeError, WeakSet, [], 2) 85 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet 47 self.ab_weakset = WeakSet(self.ab_items) 48 self.abcde_weakset = WeakSet(self.abcde_items) 49 self.def_weakset = WeakSet(self.def_items) 50 self.s = WeakSet(self.items) 53 self.fs = WeakSet([self.obj]) 56 weaksetmethods = dir(WeakSet) 61 "WeakSet missing method " + method) 64 self.assertRaises(TypeError, WeakSet, [], 2) 85 self.assertEqual(self.s, WeakSet(self.items) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
abc.py | 8 from _weakrefset import WeakSet
99 cls._abc_registry = WeakSet()
100 cls._abc_cache = WeakSet()
101 cls._abc_negative_cache = WeakSet()
156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module.
7 __all__ = ['WeakSet']
35 class WeakSet(object):
103 raise KeyError('pop from empty WeakSet')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
abc.py | 8 from _weakrefset import WeakSet
99 cls._abc_registry = WeakSet()
100 cls._abc_cache = WeakSet()
101 cls._abc_negative_cache = WeakSet()
156 cls._abc_negative_cache = WeakSet()
|
/external/python/cpython2/Lib/ |
abc.py | 8 from _weakrefset import WeakSet 99 cls._abc_registry = WeakSet() 100 cls._abc_cache = WeakSet() 101 cls._abc_negative_cache = WeakSet() 156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet(object): 103 raise KeyError('pop from empty WeakSet')
|
/external/python/cpython3/Lib/ |
abc.py | 6 from _weakrefset import WeakSet 145 cls._abc_registry = WeakSet() 146 cls._abc_cache = WeakSet() 147 cls._abc_negative_cache = WeakSet() 202 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet: 101 raise KeyError('pop from empty WeakSet')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
abc.py | 8 from _weakrefset import WeakSet 99 cls._abc_registry = WeakSet() 100 cls._abc_cache = WeakSet() 101 cls._abc_negative_cache = WeakSet() 156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet(object): 101 raise KeyError('pop from empty WeakSet')
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
abc.py | 8 from _weakrefset import WeakSet 99 cls._abc_registry = WeakSet() 100 cls._abc_cache = WeakSet() 101 cls._abc_negative_cache = WeakSet() 156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet(object): 101 raise KeyError('pop from empty WeakSet')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
abc.py | 8 from _weakrefset import WeakSet 99 cls._abc_registry = WeakSet() 100 cls._abc_cache = WeakSet() 101 cls._abc_negative_cache = WeakSet() 156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet(object): 101 raise KeyError('pop from empty WeakSet')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
abc.py | 8 from _weakrefset import WeakSet 99 cls._abc_registry = WeakSet() 100 cls._abc_cache = WeakSet() 101 cls._abc_negative_cache = WeakSet() 156 cls._abc_negative_cache = WeakSet()
|
_weakrefset.py | 1 # Access WeakSet through the weakref module. 7 __all__ = ['WeakSet'] 35 class WeakSet(object): 101 raise KeyError('pop from empty WeakSet')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_weakset.py | 3 from weakref import proxy, ref, WeakSet
40 self.s = WeakSet(self.items)
43 self.fs = WeakSet([self.obj])
46 weaksetmethods = dir(WeakSet)
51 "WeakSet missing method " + method)
54 self.assertRaises(TypeError, WeakSet, [], 2)
75 self.assertEqual(self.s, WeakSet(self.items))
76 self.assertEqual(type(u), WeakSet)
79 x = WeakSet(self.items + self.items2)
92 self.assertEqual(self.s, WeakSet(self.items)) [all...] |
/external/v8/src/js/ |
weak-collection.js | 18 var GlobalWeakSet = global.WeakSet; 116 // Harmony WeakSet 120 throw %make_type_error(kConstructorNotFunction, "WeakSet"); 140 'WeakSet.prototype.add', this); 150 'WeakSet.prototype.has', this); 162 'WeakSet.prototype.delete', this); 178 %AddNamedProperty(GlobalWeakSet.prototype, toStringTagSymbol, "WeakSet", 181 // Set up the non-enumerable functions on the WeakSet prototype object.
|
/external/python/cpython3/Lib/test/libregrtest/ |
refleak.py | 126 from weakref import WeakSet 150 obj._abc_registry = abcs.get(obj, WeakSet()).copy()
|
/external/python/cpython3/Lib/multiprocessing/ |
process.py | 20 from _weakrefset import WeakSet 327 _dangling = WeakSet()
|