Home
last modified time | relevance | path

Searched refs:freevars (Results 1 – 16 of 16) 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/cpython3/Objects/
Dcodeobject.c100 PyObject *varnames, PyObject *freevars, PyObject *cellvars, in PyCode_New() argument
114 freevars == NULL || !PyTuple_Check(freevars) || in PyCode_New()
129 intern_strings(freevars); in PyCode_New()
135 if (!n_cellvars && !PyTuple_GET_SIZE(freevars)) { in PyCode_New()
206 Py_INCREF(freevars); in PyCode_New()
207 co->co_freevars = freevars; in PyCode_New()
355 PyObject *freevars = NULL, *ourfreevars = NULL; in code_new() local
371 &PyTuple_Type, &freevars, in code_new()
401 if (freevars) in code_new()
402 ourfreevars = validate_and_copy_tuple(freevars); in code_new()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py101 freevars = six.get_function_code(f).co_freevars
102 if freevars and closure:
103 for name, cell in zip(freevars, closure):
/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.c1013 PyObject *freevars = NULL; in r_object() local
1039 freevars = r_object(p); in r_object()
1040 if (freevars == NULL) in r_object()
1059 freevars, cellvars, filename, name, in r_object()
1067 Py_XDECREF(freevars); in r_object()
Dceval.c808 register PyObject **fastlocals, **freevars; in PyEval_EvalFrameEx() local
1024 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalFrameEx()
2418 x = freevars[oparg]; in PyEval_EvalFrameEx()
2427 x = freevars[oparg]; in PyEval_EvalFrameEx()
2456 x = freevars[oparg]; in PyEval_EvalFrameEx()
3373 register PyObject **fastlocals, **freevars; in PyEval_EvalCodeEx() local
3390 freevars = f->f_localsplus + co->co_nlocals; in PyEval_EvalCodeEx()
3588 freevars[PyTuple_GET_SIZE(co->co_cellvars) + i] = o; in PyEval_EvalCodeEx()
5184 PyObject **freevars = (f->f_localsplus + in string_concatenate() local
5186 PyObject *c = freevars[PEEKARG()]; in string_concatenate()
Dcompile.c3814 PyObject *freevars = NULL; in makecode() local
3833 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode()
3834 if (!freevars) in makecode()
3857 freevars, cellvars, in makecode()
3867 Py_XDECREF(freevars); in makecode()
/external/python/cpython3/Doc/c-api/
Dcode.rst36 …*code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellva…
/external/python/cpython2/Doc/c-api/
Dcode.rst36 …*code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellva…
/external/python/cpython3/Python/
Dmarshal.c1370 PyObject *freevars = NULL; in r_object() local
1411 freevars = r_object(p); in r_object()
1412 if (freevars == NULL) in r_object()
1434 freevars, cellvars, filename, name, in r_object()
1443 Py_XDECREF(freevars); in r_object()
Dceval.c561 PyObject **fastlocals, **freevars; in _PyEval_EvalFrameDefault() local
881 freevars = f->f_localsplus + co->co_nlocals; in _PyEval_EvalFrameDefault()
2168 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
2180 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
2207 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
2220 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
2233 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3675 PyObject **fastlocals, **freevars; in _PyEval_EvalCodeWithName() local
3696 freevars = f->f_localsplus + co->co_nlocals; in _PyEval_EvalCodeWithName()
3881 freevars[PyTuple_GET_SIZE(co->co_cellvars) + i] = o; in _PyEval_EvalCodeWithName()
[all …]
Dcompile.c5376 PyObject *freevars = NULL; in makecode() local
5398 freevars = dict_keys_inorder(c->u->u_freevars, PyTuple_Size(cellvars)); in makecode()
5399 if (!freevars) in makecode()
5429 freevars, cellvars, in makecode()
5438 Py_XDECREF(freevars); in makecode()
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst8 constructor based on freevars and cellvars, rather than needing to be set
D3.7.0a3.rst8 constructor based on freevars and cellvars, rather than needing to be set
/external/python/cpython3/Doc/data/
Drefcounts.dat247 PyCode_New:PyObject*:freevars:0: