Home
last modified time | relevance | path

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

/third_party/protobuf/python/
Dstubout.py66 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
71 if not inspect.isclass(obj):
/third_party/mindspore/mindspore/ops/
Dop_selector.py113 elif not inspect.isclass(cls_or_optype):
/third_party/spirv-tools/test/tools/
Dspirv_test_framework.py196 if not inspect.isclass(cls):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dspirv_test_framework.py196 if not inspect.isclass(cls):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py196 if not inspect.isclass(cls):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/python/Lib/
Dinspect.py191 def isclass(object): function
223 if isclass(object) or ismethod(object) or isfunction(object):
237 if isclass(object) or ismethod(object) or isfunction(object):
447 if isclass(object):
659 if not isclass(cls):
664 if isclass(obj):
678 if (isclass(self) and
692 if (isclass(self) and
779 if isclass(object):
963 if isclass(object):
[all …]
Ddoctest.py967 elif inspect.isclass(object):
1011 if ((self._is_routine(val) or inspect.isclass(val)) and
1023 if not (inspect.isroutine(val) or inspect.isclass(val) or
1034 if inspect.isclass(obj) and self._recurse:
1041 if ((inspect.isroutine(val) or inspect.isclass(val) or
1100 if inspect.isclass(obj):
Dpydoc.py99 if not inspect.isclass(cls):
107 if (inspect.isclass(self) and
121 if (inspect.isclass(self) and
208 return not (inspect.ismodule(object) or inspect.isclass(object) or
473 if inspect.isclass(object): return self.docclass(*args)
778 for key, value in inspect.getmembers(object, inspect.isclass):
1220 for key, value in inspect.getmembers(object, inspect.isclass):
1702 if inspect.isclass(thing):
1763 inspect.isclass(object) or
/third_party/python/Python/
Dbltinmodule.c111 int isclass = 0; /* initialize to prevent gcc warning */ in builtin___build_class__() local
157 isclass = PyType_Check(meta); in builtin___build_class__()
174 isclass = 1; /* meta is really a class */ in builtin___build_class__()
177 if (isclass) { in builtin___build_class__()
210 isclass ? ((PyTypeObject *)meta)->tp_name : "<metaclass>", in builtin___build_class__()
/third_party/python/Lib/test/
Dtest_inspect.py91 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
245 self.istest(inspect.isclass, 'mod.StupidGit')
246 self.assertTrue(inspect.isclass(list))
251 self.assertFalse(inspect.isclass(CustomGetattr()))
389 classes = inspect.getmembers(mod, inspect.isclass)
/third_party/glib/glib/pcre/
Dpcre_compile.c770 int options, BOOL isclass) in check_escape() argument
880 if (isclass) break; in check_escape()
970 if (!isclass) in check_escape()
/third_party/python/Doc/library/
Dinspect.rst295 .. function:: isclass(object)
423 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`
/third_party/pcre2/pcre2/src/
Dpcre2_compile.c1501 int *errorcodeptr, uint32_t options, uint32_t extra_options, BOOL isclass, in PRIV()
1720 if (isclass) break; in PRIV()
1792 if (!isclass) in PRIV()
/third_party/python/Doc/reference/
Ddatamodel.rst2267 from inspect import isclass
2281 elif isclass(obj) and hasattr(obj, '__class_getitem__'):
/third_party/python/Misc/
DHISTORY15735 - Issue #1225107: inspect.isclass() returned True for instances with a custom