Home
last modified time | relevance | path

Searched refs:nlocals (Results 1 – 14 of 14) 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/
Dcodeobject.c118 int nlocals, int stacksize, int flags, in PyCode_NewWithPosOnlyArgs() argument
130 kwonlyargcount < 0 || nlocals < 0 || in PyCode_NewWithPosOnlyArgs()
232 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs()
268 int nlocals, int stacksize, int flags, in PyCode_New() argument
274 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
450 int nlocals; in code_new() local
467 &nlocals, &stacksize, &flags, in code_new()
480 kwonlyargcount, nlocals, stacksize, flags) < 0) { in code_new()
504 if (nlocals < 0) { in code_new()
532 nlocals, stacksize, flags, 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/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/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/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/cpython3/Python/
Dmarshal.c1303 int nlocals; in r_object() local
1334 nlocals = (int)r_long(p); in r_object()
1376 kwonlyargcount, nlocals, stacksize, flags) < 0) { in r_object()
1382 nlocals, stacksize, flags, in r_object()
Dcompile.c5907 Py_ssize_t nlocals; in makecode() local
5933 nlocals = PyDict_GET_SIZE(c->u->u_varnames); in makecode()
5934 assert(nlocals < INT_MAX); in makecode()
5935 nlocals_int = Py_SAFE_DOWNCAST(nlocals, Py_ssize_t, int); in makecode()
/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/Doc/library/
Dtypes.rst146 ….. 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::