/external/python/cpython2/Lib/ |
D | sets.py | 216 common = ifilter(big._data.__contains__, little) 241 for elt in ifilterfalse(otherdata.__contains__, selfdata): 243 for elt in ifilterfalse(selfdata.__contains__, otherdata): 268 for elt in ifilterfalse(otherdata.__contains__, self): 274 def __contains__(self, element): member in BaseSet 294 for elt in ifilterfalse(other._data.__contains__, self): 303 for elt in ifilterfalse(self._data.__contains__, other): 484 for elt in ifilter(data.__contains__, other):
|
D | filecmp.py | 134 self.common = map(a.__getitem__, ifilter(b.__contains__, a)) 135 self.left_only = map(a.__getitem__, ifilterfalse(b.__contains__, a)) 136 self.right_only = map(b.__getitem__, ifilterfalse(a.__contains__, b)) 278 return list(ifilterfalse(skip.__contains__, flist))
|
D | _abcoll.py | 110 def __contains__(self, x): member in Container 386 def __contains__(self, key): member in Mapping 449 def __contains__(self, key): member in KeysView 464 def __contains__(self, item): member in ItemsView 481 def __contains__(self, value): member in ValuesView 611 def __contains__(self, value): member in Sequence
|
D | keyword.py | 51 iskeyword = frozenset(kwlist).__contains__
|
D | UserDict.py | 103 def __contains__(self, key): member in UserDict 138 def __contains__(self, key): member in DictMixin
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 40 :class:`Container` ``__contains__`` 48 :class:`Collection` :class:`Sized`, ``__contains__``, 52 :class:`Sequence` :class:`Reversible`, ``__getitem__``, ``__contains__``, ``__ite… 64 :class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__``, `… 68 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` me… 74 :class:`Mapping` :class:`Collection` ``__getitem__``, ``__contains__``, ``keys`… 86 :class:`ItemsView` :class:`MappingView`, ``__contains__``, 88 :class:`KeysView` :class:`MappingView`, ``__contains__``, 90 :class:`ValuesView` :class:`MappingView`, ``__contains__``, ``__ite… 102 ABC for classes that provide the :meth:`__contains__` method. [all …]
|
/external/python/cpython3/Lib/ |
D | keyword.py | 61 iskeyword = frozenset(kwlist).__contains__ 62 issoftkeyword = frozenset(softkwlist).__contains__
|
D | filecmp.py | 144 self.common = list(map(a.__getitem__, filter(b.__contains__, a))) 145 self.left_only = list(map(a.__getitem__, filterfalse(b.__contains__, a))) 146 self.right_only = list(map(b.__getitem__, filterfalse(a.__contains__, b))) 291 return list(filterfalse(skip.__contains__, flist))
|
D | _collections_abc.py | 389 def __contains__(self, x): member in Container 682 def __contains__(self, key): member in Mapping 737 def __contains__(self, key): member in KeysView 755 def __contains__(self, item): member in ItemsView 776 def __contains__(self, value): member in ValuesView 905 def __contains__(self, value): member in Sequence
|
/external/python/cpython3/Lib/test/ |
D | test_contains.py | 11 def __contains__(self, el): member in myset 85 def __contains__(self, other): member in TestContains.test_block_fallback.ByContains 102 __contains__ = None variable in TestContains.test_block_fallback.BlockContains
|
D | test_collections.py | 235 def __contains__(self, key): member in TestChainMap.test_new_child.lowerdict 238 return dict.__contains__(self, key) 1050 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.Col 1066 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoIter 1069 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoSize 1082 def __contains__(self): return False member in TestOneTrickPonyABCs.test_Collection.SizeBlock 1086 def __contains__(self): return True member in TestOneTrickPonyABCs.test_Collection.IterBlock 1098 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.ColImpl 1101 __contains__ = None variable in TestOneTrickPonyABCs.test_Collection.NonCol 1365 def __contains__(self, item): member in WithSet [all …]
|
D | test_dictviews.py | 293 self.assertRaises(Exc, d.__contains__, k2) 294 self.assertRaises(Exc, d.keys().__contains__, k2) 295 self.assertRaises(Exc, d.items().__contains__, (k2, v1)) 296 self.assertRaises(Exc, d.items().__contains__, (k1, v2))
|
D | test_call.py | 34 self.assertRaisesRegex(TypeError, msg, {}.__contains__) 38 self.assertRaisesRegex(TypeError, msg, {}.__contains__, 0, 1) 65 self.assertRaisesRegex(TypeError, msg, {}.__contains__, x=2) 69 self.assertRaisesRegex(TypeError, msg, {}.__contains__, x=2, y=2)
|
/external/python/cpython3/PC/layout/support/ |
D | filesets.py | 27 def __contains__(self, f): member in FileStemSet 61 def __contains__(self, f): member in FileSuffixSet
|
/external/python/pyasn1/pyasn1/type/ |
D | opentype.py | 97 def __contains__(self, key): member in OpenType
|
D | tagmap.py | 40 def __contains__(self, tagSet): member in TagMap
|
/external/llvm-project/lldb/examples/customization/import-python/ |
D | importcmd.py | 8 return sys.path.__contains__(dirname)
|
/external/python/cpython2/Lib/plat-riscos/ |
D | riscosenviron.py | 35 def __contains__(self, key): member in _Environ
|
/external/python/cpython2/Lib/test/ |
D | test_collections.py | 503 def __contains__(self, item): member in WithSet 524 def __contains__(self, x): member in TestCollectionABCs.test_Set.MySet 536 def __contains__(self, x): member in TestCollectionABCs.test_hash_Set.OneTwoThreeSet 569 def __contains__(self,v): member in TestCollectionABCs.test_issue_4920.MySet 607 def __contains__(self, x): member in TestCollectionABCs.test_issue16373.MyComparableSet 614 def __contains__(self, x): member in TestCollectionABCs.test_issue16373.MyNonComparableSet 650 def __contains__(self, elem): member in TestCollectionABCs.test_Set_interoperability_with_real_sets.ListSet 869 self.assertEqual(c.__contains__('c'), True) 870 self.assertEqual(c.__contains__('z'), False)
|
/external/bcc/src/cc/frontends/p4/compiler/ |
D | topoSorting.py | 47 def __contains__(self, node): member in Graph
|
/external/python/cpython2/Lib/compiler/ |
D | misc.py | 16 def __contains__(self, elt): member in Set
|
/external/toolchain-utils/bestflags/ |
D | flags.py | 183 def __contains__(self, flag_spec): member in FlagSet
|
/external/python/cpython2/Lib/plat-mac/ |
D | ic.py | 183 return self.__contains__(key) 185 def __contains__(self, key): member in IC
|
/external/python/uritemplates/uritemplate/ |
D | orderedset.py | 36 def __contains__(self, key): member in OrderedSet
|
/external/python/cpython2/Lib/wsgiref/ |
D | headers.py | 71 __contains__ = has_key variable in Headers
|