Home
last modified time | relevance | path

Searched refs:freevars (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Objects/
Dcodeobject.c95 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument
106 freevars == NULL || !PyTuple_Check(freevars) || in PyCode_New()
117 intern_strings(freevars); in PyCode_New()
134 Py_INCREF(freevars); in PyCode_New()
135 co->co_freevars = freevars; in PyCode_New()
280 PyObject *freevars = NULL, *ourfreevars = NULL; in code_new() local
295 &PyTuple_Type, &freevars, in code_new()
319 if (freevars) in code_new()
320 ourfreevars = validate_and_copy_tuple(freevars); in code_new()
/external/python/cpython2/Lib/test/
Dtest_new.py123 freevars = c.co_freevars
128 firstlineno, lnotab, freevars, cellvars)
/external/python/cpython2/Lib/compiler/
Dpyassem.py273 self.freevars = []
300 self.freevars = list(names)
430 self.closure = self.cellvars + self.freevars
543 self.lnotab.getTable(), tuple(self.freevars),
/external/python/cpython2/Python/
Dmarshal.c1007 PyObject *freevars = NULL; in r_object() local
1033 freevars = r_object(p); in r_object()
1034 if (freevars == NULL) in r_object()
1053 freevars, cellvars, filename, name, in r_object()
1061 Py_XDECREF(freevars); in r_object()
Dceval.c800 register PyObject **fastlocals, **freevars; in PyEval_EvalFrameEx() local
1016 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalFrameEx()
2406 x = freevars[oparg]; in PyEval_EvalFrameEx()
2415 x = freevars[oparg]; in PyEval_EvalFrameEx()
2444 x = freevars[oparg]; in PyEval_EvalFrameEx()
3353 register PyObject **fastlocals, **freevars; in PyEval_EvalCodeEx() local
3370 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalCodeEx()
3568 freevars[PyTuple_GET_SIZE(co->co_cellvars) + i] = o; in PyEval_EvalCodeEx()
5145 PyObject **freevars = (f->f_localsplus + in string_concatenate() local
5147 PyObject *c = freevars[PEEKARG()]; in string_concatenate()
Dcompile.c3813 PyObject *freevars = NULL; in makecode() local
3832 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode()
3833 if (!freevars) in makecode()
3856 freevars, cellvars, in makecode()
3866 Py_XDECREF(freevars); in makecode()
/external/python/cpython2/Doc/c-api/
Dcode.rst36 …*code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellva…