Home
last modified time | relevance | path

Searched refs:tb_frame (Results 1 – 25 of 65) sorted by relevance

123

/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
25 PyFrameObject *tb_frame; in tb_new() local
38 tb_frame = (PyFrameObject *)fastargs[1]; in tb_new()
57 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/external/python/cpython2/Python/
Dtraceback.c16 {"tb_frame", T_OBJECT, OFF(tb_frame), READONLY},
28 Py_XDECREF(tb->tb_frame); in tb_dealloc()
37 Py_VISIT(tb->tb_frame); in tb_traverse()
45 Py_CLEAR(tb->tb_frame); in tb_clear()
97 tb->tb_frame = frame; in newtracebackobject()
245 tb->tb_frame->f_code->co_filename), in tb_printinternal()
247 PyString_AsString(tb->tb_frame->f_code->co_name)); in tb_printinternal()
/external/python/cpython3/Lib/test/
Dtest_frame.py29 tb.tb_frame.clear()
68 f = e.__traceback__.tb_frame
82 f = e.__traceback__.tb_frame
129 frames.append(tb.tb_frame)
187 frames.append(tb.tb_frame)
Dtest_raise.py243 self.assertIs(tb.tb_frame, sys._getframe())
277 self.assertEqual(tb.tb_frame, frame)
/external/python/jinja/src/jinja2/
Ddebug.py45 if tb.tb_frame.f_code in internal_code:
49 template = tb.tb_frame.f_globals.get("__jinja_template__")
85 locals = get_template_locals(tb.tb_frame.f_locals)
104 function = tb.tb_frame.f_code.co_name
/external/python/cpython2/Lib/
Dtraceback.py61 f = tb.tb_frame
95 f = tb.tb_frame
269 f = sys.exc_info()[2].tb_frame.f_back
278 f = sys.exc_info()[2].tb_frame.f_back
294 f = sys.exc_info()[2].tb_frame.f_back
Dtypes.py71 FrameType = type(tb.tb_frame)
Dinspect.py413 object = object.tb_frame
570 object = object.tb_frame
692 object = object.tb_frame
1012 frame = frame.tb_frame
1058 framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
Ddis.py59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
/external/libchrome/third_party/jinja2/
Ddebug.py60 return '__jinja_template__' in self.tb.tb_frame.f_globals
171 if tb.tb_frame.f_code in internal_code:
180 template = tb.tb_frame.f_globals.get('__jinja_template__')
234 locals = get_jinja_locals(tb.tb_frame.f_locals)
263 function = tb.tb_frame.f_code.co_name
/external/python/cpython3/Python/
Dtraceback.c51 tb->tb_frame = frame; in tb_create_raw()
72 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, in tb_new_impl() argument
84 return tb_create_raw((PyTracebackObject *)tb_next, tb_frame, tb_lasti, in tb_new_impl()
150 {"tb_frame", T_OBJECT, OFF(tb_frame), READONLY},
167 Py_XDECREF(tb->tb_frame); in tb_dealloc()
176 Py_VISIT(tb->tb_frame); in tb_traverse()
184 Py_CLEAR(tb->tb_frame); in tb_clear()
563 PyCodeObject *code = PyFrame_GetCode(tb->tb_frame); in tb_printinternal()
/external/python/cpython3/Include/cpython/
Dtraceback.h12 PyFrameObject *tb_frame; member
/external/python/cpython2/Include/
Dtraceback.h15 struct _frame *tb_frame; member
/external/python/cpython3/Lib/idlelib/
Dstackviewer.py32 if tb and tb.tb_frame is None:
35 stack.append((tb.tb_frame, tb.tb_lineno))
/external/python/cpython2/Lib/idlelib/
DStackViewer.py31 if tb and tb.tb_frame is None:
34 stack.append((tb.tb_frame, tb.tb_lineno))
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py55 frames.append(tb.tb_frame)
/external/python/cpython2/Lib/test/
Dtest_exceptions.py170 co = tb.tb_frame.f_code
182 co = tb.tb_frame.f_code
185 co2 = tb.tb_frame.f_back.f_code
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_result.py265 class tb_frame(object): class in Test_TestResult.testStackFrameTrimming.Frame
270 Frame.tb_frame.f_globals['__unittest'] = True
/external/python/setuptools/setuptools/command/
Dsdist.py110 tb.tb_next.tb_frame.f_locals['template'].close()
/external/python/cpython3/Lib/
Dtraceback.py220 tb.tb_frame.clear()
312 yield tb.tb_frame, tb.tb_lineno
Ddis.py96 disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file)
516 return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
Dasyncore.py540 tb.tb_frame.f_code.co_filename,
541 tb.tb_frame.f_code.co_name,
/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py204 stack_frame = sys.exc_info()[2].tb_frame.f_back
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dresult.py186 return '__unittest' in tb.tb_frame.f_globals
/external/python/cpython2/Lib/unittest/
Dresult.py181 return '__unittest' in tb.tb_frame.f_globals

123