Lines Matching refs:stop
2590 stop: slice_index(accept={int}, c_default="PY_SSIZE_T_MAX") = sys.maxsize
2600 Py_ssize_t stop)
2610 if (stop < 0) {
2611 stop += Py_SIZE(self);
2612 if (stop < 0)
2613 stop = 0;
2615 for (i = start; i < stop && i < Py_SIZE(self); i++) {
2888 Py_ssize_t start, stop, step, slicelength, i;
2894 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2897 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop,
2904 return list_slice(self, start, stop);
2942 Py_ssize_t start, stop, step, slicelength;
2944 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2947 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop,
2951 return list_ass_slice(self, start, stop, value);
2955 if ((step < 0 && start < stop) ||
2956 (step > 0 && start > stop))
2957 stop = start;
2970 stop = start + 1;
2971 start = stop + step*(slicelength - 1) - 1;
2989 cur < (size_t)stop;