Home
last modified time | relevance | path

Searched refs:PyObject_IsSubclass (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython3/Modules/
D_abc.c528 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl()
538 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl()
785 int r = PyObject_IsSubclass(subclass, scls); in _abc__abc_subclasscheck_impl()
864 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
/external/python/cpython2/Doc/c-api/
Dtype.rst76 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst208 *A*, if *A* is *B*, :c:func:`PyObject_IsSubclass` returns true. If *A* and *B*
214 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
/external/python/cpython2/Python/
Derrors.c119 res = PyObject_IsSubclass(err, exc); in PyErr_GivenExceptionMatches()
178 if (!inclass || !PyObject_IsSubclass(inclass, type)) { in PyErr_NormalizeException()
D_warnings.c153 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
581 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Dbltinmodule.c2499 retval = PyObject_IsSubclass(derived, cls); in builtin_issubclass()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc49 int result = PyObject_IsSubclass(py_class, registered_type.get()); in IsRegisteredDispatchableType()
/external/python/cpython3/Include/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/external/python/cpython3/Python/
D_warnings.c350 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
927 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Derrors.c349 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()
975 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
Dbltinmodule.c2629 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
/external/python/cpython3/Objects/
Dunionobject.c106 int res = PyObject_IsSubclass(instance, arg); in union_subclasscheck()
Dabstract.c2780 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
/external/python/cpython2/Include/
Dabstract.h1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/external/python/cpython3/Doc/c-api/
Dtype.rst78 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst212 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
/external/python/cpython2/PC/os2emx/
Dpython27.def176 "PyObject_IsSubclass"
/external/python/cpython3/PC/
Dpython3dll.c462 EXPORT_FUNC(PyObject_IsSubclass)
/external/python/cpython3/Doc/data/
Dstable_abi.dat506 function,PyObject_IsSubclass,3.2,
Drefcounts.dat1724 PyObject_IsSubclass:int:::
1725 PyObject_IsSubclass:PyObject*:derived:0:
1726 PyObject_IsSubclass:PyObject*:cls:0:
/external/python/cpython2/Objects/
Dabstract.c3020 PyObject_IsSubclass(PyObject *derived, PyObject *cls) function
3034 r = PyObject_IsSubclass(derived, item);
Dclassobject.c2619 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth)); in instancemethod_descr_get()
/external/python/cpython3/Misc/
Dstable_abi.txt1093 function PyObject_IsSubclass
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc927 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterExceptionClass()
944 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterFallbackExceptionClass()
/external/python/cpython3/Tools/c-analyzer/
DTODO335 Objects/abstract.c:PyObject_IsSubclass():PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__)

12