Home
last modified time | relevance | path

Searched refs:PyClass_Check (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Include/
Dclassobject.h41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) macro
Dpyerrors.h99 (PyClass_Check((x)) || (PyType_Check((x)) && \
107 (PyClass_Check((x)) \
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc31 if (PyClass_Check(py)) in ClassName()
/external/python/cpython2/Doc/c-api/
Dclass.rst28 .. c:function:: int PyClass_Check(PyObject *o)
/external/python/cpython2/Objects/
Dclassobject.c89 if (!PyClass_Check(base)) { in PyClass_New()
315 if (!PyClass_Check(x)) in set_bases()
500 if (klass == NULL || !PyClass_Check(klass)) in PyClass_IsSubclass()
519 if (!PyClass_Check(klass)) { in PyInstance_NewRaw()
863 if (v == NULL || !PyClass_Check(v)) { in instance_setattr()
Dabstract.c2895 if (PyClass_Check(cls) && PyInstance_Check(inst)) {
2964 if (!(PyClass_Check(cls) || PyInstance_Check(cls))) {
2999 if (!PyClass_Check(derived) || !PyClass_Check(cls)) {
3042 if (!(PyClass_Check(cls) || PyInstance_Check(cls))) {
Dtypeobject.c473 if (!PyClass_Check(ob) && !PyType_Check(ob)) { in type_set_bases()
1338 assert(PyClass_Check(cls)); in fill_classic_mro()
1362 assert(PyClass_Check(cls)); in classic_mro()
1689 if (PyClass_Check(cls)) in mro_internal()
1738 if (PyClass_Check(base_proto)) in best_base()
2310 if (PyClass_Check(tmp)) { in type_new()
2576 if (PyClass_Check(base)) in _PyType_Lookup()
6695 else if (PyClass_Check(tmp))
Dobject.c1381 if (PyClass_Check(base)) in _PyObject_GenericGetAttrWithDict()
1942 else if (PyType_Check(obj) || PyClass_Check(obj)) in _dir_object()
/external/python/cpython2/Python/
Dceval.c3906 if (Py_Py3kWarningFlag && PyClass_Check(type)) { in do_raise()
4255 else if (PyClass_Check(func)) in PyEval_GetFuncName()
4274 else if (PyClass_Check(func)) in PyEval_GetFuncDesc()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp901 if (PyType_Check(m_py_obj) || PyClass_Check(m_py_obj)) { in GetArgInfo()
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx755 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type) macro
1367 if (PyClass_Check(obj)) { in SwigPyClientData_New()
/external/python/cpython2/Modules/
DcPickle.c3894 if (PyClass_Check(cls)) { in Instance_New()