Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython3/Modules/
D_abc.c525 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl()
535 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl()
782 int r = PyObject_IsSubclass(subclass, scls); in _abc__abc_subclasscheck_impl()
861 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
/aosp_15_r20/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()
/aosp_15_r20/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)
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_api_dispatcher.cc49 int result = PyObject_IsSubclass(py_class, registered_type.get()); in IsRegisteredDispatchableType()
/aosp_15_r20/external/python/cpython3/Python/
D_warnings.c363 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
919 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Derrors.c342 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()
994 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
Dbltinmodule.c2675 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/external/python/cpython3/Include/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/external/python/cpython2/Include/
Dabstract.h1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_sugared_value.cpp1006 int is_tuple_class = PyObject_IsSubclass(obj.ptr(), tuple_type); in isNamedTupleClass()
1063 int ret = PyObject_IsSubclass(obj.ptr(), enum_type_obj.ptr()); in isEnumClass()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dtype.rst78 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst239 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dpython27.def176 "PyObject_IsSubclass"
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat1724 PyObject_IsSubclass:int:::
1725 PyObject_IsSubclass:PyObject*:derived:0:
1726 PyObject_IsSubclass:PyObject*:cls:0:
Dstable_abi.dat523 function,PyObject_IsSubclass,3.2,,
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c472 EXPORT_FUNC(PyObject_IsSubclass)
/aosp_15_r20/external/python/cpython2/Objects/
Dabstract.c3020 PyObject_IsSubclass(PyObject *derived, PyObject *cls) function
3034 r = PyObject_IsSubclass(derived, item);
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_arg_parser.cpp722 if (PyObject_IsSubclass( in append_overloaded_arg()
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A 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()

12