Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dcode.h67 #define PyCode_Check(op) (Py_TYPE(op) == &PyCode_Type) macro
/external/python/cpython2/Doc/c-api/
Dcode.rst28 .. c:function:: int PyCode_Check(PyObject *co)
/external/python/cpython2/Objects/
Dcodeobject.c434 || PyCode_Check(op)) { in _PyCode_ConstantKey()
556 !PyCode_Check(self) || in code_richcompare()
557 !PyCode_Check(other)) { in code_richcompare()
Dfuncobject.c243 if (value == NULL || !PyCode_Check(value)) { in func_set_code()
/external/python/cpython2/Python/
Dimport.c826 if (!PyCode_Check(co)) { in read_compiled_module()
991 if (PyCode_Check(tmp)) in update_code_filenames()
2105 if (!PyCode_Check(co)) { in PyImport_ImportFrozenModule()
Dmarshal.c428 else if (PyCode_Check(v)) { in w_object()
Dpythonrun.c1399 if (v == NULL || !PyCode_Check(v)) { in run_pyc_file()
Dceval.c5026 !PyCode_Check(prog) && in exec_statement()
5044 if (PyCode_Check(prog)) { in exec_statement()
Dbltinmodule.c672 if (PyCode_Check(cmd)) { in builtin_eval()
/external/python/cpython2/Modules/
Dzipimport.c1089 if (!PyCode_Check(code)) { in unmarshal_code()