Searched refs:PyType_Check (Results 1 – 25 of 26) sorted by relevance
12
76 if (PyType_Check(arg)) { in union_instancecheck()92 if (!PyType_Check(instance)) { in union_subclasscheck()105 if (PyType_Check(arg)) { in union_subclasscheck()233 PyType_Check(obj) || in is_unionable()
72 assert(PyType_Check(type)); in bool_vectorcall()
161 CHECK(PyType_Check(type)); in _PyType_CheckConsistency()394 assert(PyType_Check(b)); in type_mro_modified()438 assert(PyType_Check(b)); in assign_version_tag()782 if (!PyType_Check(ob)) { in type_set_bases()2018 if (!PyType_Check(tmp)) { in mro_check()2174 if (!PyType_Check(base_proto)) { in best_base()2651 assert(PyType_Check(base)); in type_new_slots_bases()3233 if (PyType_Check(base)) { in type_new_get_bases()3658 assert(PyType_Check(type)); in PyType_GetModule()3700 assert(PyType_Check(type)); in _PyType_GetModuleByDef()[all …]
333 assert(PyType_Check(type)); in reversed_vectorcall()
178 if (PyType_Check(o)) { in PyObject_GetItem()2600 if (PyType_Check(cls)) { in object_isinstance()2605 if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) { in object_isinstance()2705 if (PyType_Check(cls) && PyType_Check(derived)) { in recursive_issubclass()
231 type = PyType_Check(m->m_self) ? m->m_self : (PyObject*)Py_TYPE(m->m_self); in meth_get__qualname__()
106 if (!PyType_Check(type)) { in classmethod_get()141 if (PyType_Check(type)) { in method_get()
955 assert(PyType_Check(type)); in make_new_set()1963 assert(PyType_Check(type)); in set_vectorcall()
997 assert(PyType_Check(newtype)); in OSError_new()
2751 assert(PyType_Check(type)); in list_vectorcall()
3489 assert(PyType_Check(type)); in dict_vectorcall()
456 if (PyType_Check(self)) { in _abc__abc_init()504 if (PyType_Check(grandchild)) { in set_collection_flag_recursive()524 if (!PyType_Check(subclass)) { in _abc__abc_register_impl()561 if (PyType_Check(self)) { in _abc__abc_register_impl()676 if (!PyType_Check(subclass)) { in _abc__abc_subclasscheck_impl()
3770 if (!PyType_Check(obj) || !PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) { in with_tp_del()3784 if (!PyType_Check(obj) || !PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) { in without_gc()3875 assert(PyType_Check(structseq_type)); in test_structseq_newtype_doesnt_leak()3894 assert(PyType_Check(structseq_type)); in test_structseq_newtype_null_descr_doc()
4038 if (!PyType_Check(cls)) { in save_reduce()4126 if (!PyType_Check(cls)) { in save_reduce()5812 if (!PyTuple_GET_SIZE(args) && PyType_Check(cls)) { in instantiate()5947 if (!PyType_Check(cls)) { in load_newobj()
1989 if (!PyType_Check(arraytype)) { in array__array_reconstructor_impl()
53 (PyType_Check((x)) && \
739 #define PyType_Check(op) _PyType_Check(_PyObject_CAST(op)) macro
1022 if (!proto || !PyType_Check(proto)) { in PyCPointerType_SetProto()2987 assert(PyType_Check(type)); in PyCData_FromBaseObj()3033 assert(PyType_Check(type)); in PyCData_AtAddress()3101 assert(PyType_Check(type)); in _PyCData_set()3443 PyType_Check(arg) ? in _check_outarg_type()4897 if (!PyType_Check(itemtype)) { in PyCArrayType_from_ctype()5587 PyType_Check(arg) in cast_check_pointertype()
177 if (!PyType_Check(obj)) in PyType_stgdict()
1917 } else if (PyType_Check(cls)) { in POINTER()
39 if (PyType_Check(base)) { in update_bases()157 isclass = PyType_Check(meta); in builtin___build_class__()225 if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) { in builtin___build_class__()
1755 if (!PyType_Check(cls)) { in _PyCrossInterpreterData_RegisterClass()
22 .. c:function:: int PyType_Check(PyObject *o)
888 Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` and
2280 PyType_Check:int:::2281 PyType_Check:PyObject*:o:0: