Searched refs:co_nlocals (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Objects/ |
D | frameobject.c | 507 …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 …]
|
D | codeobject.c | 123 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/ |
D | code.h | 13 int co_nlocals; /* #local variables */ member
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 112 nlocals = c.co_nlocals
|
D | test_import.py | 506 code = type(code)(code.co_argcount, code.co_nlocals, code.co_stacksize,
|
D | test_sys.py | 636 extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\
|
/external/libmojo/third_party/jinja2/ |
D | debug.py | 248 code = code_type(0, code.co_nlocals, code.co_stacksize,
|
/external/python/cpython2/Misc/ |
D | gdbinit | 37 while $_i < f->f_code->co_nlocals
|
D | cheatsheet | 1278 co_nlocals (int, R/O): number of local vars (including args)
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 841 self.co_nlocals = int_from_int(self.co.field('co_nlocals')) 853 for i in safe_range(self.co_nlocals):
|
/external/python/cpython2/Python/ |
D | ceval.c | 1016 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()
|
D | marshal.c | 432 w_long(co->co_nlocals, p); in w_object()
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 609 return types.CodeType(co.co_argcount, co.co_nlocals, co.co_stacksize,
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 199 | | co_nlocals | number of local variables | |
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 935 single: co_nlocals (code object attribute) 943 with default values); :attr:`co_nlocals` is the number of local variables used
|