Home
last modified time | relevance | path

Searched refs:tb_lasti (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Python/clinic/
H A Dtraceback.c.h6 "TracebackType(tb_next, tb_frame, tb_lasti, tb_lineno)\n"
13 int tb_lasti, int tb_lineno);
19 static const char * const _keywords[] = {"tb_next", "tb_frame", "tb_lasti", "tb_lineno", NULL}; in tb_new()
26 int tb_lasti; in tb_new() local
39 tb_lasti = _PyLong_AsInt(fastargs[2]); in tb_new()
40 if (tb_lasti == -1 && PyErr_Occurred()) { in tb_new()
47 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/third_party/python/Include/cpython/
H A Dtraceback.h11 int tb_lasti; member
/third_party/python/Python/
H A Dtraceback.c59 tb->tb_lasti = lasti; in tb_create_raw()
72 tb_lasti: int
80 int tb_lasti, int tb_lineno) in tb_new_impl()
91 return tb_create_raw((PyTracebackObject *)tb_next, tb_frame, tb_lasti, in tb_new_impl()
99 "tb_lasti", "tb_lineno"); in tb_dir()
158 {"tb_lasti", T_INT, OFF(tb_lasti), READONLY},
797 int code_offset = tb->tb_lasti; in tb_displayline()
79 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, int tb_lasti, int tb_lineno) tb_new_impl() argument
/third_party/python/Lib/test/
H A Dtest_raise.py244 self.assertIsInstance(tb.tb_lasti, int)
278 self.assertEqual(tb.tb_lasti, 1)
H A Dtest_dis.py921 tb_dis = self.get_disassemble_as_string(tb.tb_frame.f_code, tb.tb_lasti)
1712 self.assertEqual(b.current_offset, tb.tb_lasti)
/third_party/python/Lib/
H A Ddis.py121 disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file, show_caches=show_caches, adaptive=adaptive)
734 tb.tb_frame.f_code, current_offset=tb.tb_lasti, show_caches=show_caches, adaptive=adaptive
H A Dtraceback.py353 positions = _get_code_position(tb.tb_frame.f_code, tb.tb_lasti)
H A Dpdb.py283 lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
H A Dinspect.py461 tb_lasti index of last attempted instruction in bytecode
1652 code, instruction_index = tb.tb_frame.f_code, tb.tb_lasti

Completed in 15 milliseconds