Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Dstack_trace.cc56 const std::pair<PyCodeObject*, int>& code_obj = code_objs_[idx]; in ToStackFrames() local
57 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()
Dstack_trace.h67 PyCodeObject* code_obj = frame->f_code; in Capture() local
68 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()
/external/autotest/client/common_lib/
Dseven.py57 code_obj = compile(
64 return six.exec_(code_obj, globals_, locals_)
/external/python/cpython3/Objects/
Dframeobject.c102 markblocks(PyCodeObject *code_obj, int len) in markblocks() argument
105 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks()
/external/python/cpython3/Modules/
D_pickle.c3658 PyObject *code_obj; /* extension code as Python object */ in save_global() local
3667 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()