Home
last modified time | relevance | path

Searched refs:isclass (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dclass_util.py8 assert inspect.isclass(parent_cls), '%s should be a class' % parent_cls
9 assert inspect.isclass(child_cls), '%s should be a class' % child_cls
Ddiscover.py138 if not inspect.isclass(obj):
171 assert inspect.isclass(cls)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py63 if not (tf_inspect.isclass(f) and issubclass(f, tuple)):
251 if tf_inspect.isclass(m_self):
283 owner_types = tuple(o if tf_inspect.isclass(o) else type(o) for o in owners)
285 if tf_inspect.isclass(o) and issubclass(o, tuple(owner_types)):
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py33 if not tf_inspect.isclass(root) and not tf_inspect.ismodule(root):
40 if tf_inspect.isclass(root) and issubclass(root, enum.Enum):
/external/protobuf/python/
Dstubout.py63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
68 if not inspect.isclass(obj):
/external/tensorflow/tensorflow/tools/docs/
Ddoc_generator_visitor.py148 if not (tf_inspect.ismodule(parent) or tf_inspect.isclass(parent)):
187 if tf_inspect.isclass(container):
Dparser.py54 if tf_inspect.isclass(index[parent_name]):
139 if (tf_inspect.isclass(py_object) or tf_inspect.ismethod(py_object) or
217 tf_inspect.isclass(obj) or tf_inspect.ismodule(obj) or
1244 elif tf_inspect.isclass(child):
1440 elif tf_inspect.isclass(member):
1533 elif tf_inspect.isclass(py_object):
1719 tf_inspect.isclass(py_object)):
1726 if parent_name in index and tf_inspect.isclass(index[parent_name]):
/external/tensorflow/tensorflow/python/platform/
Dgoogletest.py185 (not tf_inspect.isclass(obj) and attr_name in obj.__dict__)):
189 if not tf_inspect.isclass(obj):
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py353 def isclass(object): # pylint: disable=redefined-builtin function
355 return _inspect.isclass(tf_decorator.unwrap(object)[1])
/external/python/cpython2/Lib/test/
Dtest_inspect.py50 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
108 self.istest(inspect.isclass, 'mod.StupidGit')
109 self.assertTrue(inspect.isclass(list))
112 self.assertTrue(inspect.isclass(newstyle))
117 self.assertFalse(inspect.isclass(CustomGetattr()))
222 classes = inspect.getmembers(mod, inspect.isclass)
/external/python/cpython3/Lib/
Dinspect.py72 def isclass(object): function
104 if isclass(object) or ismethod(object) or isfunction(object):
118 if isclass(object) or ismethod(object) or isfunction(object):
319 if isclass(object):
531 if not isclass(cls):
536 if isclass(obj):
550 if (isclass(self) and
564 if (isclass(self) and
648 if isclass(object):
791 if isclass(object):
[all …]
Ddoctest.py959 elif inspect.isclass(object):
992 or inspect.isclass(val)) and
1004 if not (inspect.isroutine(val) or inspect.isclass(val) or
1015 if inspect.isclass(obj) and self._recurse:
1024 if ((inspect.isroutine(val) or inspect.isclass(val) or
1082 if inspect.isclass(obj):
/external/deqp-deps/SPIRV-Tools/test/tools/
Dspirv_test_framework.py177 if not inspect.isclass(cls):
367 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py177 if not inspect.isclass(cls):
367 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/external/tensorflow/tensorflow/tools/compatibility/update/
Dgenerate_v2_reorders_map.py89 if tf_inspect.isclass(attr):
/external/python/cpython2/Lib/
Dinspect.py59 def isclass(object): function
96 and not isclass(object))
403 if isclass(object):
542 if isclass(object):
Ddoctest.py945 elif inspect.isclass(object):
977 if ((inspect.isfunction(val) or inspect.isclass(val)) and
989 if not (inspect.isfunction(val) or inspect.isclass(val) or
1001 if inspect.isclass(obj) and self._recurse:
1010 if ((inspect.isfunction(val) or inspect.isclass(val) or
1068 if inspect.isclass(obj):
/external/python/setuptools/pkg_resources/tests/
Dtest_working_set.py478 if inspect.isclass(resolved_dists_or_exception):
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py247 if tf_inspect.isclass(f):
295 elif tf_inspect.isclass(f):
Dconversion.py146 if tf_inspect.isclass(o) and len(o.__bases__) > 1:
188 if tf_inspect.isclass(o):
/external/tensorflow/tensorflow/tools/api/lib/
Dpython_object_to_proto_visitor.py227 elif tf_inspect.isclass(parent):
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py962 if tf_inspect.isclass(f):
1088 if tf_inspect.isclass(f):
1139 if tf_inspect.isclass(f):
1185 if tf_inspect.isclass(f):
1218 if tf_inspect.isclass(f):
1251 if tf_inspect.isclass(f):
/external/python/setuptools/setuptools/tests/
Dtest_wheel.py66 if inspect.isclass(info):
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_info.py182 if (tf_inspect.isclass(func_obj) and
/external/python/cpython3/Python/
Dbltinmodule.c133 int isclass = 0; /* initialize to prevent gcc warning */ in builtin___build_class__() local
183 isclass = PyType_Check(meta); in builtin___build_class__()
197 isclass = 1; /* meta is really a class */ in builtin___build_class__()
200 if (isclass) { in builtin___build_class__()
239 isclass ? ((PyTypeObject *)meta)->tp_name : "<metaclass>", in builtin___build_class__()

12