/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 | 1021 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 …]
|
D | traceback.c | 236 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/ |
D | frameobject.h | 36 int f_lasti; /* Last instruction if called */ member
|
/external/python/cpython2/Include/ |
D | frameobject.h | 40 int f_lasti; /* Last instruction if called */ member
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 19 {"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()
|
D | genobject.c | 82 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()
|
D | lnotab_notes.txt | 72 *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/ |
D | traceback.cc | 74 tb->frames_.emplace_back(py_frame->f_code, py_frame->f_lasti); in Get()
|
/external/tensorflow/tensorflow/python/util/ |
D | stack_trace.h | 71 result.code_objs_.push_back(std::make_pair(code_obj, frame->f_lasti)); in Capture()
|
/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 | 93 if frame is not None and frame.f_lasti == -1:
|
/external/python/cpython2/Misc/ |
D | gdbinit | 53 set $__lasti = f->f_lasti
|
/external/python/cpython3/Misc/ |
D | gdbinit | 59 set $__lasti = f->f_lasti
|
/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 | 861 self.f_lasti = int_from_int(self.field('f_lasti')) 941 return self.co.addr2line(self.f_lasti)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1671 if generator.gi_frame.f_lasti == -1: 1713 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 | 132 | | 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 | 998 single: f_lasti (frame attribute) 1006 :attr:`f_lasti` gives the precise instruction (this is an index into 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
|