Searched refs:PyType_IsSubtype (Results 1 – 18 of 18) sorted by relevance
/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/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() 2144 if (PyType_IsSubtype(winner, tmptype)) in type_new() 2146 if (PyType_IsSubtype(tmptype, winner)) { in type_new() 3826 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)) { 2913 retval = PyType_IsSubtype( 2999 return PyType_IsSubtype(
|
D | tupleobject.c | 667 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
|
D | setobject.c | 1138 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies() 1139 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
|
D | intobject.c | 1120 assert(PyType_IsSubtype(type, &PyInt_Type)); in int_subtype_new()
|
D | floatobject.c | 1838 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
|
D | object.c | 614 PyType_IsSubtype(w->ob_type, v->ob_type) && in try_rich_compare()
|
D | longobject.c | 4073 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new()
|
D | stringobject.c | 3718 assert(PyType_IsSubtype(type, &PyString_Type)); in str_subtype_new()
|
D | unicodeobject.c | 8857 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
|
/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/cpython2/PC/os2emx/ |
D | python27.def | 576 "PyType_IsSubtype"
|
/external/python/cpython2/Python/ |
D | getargs.c | 1258 if (PyType_IsSubtype(arg->ob_type, type)) in convertsimple()
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 2766 if (PyType_IsSubtype(type, &PyType_Type)) { in save()
|