Home
last modified time | relevance | path

Searched refs:nlocals (Results 1 – 12 of 12) 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/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.c98 int nlocals, int stacksize, int flags, in PyCode_New() argument
109 if (argcount < 0 || kwonlyargcount < 0 || nlocals < 0 || in PyCode_New()
195 co->co_nlocals = nlocals; in PyCode_New()
347 int nlocals; in code_new() local
364 &nlocals, &stacksize, &flags, in code_new()
388 if (nlocals < 0) { in code_new()
415 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…
/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.c1363 int nlocals; in r_object() local
1390 nlocals = (int)r_long(p); in r_object()
1432 nlocals, stacksize, flags, in r_object()
Dcompile.c5379 Py_ssize_t nlocals; in makecode() local
5402 nlocals = PyDict_GET_SIZE(c->u->u_varnames); in makecode()
5403 assert(nlocals < INT_MAX); in makecode()
5404 nlocals_int = Py_SAFE_DOWNCAST(nlocals, Py_ssize_t, int); in makecode()
/external/python/cpython3/Doc/data/
Drefcounts.dat240 PyCode_New:int:nlocals::