Home
last modified time | relevance | path

Searched refs:PyCode_Check (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Include/
Dcode.h67 #define PyCode_Check(op) (Py_TYPE(op) == &PyCode_Type) macro
/external/python/cpython3/Include/cpython/
Dcode.h113 #define PyCode_Check(op) Py_IS_TYPE(op, &PyCode_Type) macro
/external/python/cpython3/Objects/
Dcodeobject.c708 || PyCode_Check(op)) in _PyCode_ConstantKey()
837 !PyCode_Check(self) || in code_richcompare()
838 !PyCode_Check(other)) { in code_richcompare()
1056 if (!PyCode_Check(code)) { in _PyCode_GetExtra()
1079 if (!PyCode_Check(code) || index < 0 || in _PyCode_SetExtra()
Dfuncobject.c268 if (value == NULL || !PyCode_Check(value)) { in func_set_code()
/external/python/cpython2/Doc/c-api/
Dcode.rst28 .. c:function:: int PyCode_Check(PyObject *co)
/external/python/cpython2/Objects/
Dcodeobject.c433 || PyCode_Check(op)) { in _PyCode_ConstantKey()
555 !PyCode_Check(self) || in code_richcompare()
556 !PyCode_Check(other)) { in code_richcompare()
Dfuncobject.c243 if (value == NULL || !PyCode_Check(value)) { in func_set_code()
/external/python/cpython3/Doc/c-api/
Dcode.rst28 .. c:function:: int PyCode_Check(PyObject *co)
/external/python/cpython2/Python/
Dimport.c848 if (!PyCode_Check(co)) { in read_compiled_module()
1013 if (PyCode_Check(tmp)) in update_code_filenames()
2127 if (!PyCode_Check(co)) { in PyImport_ImportFrozenModule()
Dmarshal.c428 else if (PyCode_Check(v)) { in w_object()
Dpythonrun.c1408 if (v == NULL || !PyCode_Check(v)) { in run_pyc_file()
Dceval.c5065 !PyCode_Check(prog) && in exec_statement()
5083 if (PyCode_Check(prog)) { in exec_statement()
Dbltinmodule.c673 if (PyCode_Check(cmd)) { in builtin_eval()
/external/python/cpython3/Python/
Dbltinmodule.c936 if (PyCode_Check(source)) { in builtin_eval_impl()
1024 if (PyCode_Check(source)) { in builtin_exec_impl()
Dimport.c1108 if (PyCode_Check(tmp)) in update_code_filenames()
1422 if (!PyCode_Check(co)) { in PyImport_ImportFrozenModuleObject()
Dpythonrun.c1229 if (v == NULL || !PyCode_Check(v)) { in run_pyc_file()
Dmarshal.c509 else if (PyCode_Check(v)) { in w_complex_object()
/external/python/cpython2/Modules/
Dzipimport.c1089 if (!PyCode_Check(code)) { in unmarshal_code()
/external/python/cpython3/Doc/data/
Drefcounts.dat231 PyCode_Check:int:::
232 PyCode_Check:PyObject*:co:0: