Searched refs:freevars (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Objects/ |
D | codeobject.c | 95 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/ |
D | test_new.py | 123 freevars = c.co_freevars 128 firstlineno, lnotab, freevars, cellvars)
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 273 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/ |
D | marshal.c | 1007 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()
|
D | ceval.c | 800 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()
|
D | compile.c | 3813 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/ |
D | code.rst | 36 …*code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellva…
|