Lines Matching refs:ncells
707 Py_ssize_t res, extras, ncells, nfrees; in frame_sizeof() local
710 ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_sizeof()
712 extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_sizeof()
788 Py_ssize_t ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_alloc() local
790 Py_ssize_t extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_alloc()
819 extras = code->co_nlocals + ncells + nfrees; in frame_alloc()
1020 Py_ssize_t ncells, nfreevars; in PyFrame_FastToLocalsWithError() local
1048 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError()
1050 if (ncells || nfreevars) { in PyFrame_FastToLocalsWithError()
1051 if (map_to_dict(co->co_cellvars, ncells, in PyFrame_FastToLocalsWithError()
1065 locals, fast + co->co_nlocals + ncells, 1) < 0) in PyFrame_FastToLocalsWithError()
1093 Py_ssize_t ncells, nfreevars; in PyFrame_LocalsToFast() local
1110 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_LocalsToFast()
1112 if (ncells || nfreevars) { in PyFrame_LocalsToFast()
1113 dict_to_map(co->co_cellvars, ncells, in PyFrame_LocalsToFast()
1118 locals, fast + co->co_nlocals + ncells, 1, in PyFrame_LocalsToFast()