Home
last modified time | relevance | path

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

123

/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
22 PyFrameObject *tb_frame; in tb_new() local
27 &tb_next, &PyFrame_Type, &tb_frame, &tb_lasti, &tb_lineno)) { in tb_new()
30 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/Python/
Dtraceback.c52 tb->tb_frame = frame; in tb_create_raw()
73 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, in tb_new_impl() argument
85 return tb_create_raw((PyTracebackObject *)tb_next, tb_frame, tb_lasti, in tb_new_impl()
151 {"tb_frame", T_OBJECT, OFF(tb_frame), READONLY},
168 Py_XDECREF(tb->tb_frame); in tb_dealloc()
177 Py_VISIT(tb->tb_frame); in tb_traverse()
185 Py_CLEAR(tb->tb_frame); in tb_clear()
554 tb->tb_frame->f_code->co_filename != last_file || in tb_printinternal()
556 last_name == NULL || tb->tb_frame->f_code->co_name != last_name) { in tb_printinternal()
560 last_file = tb->tb_frame->f_code->co_filename; in tb_printinternal()
[all …]
/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/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
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))
Dtypes.py71 FrameType = type(tb.tb_frame)
Dasyncore.py563 tb.tb_frame.f_code.co_filename,
564 tb.tb_frame.f_code.co_name,
/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/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/cpython2/Include/
Dtraceback.h15 struct _frame *tb_frame; member
/external/python/cpython3/Include/
Dtraceback.h17 struct _frame *tb_frame; member
/external/tensorflow/tensorflow/python/util/
Dtf_stack.py58 f = sys.exc_info()[2].tb_frame.f_back
Dtf_should_use.py158 stack_frame = sys.exc_info()[2].tb_frame.f_back
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py46 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/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()
309 yield tb.tb_frame, tb.tb_lineno
Ddis.py87 disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file)
498 return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
Dasyncore.py542 tb.tb_frame.f_code.co_filename,
543 tb.tb_frame.f_code.co_name,
/external/python/cpython2/Lib/unittest/
Dresult.py181 return '__unittest' in tb.tb_frame.f_globals
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py264 class tb_frame(object): class in Test_TestResult.testStackFrameTrimming.Frame
269 Frame.tb_frame.f_globals['__unittest'] = True
/external/python/cpython3/Lib/unittest/
Dresult.py204 return '__unittest' in tb.tb_frame.f_globals

123