/third_party/python/Lib/test/ |
H A D | test_code.py | 227 co.co_nlocals, 266 ("co_nlocals", 1), 285 co_nlocals=code2.co_nlocals) 287 self.assertEqual(new_code.co_nlocals, code2.co_nlocals) 294 assert co.co_nlocals > 0; 304 co.co_nlocals + diff, 322 co.replace(co_nlocals=co.co_nlocals [all...] |
/third_party/python/Objects/clinic/ |
H A D | codeobject.c.h | 161 " co_kwonlyargcount=-1, co_nlocals=-1, co_stacksize=-1,\n" 176 int co_nlocals, int co_stacksize, int co_flags, 189 static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL}; in code_replace() 196 int co_nlocals = self->co_nlocals; in code_replace() local 247 co_nlocals = _PyLong_AsInt(args[3]); in code_replace() 248 if (co_nlocals == -1 && PyErr_Occurred()) { in code_replace() 397 return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable); in code_replace()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | debug.py | 272 code = CodeType(0, code.co_nlocals, code.co_stacksize, 279 code.co_nlocals, code.co_stacksize,
|
/third_party/python/Objects/ |
H A D | codeobject.c | 329 co->co_nlocals = nlocals; in init_code() 606 "code: co_nlocals != len(co_varnames)"); in PyCode_NewWithPosOnlyArgs() 1415 return get_localsplus_names(co, CO_FAST_LOCAL, co->co_nlocals); in _PyCode_GetVarnames() 1795 {"co_nlocals", T_INT, OFF(co_nlocals), READONLY}, 1884 co_nlocals: int(c_default="self->co_nlocals") = -1 1906 int co_nlocals, int co_stacksize, int co_flags, in code_replace_impl() 1926 CHECK_INT_ARG(co_nlocals); in code_replace_impl() 1944 co_posonlyargcount, co_kwonlyargcount, co_nlocals, in code_replace_impl() 1904 code_replace_impl(PyCodeObject *self, int co_argcount, int co_posonlyargcount, int co_kwonlyargcount, int co_nlocals, int co_stacksize, int co_flags, int co_firstlineno, PyBytesObject *co_code, PyObject *co_consts, PyObject *co_names, PyObject *co_varnames, PyObject *co_freevars, PyObject *co_cellvars, PyObject *co_filename, PyObject *co_name, PyObject *co_qualname, PyBytesObject *co_linetable, PyBytesObject *co_exceptiontable) code_replace_impl() argument [all...] |
H A D | frameobject.c | 1122 int offset = co->co_nlocals + co->co_nplaincellvars; in _PyFrame_FastToLocalsWithError()
|
H A D | typeobject.c | 9018 int i = co->co_nlocals + co->co_nplaincellvars; in super_init_without_args()
|
/third_party/python/Include/cpython/ |
H A D | code.h | 45 * - co_nlocals \ 79 int co_nlocals; /* number of local variables */ \
|
/third_party/jinja2/ |
H A D | debug.py | 127 code.co_nlocals,
|
/third_party/python/Tools/scripts/ |
H A D | deepfreeze.py | 77 assert nlocals == len(code.co_varnames) == code.co_nlocals, \ 78 (nlocals, len(code.co_varnames), code.co_nlocals) 277 self.field(code, "co_nlocals")
|
H A D | umarshal.py | 82 def co_nlocals(self) -> int: member in Code
|
/third_party/python/Lib/ |
H A D | dis.py | 201 lines.append("Number of locals: %s" % co.co_nlocals)
|
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 1023 self.co_nlocals = int_from_int(self.co.field('co_nlocals')) 1043 for i in safe_range(self.co_nlocals):
|
/third_party/python/Python/ |
H A D | ceval.c | 1433 /* The stack can grow at most MAXINT deep, as co_nlocals and 3210 int offset = co->co_nlocals + co->co_nplaincellvars; 7784 if (oparg < co->co_nplaincellvars + co->co_nlocals) {
|
H A D | compile.c | 2264 int i = co->co_nlocals + co->co_nplaincellvars; in compiler_make_closure()
|