Lines Matching refs:ncells
539 Py_ssize_t res, extras, ncells, nfrees; in frame_sizeof() local
541 ncells = PyTuple_GET_SIZE(f->f_code->co_cellvars); in frame_sizeof()
544 ncells + nfrees; in frame_sizeof()
662 Py_ssize_t extras, ncells, nfrees; in _PyFrame_New_NoTrack() local
663 ncells = PyTuple_GET_SIZE(code->co_cellvars); in _PyFrame_New_NoTrack()
665 extras = code->co_stacksize + code->co_nlocals + ncells + in _PyFrame_New_NoTrack()
693 extras = code->co_nlocals + ncells + nfrees; in _PyFrame_New_NoTrack()
878 Py_ssize_t ncells, nfreevars; in PyFrame_FastToLocalsWithError() local
906 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError()
908 if (ncells || nfreevars) { in PyFrame_FastToLocalsWithError()
909 if (map_to_dict(co->co_cellvars, ncells, in PyFrame_FastToLocalsWithError()
923 locals, fast + co->co_nlocals + ncells, 1) < 0) in PyFrame_FastToLocalsWithError()
951 Py_ssize_t ncells, nfreevars; in PyFrame_LocalsToFast() local
968 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_LocalsToFast()
970 if (ncells || nfreevars) { in PyFrame_LocalsToFast()
971 dict_to_map(co->co_cellvars, ncells, in PyFrame_LocalsToFast()
976 locals, fast + co->co_nlocals + ncells, 1, in PyFrame_LocalsToFast()