Home
last modified time | relevance | path

Searched refs:code_obj (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Objects/
Dfuncobject.c19 PyCodeObject *code_obj = (PyCodeObject *)code; in PyFunction_NewWithQualName() local
20 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()
Dframeobject.c124 markblocks(PyCodeObject *code_obj, int len) in markblocks() argument
127 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks()
/third_party/python/Modules/
D_pickle.c3654 PyObject *code_obj; /* extension code as Python object */ in save_global() local
3663 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()