Home
last modified time | relevance | path

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

12

/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.c1021 f->f_lasti = INSTR_OFFSET(); \ in _PyEval_EvalFrameDefault()
1031 f->f_lasti = INSTR_OFFSET(); \ in _PyEval_EvalFrameDefault()
1323 assert(f->f_lasti >= -1); in _PyEval_EvalFrameDefault()
1325 if (f->f_lasti >= 0) { in _PyEval_EvalFrameDefault()
1326 assert(f->f_lasti % sizeof(_Py_CODEUNIT) == 0); in _PyEval_EvalFrameDefault()
1327 next_instr += f->f_lasti / sizeof(_Py_CODEUNIT) + 1; in _PyEval_EvalFrameDefault()
1408 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault()
1427 JUMPTO(f->f_lasti); in _PyEval_EvalFrameDefault()
1455 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault()
1459 f->f_lasti, opcode); in _PyEval_EvalFrameDefault()
[all …]
Dtraceback.c236 return tb_create_raw((PyTracebackObject *)tb_next, frame, frame->f_lasti, in _PyTraceBack_FromFrame()
769 int lineno = PyCode_Addr2Line(code, frame->f_lasti); in dump_frame()
/external/python/cpython3/Include/cpython/
Dframeobject.h36 int f_lasti; /* Last instruction if called */ member
/external/python/cpython2/Include/
Dframeobject.h40 int f_lasti; /* Last instruction if called */ member
/external/python/cpython3/Objects/
Dframeobject.c19 {"f_lasti", T_INT, OFF(f_lasti), READONLY},
42 return PyCode_Addr2Line(f->f_code, f->f_lasti); in PyFrame_GetLineNumber()
350 if (f->f_lasti == -1) { in frame_setlineno()
424 int64_t start_block_stack = blocks[f->f_lasti/sizeof(_Py_CODEUNIT)]; in frame_setlineno()
478 f->f_lasti = best_addr; in frame_setlineno()
915 f->f_lasti = -1; in _PyFrame_New_NoTrack()
Dgenobject.c82 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize()
179 if (f->f_lasti == -1) { in gen_send_ex()
333 if (f->f_lasti < 0) { in _PyGen_yf()
341 if (code[f->f_lasti + sizeof(_Py_CODEUNIT)] != YIELD_FROM) in _PyGen_yf()
457 assert(gen->gi_frame->f_lasti >= 0); in _gen_throw()
458 gen->gi_frame->f_lasti += sizeof(_Py_CODEUNIT); in _gen_throw()
Dlnotab_notes.txt72 *instr_lb <= frame->f_lasti < *instr_ub
137 suggested by f_lasti on this one occasion where it's desirable.
/external/tensorflow/tensorflow/compiler/xla/python/
Dtraceback.cc74 tb->frames_.emplace_back(py_frame->f_code, py_frame->f_lasti); in Get()
/external/tensorflow/tensorflow/python/util/
Dstack_trace.h71 result.code_objs_.push_back(std::make_pair(code_obj, frame->f_lasti)); in Capture()
/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.py93 if frame is not None and frame.f_lasti == -1:
/external/python/cpython2/Misc/
Dgdbinit53 set $__lasti = f->f_lasti
/external/python/cpython3/Misc/
Dgdbinit59 set $__lasti = f->f_lasti
/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.py861 self.f_lasti = int_from_int(self.field('f_lasti'))
941 return self.co.addr2line(self.f_lasti)
/external/python/cpython3/Lib/
Dinspect.py1671 if generator.gi_frame.f_lasti == -1:
1713 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.rst132 | | 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.rst998 single: f_lasti (frame attribute)
1006 :attr:`f_lasti` gives the precise instruction (this is an index into the
/external/python/cpython3/Doc/whatsnew/
D2.3.rst2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the

12