/external/python/cpython2/Include/ |
D | setobject.h | 74 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 75 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 78 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type)) 81 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
|
D | object.h | 437 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *); 439 (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
|
/external/python/cpython3/Include/ |
D | setobject.h | 96 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 97 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 100 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type)) 103 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
|
D | object.h | 485 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *); 487 (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 151 !PyType_IsSubtype(type, cls)) { in type_mro_modified() 481 if (PyType_IsSubtype((PyTypeObject*)ob, type)) { in type_set_bases() 760 if (!PyType_IsSubtype(obj->ob_type, type)) in type_call() 1166 PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b) in PyType_IsSubtype() function 1699 if (!PyType_IsSubtype(solid, solid_base(t))) { in mro_internal() 1762 else if (PyType_IsSubtype(winner, candidate)) in best_base() 1764 else if (PyType_IsSubtype(candidate, winner)) { in best_base() 2147 if (PyType_IsSubtype(winner, tmptype)) in type_new() 2149 if (PyType_IsSubtype(tmptype, winner)) { in type_new() 3889 if (PyType_IsSubtype(base, (PyTypeObject*)PyExc_BaseException)) [all …]
|
D | descrobject.c | 106 if (!PyType_IsSubtype((PyTypeObject *)type, descr->d_type)) { in classmethod_get() 280 if (!PyType_IsSubtype((PyTypeObject *)self, descr->d_type)) { in classmethoddescr_call()
|
D | abstract.c | 938 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { 1058 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { 2910 retval = PyType_IsSubtype( 2996 return PyType_IsSubtype(
|
D | tupleobject.c | 664 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
|
D | setobject.c | 1141 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies() 1142 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
|
D | intobject.c | 1123 assert(PyType_IsSubtype(type, &PyInt_Type)); in int_subtype_new()
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 304 !PyType_IsSubtype(type, cls)) { in type_mro_modified() 693 if (PyType_IsSubtype(base, type) || in type_set_bases() 944 if (!PyType_IsSubtype(Py_TYPE(obj), type)) in type_call() 1387 PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b) in PyType_IsSubtype() function 1879 if (!PyType_IsSubtype(solid, solid_base(base))) { in mro_check() 2042 else if (PyType_IsSubtype(winner, candidate)) in best_base() 2044 else if (PyType_IsSubtype(candidate, winner)) { in best_base() 2331 if (PyType_IsSubtype(winner, tmptype)) in _PyType_CalculateMetaclass() 2333 if (PyType_IsSubtype(tmptype, winner)) { in _PyType_CalculateMetaclass() 3991 if (!(PyType_IsSubtype(newto, &PyModule_Type) && in object_set_class() [all …]
|
D | abstract.c | 800 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { in binary_op1() 891 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { in ternary_op() 2346 retval = PyType_IsSubtype( in recursive_isinstance() 2433 return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls); in recursive_issubclass()
|
D | descrobject.c | 116 if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) { in classmethod_get() 322 if (!PyType_IsSubtype((PyTypeObject *)self, PyDescr_TYPE(descr))) { in classmethoddescr_call()
|
D | setobject.c | 1077 if (PyType_IsSubtype(type, &PySet_Type)) in make_new_set_basetype() 1163 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies() 1164 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
|
D | tupleobject.c | 693 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
|
D | floatobject.c | 1641 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 200 if (PyType_IsSubtype(Py_TYPE(_other), &pysqlite_RowType)) { in pysqlite_row_richcompare()
|
/external/python/cpython2/Doc/c-api/ |
D | type.rst | 68 .. c:function:: int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 202 if (PyType_IsSubtype(Py_TYPE(_other), &pysqlite_RowType)) { in pysqlite_row_richcompare()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 70 .. c:function:: int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
|
/external/python/cpython3/PC/ |
D | python3.def | 599 PyType_IsSubtype=python37.PyType_IsSubtype
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 576 "PyType_IsSubtype"
|
/external/python/cpython3/Python/ |
D | errors.c | 208 return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc); in PyErr_GivenExceptionMatches()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2300 PyType_IsSubtype:int::: 2301 PyType_IsSubtype:PyTypeObject*:a:0: 2302 PyType_IsSubtype:PyTypeObject*:b:0:
|
/external/python/cpython2/Python/ |
D | getargs.c | 1258 if (PyType_IsSubtype(arg->ob_type, type)) in convertsimple()
|