Lines Matching refs:f_code
15 {"f_code", T_OBJECT, OFF(f_code), READONLY},
39 return PyCode_Addr2Line(f->f_code, f->f_lasti); in PyFrame_GetLineNumber()
147 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
153 else if (new_lineno == f->f_code->co_firstlineno) { in frame_setlineno()
155 new_lineno = f->f_code->co_firstlineno; in frame_setlineno()
161 PyBytes_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno()
165 line = f->f_code->co_firstlineno; in frame_setlineno()
187 PyBytes_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
484 co = f->f_code; in frame_dealloc()
506 Py_VISIT(f->f_code); in frame_traverse()
513 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_traverse()
544 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_tp_clear()
581 ncells = PyTuple_GET_SIZE(f->f_code->co_cellvars); in frame_sizeof()
582 nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_sizeof()
583 extras = f->f_code->co_stacksize + f->f_code->co_nlocals + in frame_sizeof()
600 f, f->f_code->co_filename, lineno, f->f_code->co_name); in frame_repr()
704 assert(f->f_code == code); in _PyFrame_New_NoTrack()
737 f->f_code = code; in _PyFrame_New_NoTrack()
935 co = f->f_code; in PyFrame_FastToLocalsWithError()
1000 co = f->f_code; in PyFrame_LocalsToFast()