Searched refs:co_cellvars (Results 1 – 15 of 15) sorted by relevance
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 162 PyObject *co_cellvars, PyObject *co_filename, 185 PyObject *co_cellvars = self->co_cellvars; in code_replace() local 315 co_cellvars = args[12]; in code_replace() 352 …o_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, c… in code_replace()
|
/third_party/python/Objects/ |
D | codeobject.c | 254 co->co_cellvars = cellvars; in PyCode_NewWithPosOnlyArgs() 395 {"co_cellvars", T_OBJECT, OFF(co_cellvars), READONLY}, 662 Py_XDECREF(co->co_cellvars); in code_dealloc() 681 if (co->co_cell2arg != NULL && co->co_cellvars != NULL) { in code_sizeof() 682 res += PyTuple_GET_SIZE(co->co_cellvars) * sizeof(Py_ssize_t); in code_sizeof() 729 PyObject *co_cellvars, PyObject *co_filename, in code_replace_impl() argument 760 co_varnames, co_freevars, co_cellvars, co_filename, co_name, in code_replace_impl() 967 eq = PyObject_RichCompareBool(co->co_cellvars, cp->co_cellvars, Py_EQ); in code_richcompare() 1005 h6 = PyObject_Hash(co->co_cellvars); in code_hash()
|
D | frameobject.c | 632 + PyTuple_GET_SIZE(code->co_cellvars) in frame_nslots() 710 ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_sizeof() 788 Py_ssize_t ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_alloc() 1048 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError() 1051 if (map_to_dict(co->co_cellvars, ncells, in PyFrame_FastToLocalsWithError() 1110 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_LocalsToFast() 1113 dict_to_map(co->co_cellvars, ncells, in PyFrame_LocalsToFast()
|
D | typeobject.c | 8872 n = PyTuple_GET_SIZE(co->co_cellvars); in super_init_without_args() 8902 PyTuple_GET_SIZE(co->co_cellvars) + i; in super_init_without_args()
|
/third_party/python/Lib/ |
D | dis.py | 181 if co.co_cellvars: 183 for i_n in enumerate(co.co_cellvars): 273 cell_names = co.co_cellvars + co.co_freevars 370 cell_names = co.co_cellvars + co.co_freevars 482 self._cell_names = co.co_cellvars + co.co_freevars
|
/third_party/python/Include/cpython/ |
D | code.h | 32 PyObject *co_cellvars; /* tuple of strings (cell variable names) */ member
|
/third_party/jinja2/ |
D | debug.py | 139 code.co_cellvars,
|
/third_party/python/Lib/test/ |
D | test_future.py | 372 self.assertEqual(foo.__code__.co_cellvars, ())
|
D | test_code.py | 231 co.co_cellvars)
|
D | test_sys.py | 1298 ncells = len(x.f_code.co_cellvars)
|
/third_party/python/Python/ |
D | ceval.c | 3081 assert(oparg >= PyTuple_GET_SIZE(co->co_cellvars)); in _PyEval_EvalFrameDefault() 3082 idx = oparg - PyTuple_GET_SIZE(co->co_cellvars); in _PyEval_EvalFrameDefault() 4976 for (i = 0; i < PyTuple_GET_SIZE(co->co_cellvars); ++i) { in _PyEval_MakeFrameVector() 4998 freevars[PyTuple_GET_SIZE(co->co_cellvars) + i] = o; in _PyEval_MakeFrameVector() 6279 if (oparg < PyTuple_GET_SIZE(co->co_cellvars)) { in format_exc_unbound() 6280 name = PyTuple_GET_ITEM(co->co_cellvars, in format_exc_unbound() 6288 PyTuple_GET_SIZE(co->co_cellvars)); in format_exc_unbound()
|
D | marshal.c | 523 w_object(co->co_cellvars, p); in w_complex_object()
|
/third_party/python/Doc/library/ |
D | dis.rst | 1069 variable storage. The name of the variable is ``co_cellvars[i]`` if *i* is 1070 less than the length of *co_cellvars*. Otherwise it is ``co_freevars[i - 1071 len(co_cellvars)]``.
|
D | inspect.rst | 154 | | co_cellvars | tuple of names of cell |
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 971 single: co_cellvars (code object attribute) 983 :attr:`co_cellvars` is a tuple containing the names of local variables
|