Searched refs:code_obj (Results 1 – 3 of 3) sorted by relevance
19 PyCodeObject *code_obj = (PyCodeObject *)code; in PyFunction_NewWithQualName() local20 Py_INCREF(code_obj); in PyFunction_NewWithQualName()22 PyObject *name = code_obj->co_name; in PyFunction_NewWithQualName()30 PyObject *consts = code_obj->co_consts; in PyFunction_NewWithQualName()70 op->func_code = (PyObject*)code_obj; in PyFunction_NewWithQualName()86 Py_DECREF(code_obj); in PyFunction_NewWithQualName()
124 markblocks(PyCodeObject *code_obj, int len) in markblocks() argument127 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks()
3654 PyObject *code_obj; /* extension code as Python object */ in save_global() local3663 code_obj = PyDict_GetItemWithError(st->extension_registry, in save_global()3668 if (code_obj == NULL) { in save_global()3680 if (!PyLong_Check(code_obj)) { in save_global()3683 obj, code_obj); in save_global()3686 code = PyLong_AS_LONG(code_obj); in save_global()