Home
last modified time | relevance | path

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

12

/third_party/python/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()
47 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/third_party/python/Lib/test/
Dtest_frame.py30 tb.tb_frame.clear()
69 f = e.__traceback__.tb_frame
83 f = e.__traceback__.tb_frame
150 frames.append(tb.tb_frame)
208 frames.append(tb.tb_frame)
Dtest_raise.py243 self.assertIs(tb.tb_frame, sys._getframe())
277 self.assertEqual(tb.tb_frame, frame)
Dtest_exceptions.py322 co = tb.tb_frame.f_code
334 co = tb.tb_frame.f_code
337 co2 = tb.tb_frame.f_back.f_code
2442 frame = t.tb_frame
/third_party/jinja2/
Ddebug.py51 if tb.tb_frame.f_code in internal_code:
55 template = tb.tb_frame.f_globals.get("__jinja_template__")
94 locals = get_template_locals(tb.tb_frame.f_locals)
114 function = tb.tb_frame.f_code.co_name
/third_party/node/deps/v8/third_party/jinja2/
Ddebug.py52 if tb.tb_frame.f_code in internal_code:
56 template = tb.tb_frame.f_globals.get("__jinja_template__")
92 locals = get_template_locals(tb.tb_frame.f_locals)
111 function = tb.tb_frame.f_code.co_name
/third_party/skia/third_party/externals/jinja2/
Ddebug.py52 if tb.tb_frame.f_code in internal_code:
56 template = tb.tb_frame.f_globals.get("__jinja_template__")
92 locals = get_template_locals(tb.tb_frame.f_locals)
111 function = tb.tb_frame.f_code.co_name
/third_party/node/tools/inspector_protocol/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
/third_party/python/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|PY_AUDIT_READ},
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()
564 PyCodeObject *code = PyFrame_GetCode(tb->tb_frame); in tb_printinternal()
Dsuggestions.c220 PyFrameObject *frame = traceback->tb_frame; in offer_suggestions_for_name_error()
/third_party/python/Include/cpython/
Dtraceback.h8 PyFrameObject *tb_frame; member
/third_party/python/Lib/idlelib/
Dstackviewer.py32 if tb and tb.tb_frame is None:
35 stack.append((tb.tb_frame, tb.tb_lineno))
Drun.py632 while tb and tb.tb_frame.f_globals["__name__"] in ["rpc", "run"]:
/third_party/python/Lib/asyncio/
Dbase_tasks.py55 frames.append(tb.tb_frame)
/third_party/python/Lib/
Ddis.py96 disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file)
503 return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
Dasyncore.py547 tb.tb_frame.f_code.co_filename,
548 tb.tb_frame.f_code.co_name,
Dtraceback.py236 tb.tb_frame.clear()
329 yield tb.tb_frame, tb.tb_lineno
Dbdb.py535 if t and t.tb_frame is f:
545 stack.append((t.tb_frame, t.tb_lineno))
Dtypes.py58 FrameType = type(tb.tb_frame)
Dinspect.py792 object = object.tb_frame
981 object = object.tb_frame
1132 object = object.tb_frame
1619 frame = frame.tb_frame
1667 frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
Dpdb.py214 lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
215 self.tb_lineno[tb.tb_frame] = lineno
/third_party/python/Lib/unittest/
Dresult.py205 return '__unittest' in tb.tb_frame.f_globals
/third_party/python/Doc/library/
Dtypes.rst321 .. class:: TracebackType(tb_next, tb_frame, tb_lasti, tb_lineno)
332 The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a
/third_party/python/Lib/unittest/test/
Dtest_result.py435 class tb_frame(object): class in Test_TestResult.testStackFrameTrimming.Frame
440 Frame.tb_frame.f_globals['__unittest'] = True
/third_party/python/Lib/logging/
D__init__.py167 return sys.exc_info()[2].tb_frame.f_back
1026 frame = tb.tb_frame

12