Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dframeobject.c49 return PyCode_Addr2Line(f->f_code, f->f_lasti*sizeof(_Py_CODEUNIT)); in PyFrame_GetLineNumber()
68 if (f->f_lasti < 0) { in frame_getlasti()
71 return PyLong_FromLong(f->f_lasti*sizeof(_Py_CODEUNIT)); in frame_getlasti()
440 int64_t start_block_stack = blocks[f->f_lasti]; in frame_setlineno()
494 f->f_lasti = best_addr; in frame_setlineno()
853 f->f_lasti = -1; in _PyFrame_New_NoTrack()
Dgenobject.c82 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize()
148 if (f != NULL && f->f_lasti < 0 && arg && arg != Py_None) { in gen_send_ex2()
192 …assert(f->f_lasti >= 0 || ((unsigned char *)PyBytes_AS_STRING(f->f_code->co_code))[0] == GEN_START… in gen_send_ex2()
350 if (f->f_lasti < 0) { in _PyGen_yf()
358 if (code[(f->f_lasti+1)*sizeof(_Py_CODEUNIT)] != YIELD_FROM) in _PyGen_yf()
481 assert(gen->gi_frame->f_lasti >= 0); in _gen_throw()
482 gen->gi_frame->f_lasti += 1; in _gen_throw()
Dlnotab_notes.txt160 *instr_lb <= frame->f_lasti < *instr_ub
225 suggested by f_lasti on this one occasion where it's desirable.
/third_party/python/Include/cpython/
Dframeobject.h44 int f_lasti; /* Last instruction if called */ member
/third_party/python/Python/
Dceval.c1305 f->f_lasti = INSTR_OFFSET(); \
1691 assert(f->f_lasti >= -1); in _PyEval_EvalFrameDefault()
1692 next_instr = first_instr + f->f_lasti + 1; in _PyEval_EvalFrameDefault()
1783 int instr_prev = f->f_lasti; in _PyEval_EvalFrameDefault()
1784 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault()
1804 JUMPTO(f->f_lasti); in _PyEval_EvalFrameDefault()
1821 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault()
1825 f->f_lasti, opcode); in _PyEval_EvalFrameDefault()
1836 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault()
2626 assert(f->f_lasti > 0); in _PyEval_EvalFrameDefault()
[all …]
Dtraceback.c237 return tb_create_raw((PyTracebackObject *)tb_next, frame, frame->f_lasti*sizeof(_Py_CODEUNIT), in _PyTraceBack_FromFrame()
/third_party/python/Lib/asyncio/
Dcoroutines.py93 if frame is not None and frame.f_lasti == -1:
/third_party/python/Misc/
Dgdbinit59 set $__lasti = f->f_lasti
/third_party/python/Tools/gdb/
Dlibpython.py870 self.f_lasti = int_from_int(self.field('f_lasti'))
950 return self.co.addr2line(self.f_lasti*2)
/third_party/python/Lib/
Dinspect.py1797 if generator.gi_frame.f_lasti == -1:
1839 if coroutine.cr_frame.f_lasti == -1:
/third_party/python/Misc/NEWS.d/
D3.10.0a4.rst66 Make sure that the ``f_lasti`` and ``f_lineno`` attributes of a frame are
/third_party/python/Doc/library/
Ddis.rst712 restores ``f_lasti`` of the current frame to its value when the exception was raised.
Dinspect.rst134 | | f_lasti | index of last attempted |
/third_party/python/Doc/whatsnew/
D3.10.rst1959 * For ``FrameObject`` objects, the ``f_lasti`` member now represents a wordcode
1963 ``f_lasti`` member of ``FrameObject`` objects is not considered stable: please
D2.3.rst2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the
/third_party/python/Doc/reference/
Ddatamodel.rst1030 single: f_lasti (frame attribute)
1038 :attr:`f_lasti` gives the precise instruction (this is an index into the