/external/python/cpython3/Lib/test/ |
D | test_call.py | 37 self.assertRaises(TypeError, {}.__contains__) 40 {}.__contains__(0) 43 self.assertRaises(TypeError, {}.__contains__, 0, 1) 47 {}.__contains__(*()) 52 {}.__contains__(*(0,)) 56 {}.__contains__(*(1, 2)) 63 self.assertRaises(TypeError, {}.__contains__, x=2) 66 self.assertRaises(TypeError, {}.__contains__, x=2, y=2) 153 self.assertRaisesRegex(TypeError, msg, {}.__contains__) 157 self.assertRaisesRegex(TypeError, msg, {}.__contains__, 0, 1) [all …]
|
D | test_contains.py | 10 def __contains__(self, el): member in myset 90 def __contains__(self, other): member in TestContains.test_block_fallback.ByContains 107 __contains__ = None variable in TestContains.test_block_fallback.BlockContains
|
D | test_collections.py | 196 def __contains__(self, key): member in TestChainMap.test_new_child.lowerdict 199 return dict.__contains__(self, key) 901 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.Col 917 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoIter 920 def __contains__(self, item): return False member in TestOneTrickPonyABCs.test_Collection.ColNoSize 933 def __contains__(self): return False member in TestOneTrickPonyABCs.test_Collection.SizeBlock 937 def __contains__(self): return True member in TestOneTrickPonyABCs.test_Collection.IterBlock 949 def __contains__(self, item): member in TestOneTrickPonyABCs.test_Collection.ColImpl 952 __contains__ = None variable in TestOneTrickPonyABCs.test_Collection.NonCol 1216 def __contains__(self, item): member in WithSet [all …]
|
D | test_dictviews.py | 247 self.assertRaises(Exc, d.__contains__, k2) 248 self.assertRaises(Exc, d.keys().__contains__, k2) 249 self.assertRaises(Exc, d.items().__contains__, (k2, v1)) 250 self.assertRaises(Exc, d.items().__contains__, (k1, v2))
|
/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__
|
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… 105 ABCs for classes that provide respectively the methods :meth:`__contains__`, [all …]
|
/external/python/cpython3/Lib/ |
D | filecmp.py | 143 self.common = list(map(a.__getitem__, filter(b.__contains__, a))) 144 self.left_only = list(map(a.__getitem__, filterfalse(b.__contains__, a))) 145 self.right_only = list(map(b.__getitem__, filterfalse(a.__contains__, b))) 287 return list(filterfalse(skip.__contains__, flist))
|
D | _collections_abc.py | 379 def __contains__(self, x): member in Container 664 def __contains__(self, key): member in Mapping 716 def __contains__(self, key): member in KeysView 733 def __contains__(self, item): member in ItemsView 753 def __contains__(self, value): member in ValuesView 889 def __contains__(self, value): member in Sequence
|
D | keyword.py | 55 iskeyword = frozenset(kwlist).__contains__
|
/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 | 68 def __contains__(self, key): member in OpenType
|
D | tagmap.py | 40 def __contains__(self, tagSet): member in TagMap
|
/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/protobuf/python/google/protobuf/internal/ |
D | containers.py | 77 def __contains__(self, key): member in Mapping 466 def __contains__(self, item): member in ScalarMap 576 def __contains__(self, item): member in MessageMap
|
/external/python/cpython2/Lib/plat-riscos/ |
D | riscosenviron.py | 35 def __contains__(self, key): member in _Environ
|
/external/bcc/src/cc/frontends/p4/compiler/ |
D | topoSorting.py | 47 def __contains__(self, node): member in Graph
|
/external/python/cpython2/Lib/plat-mac/ |
D | ic.py | 183 return self.__contains__(key) 185 def __contains__(self, key): member in IC
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | elements.py | 88 def __contains__(self, p): member in Circle
|
/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/Doc/library/ |
D | collections.rst | 900 :class:`Container` ``__contains__`` 907 :class:`Sequence` :class:`Sized`, ``__getitem__``, ``__contains__``, ``__ite… 917 :class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, `… 921 :class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` me… 927 :class:`Mapping` :class:`Sized`, ``__getitem__``, ``__contains__``, ``keys`… 939 :class:`ItemsView` :class:`MappingView`, ``__contains__``, 941 :class:`KeysView` :class:`MappingView`, ``__contains__``, 943 :class:`ValuesView` :class:`MappingView` ``__contains__``, ``__ite… 952 ABCs for classes that provide respectively the methods :meth:`__contains__`, 998 abstract methods: :meth:`__contains__`, :meth:`__iter__`, and :meth:`__len__`. [all …]
|