/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 22 int co_nlocals, int co_stacksize, int co_flags, 40 int co_nlocals = self->co_nlocals; in code_replace() local 109 co_nlocals = _PyLong_AsInt(args[3]); in code_replace() 110 if (co_nlocals == -1 && PyErr_Occurred()) { in code_replace() 251 …replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, c… in code_replace()
|
/external/python/cpython2/Objects/ |
D | frameobject.c | 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() 595 extras = f->f_code->co_stacksize + f->f_code->co_nlocals + in frame_sizeof() 713 extras = code->co_stacksize + code->co_nlocals + ncells + in PyFrame_New() 739 extras = code->co_nlocals + ncells + nfrees; in PyFrame_New() 929 if (j > co->co_nlocals) in PyFrame_FastToLocals() 930 j = co->co_nlocals; in PyFrame_FastToLocals() 931 if (co->co_nlocals) in PyFrame_FastToLocals() 937 locals, fast + co->co_nlocals, 1); in PyFrame_FastToLocals() 948 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() 576 eq = co->co_nlocals == cp->co_nlocals; in code_richcompare() 646 co->co_argcount ^ co->co_nlocals ^ co->co_flags; in code_hash()
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 617 return (code->co_nlocals in frame_nslots() 703 extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_sizeof() 783 Py_ssize_t extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_alloc() 812 extras = code->co_nlocals + ncells + nfrees; in frame_alloc() 1093 if (j > co->co_nlocals) in PyFrame_FastToLocalsWithError() 1094 j = co->co_nlocals; in PyFrame_FastToLocalsWithError() 1095 if (co->co_nlocals) { in PyFrame_FastToLocalsWithError() 1103 locals, fast + co->co_nlocals, 1)) in PyFrame_FastToLocalsWithError() 1116 locals, fast + co->co_nlocals + ncells, 1) < 0) in PyFrame_FastToLocalsWithError() 1157 if (j > co->co_nlocals) in PyFrame_LocalsToFast() [all …]
|
D | codeobject.c | 232 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs() 379 {"co_nlocals", T_INT, OFF(co_nlocals), READONLY}, 640 int co_nlocals, int co_stacksize, int co_flags, in code_replace_impl() argument 658 CHECK_INT_ARG(co_nlocals); in code_replace_impl() 667 co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl() 673 co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl() 853 eq = co->co_nlocals == cp->co_nlocals; in code_richcompare() 924 co->co_nlocals ^ co->co_flags; in code_hash()
|
/external/tensorflow/tensorflow/python/platform/ |
D | benchmark.py | 60 new_code = types.CodeType(arg_num, func_code.co_nlocals, 71 0, func_code.co_nlocals, 79 new_code = types.CodeType(arg_num, 0, func_code.co_nlocals,
|
/external/python/cpython2/Include/ |
D | code.h | 13 int co_nlocals; /* #local variables */ member
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 23 int co_nlocals; /* #local variables */ member
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 272 code = CodeType(0, code.co_nlocals, code.co_stacksize, 279 code.co_nlocals, code.co_stacksize,
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 112 nlocals = c.co_nlocals
|
D | test_import.py | 505 code = type(code)(code.co_argcount, code.co_nlocals, code.co_stacksize,
|
D | test_sys.py | 647 extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 219 co.co_nlocals,
|
D | test_sys.py | 1216 extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\
|
/external/python/cpython2/Misc/ |
D | gdbinit | 37 while $_i < f->f_code->co_nlocals
|
/external/python/cpython3/Misc/ |
D | gdbinit | 40 while $_i < f->f_code->co_nlocals
|
/external/python/cpython3/Lib/ |
D | dis.py | 162 lines.append("Number of locals: %s" % co.co_nlocals)
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 848 self.co_nlocals = int_from_int(self.co.field('co_nlocals')) 860 for i in safe_range(self.co_nlocals):
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 862 self.co_nlocals = int_from_int(self.co.field('co_nlocals')) 874 for i in safe_range(self.co_nlocals):
|
/external/python/cpython2/Python/ |
D | ceval.c | 1024 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalFrameEx() 3390 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalCodeEx() 3570 GETLOCAL(co->co_nlocals + i) = c; in PyEval_EvalCodeEx() 3579 SETLOCAL(co->co_nlocals + i, c); in PyEval_EvalCodeEx() 5185 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/cpython3/Python/ |
D | ceval.c | 1302 freevars = f->f_localsplus + co->co_nlocals; in _PyEval_EvalFrameDefault() 4106 freevars = f->f_localsplus + co->co_nlocals; in _PyEval_EvalCode() 4290 SETLOCAL(co->co_nlocals + i, c); in _PyEval_EvalCode() 5525 f->f_code->co_nlocals); in unicode_concatenate()
|
D | marshal.c | 515 w_long(co->co_nlocals, p); in w_complex_object()
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 199 | | co_nlocals | number of local variables | |
|