Searched refs:code_obj (Results 1 – 5 of 5) sorted by relevance
56 const std::pair<PyCodeObject*, int>& code_obj = code_objs_[idx]; in ToStackFrames() local57 const char* file_name = GetPythonString(code_obj.first->co_filename); in ToStackFrames()58 const int line_number = PyCode_Addr2Line(code_obj.first, code_obj.second); in ToStackFrames()71 GetPythonString(code_obj.first->co_name)}); in ToStackFrames()
67 PyCodeObject* code_obj = frame->f_code; in Capture() local68 DCHECK(code_obj != nullptr); in Capture()70 Py_INCREF(code_obj); in Capture()71 result.code_objs_.push_back(std::make_pair(code_obj, frame->f_lasti)); in Capture()
57 code_obj = compile(64 return six.exec_(code_obj, globals_, locals_)
102 markblocks(PyCodeObject *code_obj, int len) in markblocks() argument105 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks()
3658 PyObject *code_obj; /* extension code as Python object */ in save_global() local3667 code_obj = PyDict_GetItemWithError(st->extension_registry, in save_global()3672 if (code_obj == NULL) { in save_global()3684 if (!PyLong_Check(code_obj)) { in save_global()3687 obj, code_obj); in save_global()3690 code = PyLong_AS_LONG(code_obj); in save_global()