Lines Matching defs:step
2888 Py_ssize_t start, stop, step, slicelength, i;
2894 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2898 step);
2903 else if (step == 1) {
2913 cur += (size_t)step, i++) {
2942 Py_ssize_t start, stop, step, slicelength;
2944 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2948 step);
2950 if (step == 1)
2955 if ((step < 0 && start < stop) ||
2956 (step > 0 && start > stop))
2969 if (step < 0) {
2971 start = stop + step*(slicelength - 1) - 1;
2972 step = -step;
2984 list that are *not* part of the slice: step-1
2990 cur += step, i++) {
2991 Py_ssize_t lim = step - 1;
2995 if (cur + step >= (size_t)Py_SIZE(self)) {
3003 cur = start + (size_t)slicelength * step;
3068 cur += (size_t)step, i++) {