Home
last modified time | relevance | path

Searched refs:nlocals (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_new.py112 nlocals = c.co_nlocals
126 d = new.code(argcount, nlocals, stacksize, flags, codestring,
131 d = new.code(argcount, nlocals, stacksize, flags, codestring,
137 -argcount, nlocals, stacksize, flags, codestring,
142 argcount, -nlocals, stacksize, flags, codestring,
147 argcount, nlocals, stacksize, flags, codestring,
154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h15 int kwonlyargcount, int nlocals, int stacksize, int flags,
28 int nlocals; in code_new() local
61 nlocals = _PyLong_AsInt(PyTuple_GET_ITEM(args, 3)); in code_new()
62 if (nlocals == -1 && PyErr_Occurred()) { in code_new()
135 …return_value = code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, … in code_new()
/external/python/cpython2/Objects/
Dcodeobject.c93 PyCode_New(int argcount, int nlocals, int stacksize, int flags, in PyCode_New() argument
101 if (argcount < 0 || nlocals < 0 || in PyCode_New()
123 co->co_nlocals = nlocals; in PyCode_New()
272 int nlocals; in code_new() local
288 &argcount, &nlocals, &stacksize, &flags, in code_new()
306 if (nlocals < 0) { in code_new()
332 co = (PyObject *)PyCode_New(argcount, nlocals, stacksize, flags, in code_new()
/external/python/cpython3/Objects/
Dcodeobject.c118 int nlocals, int stacksize, int flags, in PyCode_NewWithPosOnlyArgs() argument
130 kwonlyargcount < 0 || nlocals < 0 || in PyCode_NewWithPosOnlyArgs()
240 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs()
276 int nlocals, int stacksize, int flags, in PyCode_New() argument
282 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
550 int kwonlyargcount, int nlocals, int stacksize, int flags, in code_new_impl() argument
565 kwonlyargcount, nlocals, stacksize, flags) < 0) { in code_new_impl()
589 if (nlocals < 0) { in code_new_impl()
617 nlocals, stacksize, flags, in code_new_impl()
/external/starlark-go/starlark/
Dinterp.go52 nlocals := len(f.Locals)
53 nspace := nlocals + f.MaxStack
55 locals := space[:nlocals:nlocals] // local variables, starting with parameters
56 stack := space[nlocals:] // operand stack
/external/python/cpython3/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksi…
43 …thPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, int stacksize, i…
/external/python/cpython2/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject *PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObj…
/external/python/cpython2/Lib/compiler/
Dpyassem.py533 nlocals = 0
535 nlocals = len(self.varnames)
539 return types.CodeType(argcount, nlocals, self.stacksize, self.flags,
/external/python/cpython2/Doc/library/
Dnew.rst49 .. function:: code(argcount, nlocals, stacksize, flags, codestring, constants, names, varnames, fil…
/external/python/cpython2/Python/
Dmarshal.c1006 int nlocals; in r_object() local
1024 nlocals = (int)r_long(p); in r_object()
1057 argcount, nlocals, stacksize, flags, in r_object()
Dcompile.c3817 int nlocals, flags; in makecode() local
3840 nlocals = PyDict_Size(c->u->u_varnames); in makecode()
3855 co = PyCode_New(c->u->u_argcount, nlocals, stackdepth(c), flags, in makecode()
/external/python/cpython3/Python/
Dmarshal.c1307 int nlocals; in r_object() local
1338 nlocals = (int)r_long(p); in r_object()
1380 nlocals, stacksize, flags, in r_object()
Dcompile.c6903 Py_ssize_t nlocals; in makecode() local
6928 nlocals = PyDict_GET_SIZE(c->u->u_varnames); in makecode()
6929 assert(nlocals < INT_MAX); in makecode()
6930 nlocals_int = Py_SAFE_DOWNCAST(nlocals, Py_ssize_t, int); in makecode()
/external/python/cpython3/Doc/library/
Dtypes.rst153 ….. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,s…
/external/python/cpython3/Doc/data/
Drefcounts.dat241 PyCode_NewWithPosOnlyArgs:int:nlocals::
258 PyCode_New:int:nlocals::
Dpython3.10.abi7374 …<parameter type-id='type-id-9' name='nlocals' filepath='Objects/codeobject.c' line='276' column='1…
7393 …<parameter type-id='type-id-9' name='nlocals' filepath='Objects/codeobject.c' line='118' column='1…