Lines Matching defs:stop
1139 stop: slice_index(accept={int}, c_default="PY_SSIZE_T_MAX") = sys.maxsize
1149 Py_ssize_t stop)
1158 if (stop < 0) {
1159 stop += Py_SIZE(self);
1163 for (Py_ssize_t i = start; i < stop && i < Py_SIZE(self); i++) {
2357 Py_ssize_t start, stop, step, slicelength, i;
2363 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2366 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop,
2408 Py_ssize_t start, stop, step, slicelength, needed;
2428 stop = i + 1;
2436 if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
2439 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop,
2476 /* for 'a[2:1] = ...', the insertion point is 'start', not 'stop' */
2477 if ((step > 0 && stop < start) ||
2478 (step < 0 && stop > start))
2479 stop = start;
2493 self->ob_item + stop * itemsize,
2494 (Py_SIZE(self) - stop) * itemsize);
2504 self->ob_item + stop * itemsize,
2518 stop = start + 1;
2519 start = stop + step * (slicelength - 1) - 1;