Searched refs:tb_lasti (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Python/clinic/ |
H A D | traceback.c.h | 6 "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 D | traceback.h | 11 int tb_lasti; member
|
/third_party/python/Python/ |
H A D | traceback.c | 59 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 D | test_raise.py | 244 self.assertIsInstance(tb.tb_lasti, int) 278 self.assertEqual(tb.tb_lasti, 1)
|
H A D | test_dis.py | 921 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 D | dis.py | 121 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 D | traceback.py | 353 positions = _get_code_position(tb.tb_frame.f_code, tb.tb_lasti)
|
H A D | pdb.py | 283 lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
|
H A D | inspect.py | 461 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