Home
last modified time | relevance | path

Searched refs:__class__ (Results 1 – 25 of 882) sorted by relevance

12345678910>>...36

/external/llvm-project/polly/lib/External/isl/interface/
Disl.py46 if len(args) == 1 and args[0].__class__ is multi_aff:
50 if len(args) == 1 and args[0].__class__ is pw_multi_aff:
54 if len(args) == 1 and args[0].__class__ is union_pw_aff:
68 if not arg0.__class__ is union_pw_multi_aff:
84 if not arg0.__class__ is union_pw_multi_aff:
89 if not arg1.__class__ is union_pw_multi_aff:
98 if len(args) == 2 and args[1].__class__ is union_pw_multi_aff:
106 if not arg0.__class__ is union_pw_multi_aff:
116 if not arg0.__class__ is union_pw_multi_aff:
126 if not arg0.__class__ is union_pw_multi_aff:
[all …]
/external/python/cpython3/Lib/test/
Dtest_super.py47 nonlocal __class__
48 __class__ = TestSuper
92 __class__ = 413 variable in TestSuper.test_various___class___pathologies.X
95 self.assertEqual(x.__class__, 413)
97 x = __class__
99 __class__
108 global __class__
109 __class__ = 42 variable in TestSuper.test_various___class___pathologies.X
111 __class__
116 nonlocal __class__
[all …]
/external/python/cpython2/Lib/
DUserString.py38 def __getitem__(self, index): return self.__class__(self.data[index])
41 return self.__class__(self.data[start:end])
45 return self.__class__(self.data + other.data)
47 return self.__class__(self.data + other)
49 return self.__class__(self.data + str(other))
52 return self.__class__(other + self.data)
54 return self.__class__(str(other) + self.data)
56 return self.__class__(self.data*n)
59 return self.__class__(self.data % args)
62 def capitalize(self): return self.__class__(self.data.capitalize())
[all …]
DUserList.py36 return self.__class__(self.data[i:j])
50 return self.__class__(self.data + other.data)
52 return self.__class__(self.data + other)
54 return self.__class__(self.data + list(other))
57 return self.__class__(other.data + self.data)
59 return self.__class__(other + self.data)
61 return self.__class__(list(other) + self.data)
71 return self.__class__(self.data*n)
/external/fonttools/Lib/fontTools/misc/
DdictTools.py32 return "{0}({1})".format(self.__class__.__name__,
40 .format(self.__class__.__name__))
43 .format(self.__class__.__name__))
46 .format(self.__class__.__name__))
49 .format(self.__class__.__name__))
52 .format(self.__class__.__name__))
55 .format(self.__class__.__name__))
58 .format(self.__class__.__name__))
/external/python/cpython3/Lib/collections/
D__init__.py278 return '%s()' % (self.__class__.__name__,)
279 return '%s(%r)' % (self.__class__.__name__, list(self.items()))
286 return self.__class__, (), inst_dict or None, None, iter(self.items())
290 return self.__class__(self)
317 new = self.__class__(self)
324 new = self.__class__(other)
458 return self.__class__.__name__ + repr_fmt % self
712 return self.__class__(self)
715 return self.__class__, (dict(self),)
972 return self.__class__(self.maps[0].copy(), *self.maps[1:])
[all …]
/external/autotest/server/site_tests/firmware_Cr50PinWeaverServer/
Dfirmware_Cr50PinWeaverServer.py48 self.__class__.__name__)
71 self.__class__.__name__)
86 self.__class__.__name__)
90 self.__class__.__name__)
103 self.__class__.__name__)
106 self.__class__.__name__)
114 self.__class__.__name__)
125 self.__class__.__name__)
133 self.__class__.__name__)
/external/llvm-project/lldb/bindings/interface/
DSBTypeCategory.i162 … self.formatters_access_class (self,self.__class__.GetNumFormats,self.__class__.GetFormatAtIndex,s…
173 …self.formatters_access_class (self,self.__class__.GetNumSummaries,self.__class__.GetSummaryAtIndex…
184 …lf.formatters_access_class (self,self.__class__.GetNumSynthetics,self.__class__.GetSyntheticAtInde…
195 … self.formatters_access_class (self,self.__class__.GetNumFilters,self.__class__.GetFilterAtIndex,s…
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization_test.py55 self.assertEqual(new_layer.bias_regularizer.__class__,
58 self.assertEqual(new_layer.kernel_initializer.__class__,
61 self.assertEqual(new_layer.kernel_initializer.__class__,
90 self.assertEqual(new_layer.bias_regularizer.__class__,
93 self.assertEqual(new_layer.kernel_initializer.__class__,
96 self.assertEqual(new_layer.kernel_initializer.__class__,
98 self.assertEqual(new_layer.units.__class__, SerializableInt)
112 self.assertEqual(new_layer.beta_initializer.__class__,
116 self.assertEqual(new_layer.beta_initializer.__class__,
118 self.assertEqual(new_layer.gamma_regularizer.__class__,
[all …]
/external/libchrome/third_party/markupsafe/
D__init__.py80 return self.__class__(super(Markup, self).__add__(self.escape(other)))
90 return self.__class__(text_type.__mul__(self, num))
99 return self.__class__(text_type.__mod__(self, arg))
103 self.__class__.__name__,
108 return self.__class__(text_type.join(self, map(self.escape, seq)))
112 return list(map(self.__class__, text_type.split(self, *args, **kwargs)))
116 return list(map(self.__class__, text_type.rsplit(self, *args, **kwargs)))
120 return list(map(self.__class__, text_type.splitlines(self, *args, **kwargs)))
163 if rv.__class__ is not cls:
172 return self.__class__(orig(self, *args, **kwargs))
[all …]
/external/autotest/client/common_lib/
Dcontrol_data.py322 assert (expr.__class__ == ast.Str)
324 assert (expr.s.__class__ in (str, int, float, unicode))
326 assert (expr.s.__class__ in (str, int, float))
331 assert (expr.__class__ == ast.Dict)
332 assert (expr.keys.__class__ == list)
346 assert (expr.__class__ == ast.List)
357 assert (expr.__class__ == ast.Name)
363 if expr.__class__ == ast.Str:
365 if expr.__class__ == ast.Name:
367 if expr.__class__ == ast.Dict:
[all …]
/external/python/cpython3/Lib/
Denum.py323 type(member).__qualname__, cls.__class__.__qualname__))
404 metacls = cls.__class__
635 self.__class__.__name__, self._name_, self._value_)
638 return "%s.%s" % (self.__class__.__name__, self._name_)
643 for cls in self.__class__.mro()
669 return self.__class__, (self._value_, )
749 if not isinstance(other, self.__class__):
752 type(other).__qualname__, self.__class__.__qualname__))
756 cls = self.__class__
767 cls = self.__class__
[all …]
Doperator.py258 return '%s.%s(%s)' % (self.__class__.__module__,
259 self.__class__.__qualname__,
263 return self.__class__, self._attrs
289 return '%s.%s(%s)' % (self.__class__.__module__,
290 self.__class__.__name__,
294 return self.__class__, self._items
319 return '%s.%s(%s)' % (self.__class__.__module__,
320 self.__class__.__name__,
325 return self.__class__, (self._name,) + self._args
328 return partial(self.__class__, self._name, **self._kwargs), self._args
/external/python/markupsafe/src/markupsafe/
D__init__.py60 return self.__class__(super().__add__(self.escape(other)))
70 return self.__class__(super().__mul__(num))
80 return self.__class__(super().__mod__(arg))
86 return self.__class__(super().join(map(self.escape, seq)))
91 return list(map(self.__class__, super().split(*args, **kwargs)))
96 return list(map(self.__class__, super().rsplit(*args, **kwargs)))
101 return list(map(self.__class__, super().splitlines(*args, **kwargs)))
132 if rv.__class__ is not cls:
142 return self.__class__(orig(self, *args, **kwargs))
171 return tuple(map(self.__class__, super().partition(self.escape(sep))))
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DBitmapGlyphMetrics.py34 writer.begintag(self.__class__.__name__)
36 for metricName in sstruct.getformat(self.__class__.binaryFormat)[1]:
39 writer.endtag(self.__class__.__name__)
43 metricNames = set(sstruct.getformat(self.__class__.binaryFormat)[1])
52 log.warning("unknown name '%s' being ignored in %s.", name, self.__class__.__name__)
/external/python/asn1crypto/tests/
Dtest_algos.py29 self.assertEqual(core.Null, sha256_rsa['parameters'].__class__)
33 self.assertEqual(core.Null, sha1['parameters'].__class__)
40 self.assertEqual(scheme['parameters'].__class__, algos.CcmParams)
41 self.assertEqual(scheme['parameters']['aes_nonce'].__class__, core.OctetString)
43 self.assertEqual(scheme['parameters']['aes_icvlen'].__class__, core.Integer)
/external/python/cpython2/Lib/compiler/
Dvisitor.py44 klass = node.__class__
76 meth = self._cache.get(node.__class__, None)
77 className = node.__class__.__name__
80 self._cache[node.__class__] = meth
86 klass = node.__class__
110 print node.__class__
/external/python/enum34/enum/
D__init__.py441 metacls = cls.__class__
668 self.__class__.__name__, self._name_, self._value_)
673 return "%s.%s" % (self.__class__.__name__, self._name_)
681 for cls in self.__class__.mro()
713 if type(other) is self.__class__:
718 …raise TypeError("unorderable types: %s() and %s()" % (self.__class__.__name__, other.__class__.__n…
725 …raise TypeError("unorderable types: %s() <= %s()" % (self.__class__.__name__, other.__class__.__na…
730 …raise TypeError("unorderable types: %s() < %s()" % (self.__class__.__name__, other.__class__.__nam…
735 …raise TypeError("unorderable types: %s() >= %s()" % (self.__class__.__name__, other.__class__.__na…
740 …raise TypeError("unorderable types: %s() > %s()" % (self.__class__.__name__, other.__class__.__nam…
[all …]
/external/python/pyasn1/pyasn1/type/
Dtag.py70 self.__class__.__name__, representation)
109 return self.__class__(self.__tagClass & otherTag.tagClass,
114 return self.__class__(self.__tagClass | otherTag.tagClass,
204 return '<%s object, %s>' % (self.__class__.__name__, representation)
207 return self.__class__(self.__baseTag, *self.__superTags + (superTag,))
210 return self.__class__(self.__baseTag, *(superTag,) + self.__superTags)
213 if i.__class__ is slice:
214 return self.__class__(self.__baseTag, *self.__superTags[i])
/external/tensorflow/tensorflow/python/keras/utils/
Dversion_utils_test.py56 self._check_model_class(model.__class__.__bases__[0])
67 model_class = model.__class__.__bases__[0].__bases__[0]
84 model_class = model.__class__.__bases__[0].__bases__[0]
90 model_class = model.__class__.__bases__[0].__bases__[0]
102 model_class = model.__class__.__bases__[0]
130 model_class = model.__class__.__bases__[0].__bases__[0]
152 model_class = model.__class__.__bases__[0].__bases__[0]
169 bases = model.__class__.__bases__
/external/llvm-project/lldb/bindings/python/
Dpython-extensions.swig7 return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
13 return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
23 return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
29 return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
54 return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
60 return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
70 return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
76 return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
86 return getattr(_lldb,self.__class__.__name__+"___eq__")(self, rhs)
92 return getattr(_lldb,self.__class__.__name__+"___ne__")(self, rhs)
[all …]
/external/python/cpython3/Tools/peg_generator/pegen/
Dast_dump.py19 if any(cls.__name__ == "AST" for cls in node.__class__.__mro__):
51 return "%s(%s)" % (node.__class__.__name__, ", ".join(args)), not args
52 return "%s(%s%s)" % (node.__class__.__name__, prefix, sep.join(args)), False
59 if all(cls.__name__ != "AST" for cls in node.__class__.__mro__):
60 raise TypeError("expected AST, got %r" % node.__class__.__name__)
/external/python/setuptools/setuptools/_vendor/packaging/
D_structures.py22 return isinstance(other, self.__class__)
25 return not isinstance(other, self.__class__)
54 return isinstance(other, self.__class__)
57 return not isinstance(other, self.__class__)
/external/python/setuptools/pkg_resources/_vendor/packaging/
D_structures.py22 return isinstance(other, self.__class__)
25 return not isinstance(other, self.__class__)
54 return isinstance(other, self.__class__)
57 return not isinstance(other, self.__class__)
/external/python/cpython2/Lib/test/
Dtest_descr.py422 self.assertIs(d.__class__, dict)
501 self.assertEqual(d.__class__, D)
948 self.assertEqual(a.__class__, object)
1583 self.assertEqual(a.__class__, C)
1588 self.assertEqual(b.__class__, D)
1660 self.assertEqual(b.__class__, B)
1668 self.assertEqual(b.__class__, B)
1837 class DictSub(checker.__class__, dict):
2055 a.__class__.__cmp__(a, b)
2060 a.__class__, a, b))
[all …]

12345678910>>...36