| /third_party/python/Include/ |
| D | setobject.h | 93 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 99 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 100 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 105 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
|
| D | object.h | 244 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *); 247 return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type); in _PyObject_TypeCheck()
|
| /third_party/python/Objects/ |
| D | typeobject.c | 397 if (!PyType_IsSubtype(type, cls)) { in type_mro_modified() 790 if (PyType_IsSubtype(base, type) || in type_set_bases() 1128 if (!PyType_IsSubtype(Py_TYPE(obj), type)) in type_call() 1526 PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b) in PyType_IsSubtype() function 2027 if (!PyType_IsSubtype(solid, solid_base(base))) { in mro_check() 2196 else if (PyType_IsSubtype(winner, candidate)) in best_base() 2198 else if (PyType_IsSubtype(candidate, winner)) { in best_base() 2487 if (PyType_IsSubtype(winner, tmptype)) in _PyType_CalculateMetaclass() 2489 if (PyType_IsSubtype(tmptype, winner)) { in _PyType_CalculateMetaclass() 4769 if (!(PyType_IsSubtype(newto, &PyModule_Type) && in object_set_class() [all …]
|
| D | abstract.c | 884 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in binary_op1() 992 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in ternary_op() 2606 retval = PyType_IsSubtype( in object_isinstance() 2707 return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls); in recursive_issubclass()
|
| D | setobject.c | 984 if (PyType_IsSubtype(type, &PySet_Type)) in make_new_set_basetype() 1083 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies() 1084 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
|
| D | tupleobject.c | 785 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
|
| D | floatobject.c | 1646 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
|
| D | descrobject.c | 115 if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) { in classmethod_get()
|
| D | object.c | 684 PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) && in do_richcompare()
|
| D | bytesobject.c | 2866 assert(PyType_IsSubtype(type, &PyBytes_Type)); in bytes_subtype_new()
|
| D | longobject.c | 5014 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new()
|
| D | unicodeobject.c | 15640 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
|
| /third_party/python/Doc/c-api/ |
| D | type.rst | 72 .. c:function:: int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
|
| /third_party/python/Doc/data/ |
| D | stable_abi.dat | 647 function,PyType_IsSubtype,3.2,
|
| D | refcounts.dat | 2321 PyType_IsSubtype:int::: 2322 PyType_IsSubtype:PyTypeObject*:a:0: 2323 PyType_IsSubtype:PyTypeObject*:b:0:
|
| /third_party/python/PC/ |
| D | python3dll.c | 600 EXPORT_FUNC(PyType_IsSubtype)
|
| /third_party/python/Python/ |
| D | errors.c | 283 return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc); in PyErr_GivenExceptionMatches()
|
| D | import.c | 1278 if (PyType_IsSubtype((PyTypeObject *) exception, in remove_importlib_frames()
|
| D | getargs.c | 1265 if (PyType_IsSubtype(Py_TYPE(arg), type)) in convertsimple()
|
| /third_party/python/Misc/ |
| D | stable_abi.txt | 1288 function PyType_IsSubtype
|
| /third_party/python/Modules/ |
| D | arraymodule.c | 1995 if (!PyType_IsSubtype(arraytype, state->ArrayType)) { in array__array_reconstructor_impl()
|
| D | _pickle.c | 4407 else if (PyType_IsSubtype(type, &PyType_Type)) { in save()
|
| /third_party/flutter/skia/third_party/externals/libwebp/swig/ |
| D | libwebp_python_wrap.c | 1657 if (PyType_IsSubtype(op->ob_type, target_tp)) in SwigPyObject_Check()
|
| /third_party/skia/third_party/externals/libwebp/swig/ |
| D | libwebp_python_wrap.c | 1670 if (PyType_IsSubtype(op->ob_type, target_tp)) in SwigPyObject_Check()
|
| /third_party/python/Modules/_decimal/ |
| D | _decimal.c | 2247 assert(PyType_IsSubtype(type, &PyDec_Type)); in PyDecType_FromFloatExact()
|