/external/python/cpython2/Objects/ |
D | typeobject.c | 143 if (!PyType_Check(b) ) { in type_mro_modified() 201 assert(PyType_Check(b)); in assign_version_tag() 418 assert(PyType_Check(subclass)); in mro_subclasses() 473 if (!PyClass_Check(ob) && !PyType_Check(ob)) { in type_set_bases() 480 if (PyType_Check(ob)) { in type_set_bases() 545 if (PyType_Check(ob)) { in type_set_bases() 553 if (PyType_Check(ob)) { in type_set_bases() 660 if (!PyType_Check(v) || !PyType_Check(w) || in type_richcompare() 1603 if (PyType_Check(base)) in mro_implementation() 1691 else if (!PyType_Check(cls)) { in mro_internal() [all …]
|
D | descrobject.c | 97 if (!PyType_Check(type)) { in classmethod_get() 272 if (!PyType_Check(self)) { in classmethoddescr_call()
|
D | abstract.c | 2900 else if (PyType_Check(cls)) { 2909 PyType_Check(c)) 2994 if (PyType_Check(cls) && PyType_Check(derived)) {
|
D | object.c | 1384 assert(PyType_Check(base)); in _PyObject_GenericGetAttrWithDict() 1942 else if (PyType_Check(obj) || PyClass_Check(obj)) in _dir_object()
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 164 CHECK(PyType_Check(type)); in _PyType_CheckConsistency() 345 assert(PyType_Check(b)); in type_mro_modified() 401 assert(PyType_Check(b)); in assign_version_tag() 744 if (!PyType_Check(ob)) { in type_set_bases() 1896 if (!PyType_Check(tmp)) { in mro_check() 2045 if (!PyType_Check(base_proto)) { in best_base() 2410 if (PyType_Check(tmp)) { in type_new() 2577 assert(PyType_Check(tmp)); in type_new() 3124 assert(PyType_Check(type)); in PyType_GetModule() 3200 assert(PyType_Check(base)); in find_name_in_mro() [all …]
|
D | abstract.c | 177 if (PyType_Check(o)) { in PyObject_GetItem() 2451 if (PyType_Check(cls)) { in object_isinstance() 2456 if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) { in object_isinstance() 2556 if (PyType_Check(cls) && PyType_Check(derived)) { in recursive_issubclass()
|
D | methodobject.c | 227 type = PyType_Check(m->m_self) ? m->m_self : (PyObject*)Py_TYPE(m->m_self); in meth_get__qualname__()
|
D | descrobject.c | 112 if (!PyType_Check(type)) { in classmethod_get() 145 if (PyType_Check(type)) { in method_get()
|
D | setobject.c | 941 assert(PyType_Check(type)); in make_new_set() 1966 assert(PyType_Check(type)); in set_vectorcall()
|
/external/python/cpython2/Doc/c-api/ |
D | type.rst | 24 .. c:function:: int PyType_Check(PyObject *o)
|
/external/python/cpython3/Modules/ |
D | _abc.c | 465 if (!PyType_Check(subclass)) { in _abc__abc_register_impl() 610 if (!PyType_Check(subclass)) { in _abc__abc_subclasscheck_impl()
|
D | _pickle.c | 4042 if (!PyType_Check(cls)) { in save_reduce() 4130 if (!PyType_Check(cls)) { in save_reduce() 5816 if (!PyTuple_GET_SIZE(args) && PyType_Check(cls)) { in instantiate() 5940 if (!PyType_Check(cls)) { in load_newobj() 5990 if (!PyType_Check(cls)) { in load_newobj_ex()
|
/external/python/cpython3/Include/ |
D | pyerrors.h | 59 (PyType_Check((x)) && \
|
D | object.h | 638 #define PyType_Check(op) _PyType_Check(_PyObject_CAST(op)) macro
|
/external/python/cpython2/Include/ |
D | pyerrors.h | 99 (PyClass_Check((x)) || (PyType_Check((x)) && \
|
D | object.h | 445 #define PyType_Check(op) \ macro
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 1015 if (!proto || !PyType_Check(proto)) { in PyCPointerType_SetProto() 2990 assert(PyType_Check(type)); in PyCData_FromBaseObj() 3036 assert(PyType_Check(type)); in PyCData_AtAddress() 3104 assert(PyType_Check(type)); in _PyCData_set() 3446 PyType_Check(arg) ? in _check_outarg_type() 4901 if (!PyType_Check(itemtype)) { in PyCArrayType_from_ctype() 5606 PyType_Check(arg) in cast_check_pointertype()
|
D | stgdict.c | 177 if (!PyType_Check(obj)) in PyType_stgdict()
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 157 if (!PyType_Check(obj)) in PyType_stgdict()
|
D | _ctypes.c | 972 if (!proto || !PyType_Check(proto)) { in PyCPointerType_SetProto() 2913 assert(PyType_Check(type)); in PyCData_FromBaseObj() 2955 assert(PyType_Check(type)); in PyCData_AtAddress() 3023 assert(PyType_Check(type)); in _PyCData_set() 3348 PyType_Check(arg) ? in _check_outarg_type() 4842 if (!PyType_Check(itemtype)) { in PyCArrayType_from_ctype() 5599 PyType_Check(arg) in cast_check_pointertype()
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 38 if (PyType_Check(base)) { in update_bases() 157 isclass = PyType_Check(meta); in builtin___build_class__() 233 if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) { in builtin___build_class__()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 22 .. c:function:: int PyType_Check(PyObject *o)
|
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 53 PyObject *cls = PyType_Check(obj) ? obj : (PyObject *) Py_TYPE(obj); in pybind11_static_set()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 55 if (!PyType_Check(type)) { in RegisterType()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 914 if (!PyType_Check(base_class)) { in TFE_Py_InitEagerTensor()
|