/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 | _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 | 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 | keyword.py | 51 iskeyword = frozenset(kwlist).__contains__
|
/external/python/cpython3/Lib/ |
D | keyword.py | 62 iskeyword = frozenset(kwlist).__contains__ 63 issoftkeyword = frozenset(softkwlist).__contains__
|
D | filecmp.py | 147 self.common = list(map(a.__getitem__, filter(b.__contains__, a))) 148 self.left_only = list(map(a.__getitem__, filterfalse(b.__contains__, a))) 149 self.right_only = list(map(b.__getitem__, filterfalse(a.__contains__, b))) 295 return list(filterfalse(skip.__contains__, flist))
|
D | _collections_abc.py | 393 def __contains__(self, x): member in Container 823 def __contains__(self, key): member in Mapping 877 def __contains__(self, key): member in KeysView 895 def __contains__(self, item): member in ItemsView 916 def __contains__(self, value): member in ValuesView 1044 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 | 236 def __contains__(self, key): member in TestChainMap.test_new_child.lowerdict 239 return dict.__contains__(self, key) 1066 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.Col 1082 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoIter 1085 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoSize 1098 def __contains__(self): return False member in TestOneTrickPonyABCs.test_Collection.SizeBlock 1102 def __contains__(self): return True member in TestOneTrickPonyABCs.test_Collection.IterBlock 1114 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.ColImpl 1117 __contains__ = None variable in TestOneTrickPonyABCs.test_Collection.NonCol 1381 def __contains__(self, item): member in WithSet [all …]
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 77 ``__contains__``, ``__iter__``, and ``__reversed__`` because the 123 :class:`Container` [1]_ ``__contains__`` 131 :class:`Collection` [1]_ :class:`Sized`, ``__contains__``, 135 :class:`Sequence` :class:`Reversible`, ``__getitem__``, ``__contains__``, ``_… 147 :class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__`… 151 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set… 157 :class:`Mapping` :class:`Collection` ``__getitem__``, ``__contains__``, ``k… 169 :class:`ItemsView` :class:`MappingView`, ``__contains__``, 171 :class:`KeysView` :class:`MappingView`, ``__contains__``, 173 :class:`ValuesView` :class:`MappingView`, ``__contains__``, ``_… [all …]
|
/external/python/setuptools/setuptools/_distutils/ |
D | _collections.py | 52 def __contains__(self, other): member in DictStack 53 return collections.abc.Mapping.__contains__(self, other)
|
/external/python/setuptools/setuptools/_vendor/importlib_metadata/ |
D | _text.py | 82 def __contains__(self, other): member in FoldedCase 83 return super().lower().__contains__(other.lower())
|
D | _itertools.py | 11 for element in filterfalse(seen.__contains__, iterable):
|
D | _meta.py | 12 def __contains__(self, item: str) -> bool: member in PackageMetadata
|
/external/python/cpython3/Lib/importlib/metadata/ |
D | _text.py | 82 def __contains__(self, other): member in FoldedCase 83 return super(FoldedCase, self).lower().__contains__(other.lower())
|
D | _itertools.py | 11 for element in filterfalse(seen.__contains__, iterable):
|
D | _meta.py | 11 def __contains__(self, item: str) -> bool: member in PackageMetadata
|
/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/openthread/third_party/mbedtls/repo/scripts/ |
D | config.py | 66 def __contains__(self, name): member in Config 76 return all(self.__contains__(name) for name in names) 80 return any(self.__contains__(name) for name in names)
|
/external/tensorflow/tensorflow/python/framework/ |
D | immutable_dict.py | 34 def __contains__(self, key): member in ImmutableDict
|
/external/mbedtls/scripts/ |
D | config.py | 71 def __contains__(self, name): member in Config 81 return all(self.__contains__(name) for name in names) 85 return any(self.__contains__(name) for name in names)
|
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/ |
D | _itertools.py | 27 for element in filterfalse(seen.__contains__, iterable):
|
/external/python/setuptools/setuptools/_vendor/importlib_resources/ |
D | _itertools.py | 27 for element in filterfalse(seen.__contains__, iterable):
|
/external/python/pyasn1/pyasn1/type/ |
D | opentype.py | 97 def __contains__(self, key): member in OpenType
|
/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)
|