Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dframeobject.c18 {"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 …]
Dgenobject.c79 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()
Dlnotab_notes.txt70 *instr_lb <= frame->f_lasti < *instr_ub
135 suggested by f_lasti on this one occasion where it's desirable.
/external/python/cpython2/Objects/
Dframeobject.c22 {"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 …]
Dlnotab_notes.txt63 *instr_lb <= frame->f_lasti < *instr_ub
124 suggested by f_lasti on this one occasion where it's desirable.
Dgenobject.c63 if (f->f_lasti == -1) { in gen_send_ex()
/external/python/cpython3/Python/
Dceval.c659 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 …]
Dtraceback.c235 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/
Dframeobject.h40 int f_lasti; /* Last instruction if called */ member
/external/python/cpython3/Include/
Dframeobject.h36 int f_lasti; /* Last instruction if called */ member
/external/python/cpython2/Python/
Dceval.c758 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 …]
Dtraceback.c98 tb->tb_lasti = frame->f_lasti; in newtracebackobject()
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py92 if frame is not None and frame.f_lasti == -1:
/external/python/cpython3/Misc/
Dgdbinit53 set $__lasti = f->f_lasti
/external/python/cpython2/Misc/
Dgdbinit53 set $__lasti = f->f_lasti
Dcheatsheet1303 f_lasti (int, R/O): precise instruction (index into bytecode)
/external/python/cpython2/Tools/gdb/
Dlibpython.py847 self.f_lasti = int_from_int(self.field('f_lasti'))
927 return self.co.addr2line(self.f_lasti)
/external/python/cpython3/Tools/gdb/
Dlibpython.py859 self.f_lasti = int_from_int(self.field('f_lasti'))
939 return self.co.addr2line(self.f_lasti)
/external/python/cpython3/Lib/
Dinspect.py1632 if generator.gi_frame.f_lasti == -1:
1674 if coroutine.cr_frame.f_lasti == -1:
/external/python/cpython2/Doc/library/
Dinspect.rst153 | | f_lasti | index of last attempted | |
/external/python/cpython3/Doc/library/
Dinspect.rst126 | | f_lasti | index of last attempted |
/external/python/cpython2/Doc/reference/
Ddatamodel.rst992 single: f_lasti (frame attribute)
1002 restricted execution mode; :attr:`f_lasti` gives the precise instruction (this
/external/python/cpython3/Doc/reference/
Ddatamodel.rst962 single: f_lasti (frame attribute)
970 :attr:`f_lasti` gives the precise instruction (this is an index into the
/external/python/cpython2/Doc/whatsnew/
D2.3.rst2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the
/external/python/cpython3/Doc/whatsnew/
D2.3.rst2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the