Home
last modified time | relevance | path

Searched refs:co_nlocals (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Objects/
Dframeobject.c507 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_traverse()
540 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_clear()
559 extras = f->f_code->co_stacksize + f->f_code->co_nlocals + in frame_sizeof()
677 extras = code->co_stacksize + code->co_nlocals + ncells + in PyFrame_New()
703 extras = code->co_nlocals + ncells + nfrees; in PyFrame_New()
893 if (j > co->co_nlocals) in PyFrame_FastToLocals()
894 j = co->co_nlocals; in PyFrame_FastToLocals()
895 if (co->co_nlocals) in PyFrame_FastToLocals()
901 locals, fast + co->co_nlocals, 1); in PyFrame_FastToLocals()
912 locals, fast + co->co_nlocals + ncells, 1); in PyFrame_FastToLocals()
[all …]
Dcodeobject.c123 co->co_nlocals = nlocals; in PyCode_New()
202 {"co_nlocals", T_INT, OFF(co_nlocals), READONLY},
391 cmp = co->co_nlocals - cp->co_nlocals; in code_compare()
577 eq = co->co_nlocals == cp->co_nlocals; in code_richcompare()
647 co->co_argcount ^ co->co_nlocals ^ co->co_flags; in code_hash()
/external/python/cpython2/Include/
Dcode.h13 int co_nlocals; /* #local variables */ member
/external/python/cpython2/Lib/test/
Dtest_new.py112 nlocals = c.co_nlocals
Dtest_import.py506 code = type(code)(code.co_argcount, code.co_nlocals, code.co_stacksize,
Dtest_sys.py636 extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\
/external/libmojo/third_party/jinja2/
Ddebug.py248 code = code_type(0, code.co_nlocals, code.co_stacksize,
/external/python/cpython2/Misc/
Dgdbinit37 while $_i < f->f_code->co_nlocals
Dcheatsheet1278 co_nlocals (int, R/O): number of local vars (including args)
/external/python/cpython2/Tools/gdb/
Dlibpython.py841 self.co_nlocals = int_from_int(self.co.field('co_nlocals'))
853 for i in safe_range(self.co_nlocals):
/external/python/cpython2/Python/
Dceval.c1016 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalFrameEx()
3370 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalCodeEx()
3550 GETLOCAL(co->co_nlocals + i) = c; in PyEval_EvalCodeEx()
3559 SETLOCAL(co->co_nlocals + i, c); in PyEval_EvalCodeEx()
5146 f->f_code->co_nlocals); in string_concatenate()
Dmarshal.c432 w_long(co->co_nlocals, p); in w_object()
/external/python/cpython2/Lib/
Dmodulefinder.py609 return types.CodeType(co.co_argcount, co.co_nlocals, co.co_stacksize,
/external/python/cpython2/Doc/library/
Dinspect.rst199 | | co_nlocals | number of local variables | |
/external/python/cpython2/Doc/reference/
Ddatamodel.rst935 single: co_nlocals (code object attribute)
943 with default values); :attr:`co_nlocals` is the number of local variables used