/external/python/cpython3/Include/ |
D | setobject.h | 26 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 32 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 33 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 38 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
|
D | object.h | 539 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *); 542 return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); in PyObject_TypeCheck()
|
/external/pytorch/torch/csrc/ |
D | copy_utils.h | 27 PyType_IsSubtype(Py_TYPE(src), i.srcType)) { in tryTHPCopy()
|
D | Storage.cpp | 41 PyType_IsSubtype(type, &THPStorageType), in THPStorage_NewWithStorage() 58 obj_type == type || PyType_IsSubtype(obj_type, type), in THPStorage_NewWithStorage()
|
/external/python/cpython3/Objects/ |
D | abstract.c | 954 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in binary_op1() 1062 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in ternary_op() 2648 retval = PyType_IsSubtype( in object_isinstance() 2751 return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls); in recursive_issubclass()
|
D | setobject.c | 1092 if (PyType_IsSubtype(type, &PySet_Type)) in make_new_set_basetype() 1194 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies() 1195 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
|
D | typeobject.c | 2477 PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b) in PyType_IsSubtype() function 3157 else if (PyType_IsSubtype(winner, candidate)) in best_base() 3159 else if (PyType_IsSubtype(candidate, winner)) { in best_base() 3438 if (PyType_IsSubtype(winner, tmptype)) in _PyType_CalculateMetaclass() 3440 if (PyType_IsSubtype(tmptype, winner)) { in _PyType_CalculateMetaclass() 6433 if (!(PyType_IsSubtype(newto, &PyModule_Type) && in object_set_class_world_stopped() 6434 PyType_IsSubtype(oldto, &PyModule_Type)) && in object_set_class_world_stopped() 9039 if (!PyType_IsSubtype(subtype, type)) { in tp_new_wrapper() 9167 if (do_other && PyType_IsSubtype(Py_TYPE(other), Py_TYPE(self))) { \ 11223 if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) { in supercheck() [all …]
|
D | tupleobject.c | 726 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
|
D | object.c | 971 PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) && in do_richcompare() 1729 assert(!PyType_IsSubtype(tp, &PyType_Type)); in _PyObject_GenericSetAttrWithDict()
|
D | floatobject.c | 1670 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
|
D | descrobject.c | 120 if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) { in classmethod_get()
|
D | bytesobject.c | 2986 assert(PyType_IsSubtype(type, &PyBytes_Type)); in bytes_subtype_new()
|
D | longobject.c | 5914 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 785 if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) { in _abc__abc_subclasscheck_impl()
|
D | arraymodule.c | 2066 if (!PyType_IsSubtype(arraytype, state->ArrayType)) { in array__array_reconstructor_impl()
|
/external/pytorch/torch/csrc/autograd/ |
D | python_variable.cpp | 2012 PyType_IsSubtype(type, &THPVariableType), in THPVariable_NewWithVar() 2068 obj_type == type || PyType_IsSubtype(obj_type, type), in THPVariable_NewWithVar()
|
/external/python/cpython3/PC/ |
D | python3dll.c | 654 EXPORT_FUNC(PyType_IsSubtype)
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 694 func,PyType_IsSubtype,3.2,,
|
D | refcounts.dat | 2385 PyType_IsSubtype:int::: 2386 PyType_IsSubtype:PyTypeObject*:a:0: 2387 PyType_IsSubtype:PyTypeObject*:b:0:
|
/external/python/cpython3/Python/ |
D | pythonrun.c | 289 if (PyType_IsSubtype(Py_TYPE(exc), in PyRun_InteractiveOneObjectEx()
|
D | errors.c | 339 return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc); in PyErr_GivenExceptionMatches()
|
D | getargs.c | 1146 if (PyType_IsSubtype(Py_TYPE(arg), type)) in convertsimple()
|
D | import.c | 3449 if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) { in remove_importlib_frames()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 139 .. c:function:: int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
|
/external/python/cpython3/Misc/ |
D | stable_abi.toml | 1397 [function.PyType_IsSubtype]
|