Lines Matching defs:start

13 [clinic start generated code]*/
811 [clinic start generated code]*/
826 [clinic start generated code]*/
840 [clinic start generated code]*/
856 [clinic start generated code]*/
875 [clinic start generated code]*/
1029 [clinic start generated code]*/
1242 On entry, must have lo <= start <= hi, and that [lo, start) is already
1243 sorted (pass start == lo if you don't know!).
1249 binarysort(MergeState *ms, sortslice lo, PyObject **hi, PyObject **start)
1255 assert(lo.keys <= start && start <= hi);
1256 /* assert [lo, start) is sorted */
1257 if (lo.keys == start)
1258 ++start;
1259 for (; start < hi; ++start) {
1260 /* set l to where *start belongs */
1262 r = start;
1266 * pivot < all in [r, start).
1267 * The second is vacuously true at the start.
1279 pivot < all in [l, start), so pivot belongs at l. Note
1285 for (p = start; p > l; --p)
1290 p = start + offset;
1293 for (p = start + offset; p > l; --p)
1928 /* Where does b start in a? Elements in a before that can be
2014 Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
2265 [clinic start generated code]*/
2550 [clinic start generated code]*/
2589 start: slice_index(accept={int}) = 0
2596 [clinic start generated code]*/
2599 list_index_impl(PyListObject *self, PyObject *value, Py_ssize_t start,
2605 if (start < 0) {
2606 start += Py_SIZE(self);
2607 if (start < 0)
2608 start = 0;
2615 for (i = start; i < stop && i < Py_SIZE(self); i++) {
2636 [clinic start generated code]*/
2671 [clinic start generated code]*/
2773 [clinic start generated code]*/
2828 [clinic start generated code]*/
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);
2912 for (cur = start, i = 0; i < slicelength;
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;
2988 for (cur = start, i = 0;
3003 cur = start + (size_t)slicelength * step;
3067 for (cur = start, i = 0; i < slicelength;
3356 [clinic start generated code]*/