/external/python/cpython3/Objects/ |
D | frameobject.c | 18 {"f_lasti", T_INT, OFF(f_lasti), READONLY}, 39 return PyCode_Addr2Line(f->f_code, f->f_lasti); in PyFrame_GetLineNumber() 108 if (f->f_lasti == -1) { in frame_setlineno() 191 assert(f->f_lasti != -1); in frame_setlineno() 192 if (code[f->f_lasti] == YIELD_VALUE || code[f->f_lasti] == YIELD_FROM) { in frame_setlineno() 198 min_addr = Py_MIN(new_lasti, f->f_lasti); in frame_setlineno() 199 max_addr = Py_MAX(new_lasti, f->f_lasti); in frame_setlineno() 273 if (addr == new_lasti || addr == f->f_lasti) { in frame_setlineno() 288 if (addr == f->f_lasti) { in frame_setlineno() 336 if (new_lasti > f->f_lasti) { in frame_setlineno() [all …]
|
D | genobject.c | 79 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize() 191 if (f->f_lasti == -1) { in gen_send_ex() 339 if (f->f_lasti < 0) { in _PyGen_yf() 347 if (code[f->f_lasti + sizeof(_Py_CODEUNIT)] != YIELD_FROM) in _PyGen_yf() 453 assert(gen->gi_frame->f_lasti >= 0); in _gen_throw() 454 gen->gi_frame->f_lasti += sizeof(_Py_CODEUNIT); in _gen_throw()
|
D | lnotab_notes.txt | 70 *instr_lb <= frame->f_lasti < *instr_ub 135 suggested by f_lasti on this one occasion where it's desirable.
|
/external/python/cpython2/Objects/ |
D | frameobject.c | 22 {"f_lasti", T_INT, OFF(f_lasti), RO}, 69 return PyCode_Addr2Line(f->f_code, f->f_lasti); in PyFrame_GetLineNumber() 132 if (f->f_lasti == -1) { in frame_setlineno() 200 min_addr = MIN(new_lasti, f->f_lasti); in frame_setlineno() 201 max_addr = MAX(new_lasti, f->f_lasti); in frame_setlineno() 205 assert(f->f_lasti != -1); in frame_setlineno() 206 if (code[f->f_lasti] == YIELD_VALUE) { in frame_setlineno() 281 if (addr == new_lasti || addr == f->f_lasti) { in frame_setlineno() 296 if (addr == f->f_lasti) { in frame_setlineno() 351 if (new_lasti > f->f_lasti) { in frame_setlineno() [all …]
|
D | lnotab_notes.txt | 63 *instr_lb <= frame->f_lasti < *instr_ub 124 suggested by f_lasti on this one occasion where it's desirable.
|
D | genobject.c | 63 if (f->f_lasti == -1) { in gen_send_ex()
|
/external/python/cpython3/Python/ |
D | ceval.c | 659 f->f_lasti = INSTR_OFFSET(); \ in _PyEval_EvalFrameDefault() 669 f->f_lasti = INSTR_OFFSET(); \ in _PyEval_EvalFrameDefault() 902 assert(f->f_lasti >= -1); in _PyEval_EvalFrameDefault() 904 if (f->f_lasti >= 0) { in _PyEval_EvalFrameDefault() 905 assert(f->f_lasti % sizeof(_Py_CODEUNIT) == 0); in _PyEval_EvalFrameDefault() 906 next_instr += f->f_lasti / sizeof(_Py_CODEUNIT) + 1; in _PyEval_EvalFrameDefault() 1008 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault() 1027 JUMPTO(f->f_lasti); in _PyEval_EvalFrameDefault() 1055 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault() 1059 f->f_lasti, opcode); in _PyEval_EvalFrameDefault() [all …]
|
D | traceback.c | 235 newtb = tb_create_raw((PyTracebackObject *)tb, frame, frame->f_lasti, in PyTraceBack_Here() 762 lineno = PyCode_Addr2Line(code, frame->f_lasti); in dump_frame()
|
/external/python/cpython2/Include/ |
D | frameobject.h | 40 int f_lasti; /* Last instruction if called */ member
|
/external/python/cpython3/Include/ |
D | frameobject.h | 36 int f_lasti; /* Last instruction if called */ member
|
/external/python/cpython2/Python/ |
D | ceval.c | 758 f->f_lasti = INSTR_OFFSET(); \ in PyEval_EvalFrameEx() 766 f->f_lasti = INSTR_OFFSET(); \ in PyEval_EvalFrameEx() 1043 next_instr = first_instr + f->f_lasti + 1; in PyEval_EvalFrameEx() 1147 f->f_lasti = INSTR_OFFSET(); in PyEval_EvalFrameEx() 1162 JUMPTO(f->f_lasti); in PyEval_EvalFrameEx() 1195 f->f_lasti, opcode, oparg); in PyEval_EvalFrameEx() 1199 f->f_lasti, opcode); in PyEval_EvalFrameEx() 4080 if (frame->f_lasti < *instr_lb || frame->f_lasti >= *instr_ub) { in maybe_call_line_trace() 4082 line = _PyCode_CheckLineNumber(frame->f_code, frame->f_lasti, in maybe_call_line_trace() 4090 if (frame->f_lasti == *instr_lb || frame->f_lasti < *instr_prev) { in maybe_call_line_trace() [all …]
|
D | traceback.c | 98 tb->tb_lasti = frame->f_lasti; in newtracebackobject()
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 92 if frame is not None and frame.f_lasti == -1:
|
/external/python/cpython3/Misc/ |
D | gdbinit | 53 set $__lasti = f->f_lasti
|
/external/python/cpython2/Misc/ |
D | gdbinit | 53 set $__lasti = f->f_lasti
|
D | cheatsheet | 1303 f_lasti (int, R/O): precise instruction (index into bytecode)
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 847 self.f_lasti = int_from_int(self.field('f_lasti')) 927 return self.co.addr2line(self.f_lasti)
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 859 self.f_lasti = int_from_int(self.field('f_lasti')) 939 return self.co.addr2line(self.f_lasti)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1632 if generator.gi_frame.f_lasti == -1: 1674 if coroutine.cr_frame.f_lasti == -1:
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 153 | | f_lasti | index of last attempted | |
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 126 | | f_lasti | index of last attempted |
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 992 single: f_lasti (frame attribute) 1002 restricted execution mode; :attr:`f_lasti` gives the precise instruction (this
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 962 single: f_lasti (frame attribute) 970 :attr:`f_lasti` gives the precise instruction (this is an index into the
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.3.rst | 2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the
|