Lines Matching refs:f_code
19 {"f_code", T_OBJECT, OFF(f_code), RO},
69 return PyCode_Addr2Line(f->f_code, f->f_lasti); in PyFrame_GetLineNumber()
159 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
165 else if (new_lineno == f->f_code->co_firstlineno) { in frame_setlineno()
167 new_lineno = f->f_code->co_firstlineno; in frame_setlineno()
173 PyString_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno()
177 line = f->f_code->co_firstlineno; in frame_setlineno()
199 PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
511 co = f->f_code; in frame_dealloc()
533 Py_VISIT(f->f_code); in frame_traverse()
543 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_traverse()
576 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_clear()
593 ncells = PyTuple_GET_SIZE(f->f_code->co_cellvars); in frame_sizeof()
594 nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_sizeof()
595 extras = f->f_code->co_stacksize + f->f_code->co_nlocals + in frame_sizeof()
707 assert(f->f_code == code); in PyFrame_New()
738 f->f_code = code; in PyFrame_New()
922 co = f->f_code; in PyFrame_FastToLocals()
967 co = f->f_code; in PyFrame_LocalsToFast()