Lines Matching refs:ncells
698 Py_ssize_t res, extras, ncells, nfrees; in frame_sizeof() local
701 ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_sizeof()
703 extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_sizeof()
781 Py_ssize_t ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_alloc() local
783 Py_ssize_t extras = code->co_stacksize + code->co_nlocals + ncells + nfrees; in frame_alloc()
812 extras = code->co_nlocals + ncells + nfrees; in frame_alloc()
1071 Py_ssize_t ncells, nfreevars; in PyFrame_FastToLocalsWithError() local
1099 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError()
1101 if (ncells || nfreevars) { in PyFrame_FastToLocalsWithError()
1102 if (map_to_dict(co->co_cellvars, ncells, in PyFrame_FastToLocalsWithError()
1116 locals, fast + co->co_nlocals + ncells, 1) < 0) in PyFrame_FastToLocalsWithError()
1144 Py_ssize_t ncells, nfreevars; in PyFrame_LocalsToFast() local
1161 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_LocalsToFast()
1163 if (ncells || nfreevars) { in PyFrame_LocalsToFast()
1164 dict_to_map(co->co_cellvars, ncells, in PyFrame_LocalsToFast()
1169 locals, fast + co->co_nlocals + ncells, 1, in PyFrame_LocalsToFast()