Lines Matching defs:start
93 Py_ssize_t offset; /* start of the array relative to data */
915 offset := start of the array
1033 Py_ssize_t start, step;
1045 /* Align array start to a multiple of 8. */
1076 start = addsize + ndbuf->offset + imin;
1080 ((char **)base->buf)[n] = (char *)base->buf + start + n*step;
1428 /* start with complete information */
1636 For each dimension, we get valid (start, stop, step, slicelength) quadruples
1650 Adding start[n] for each dimension effectively adds the constant:
1652 c = start[0] * strides[0] + ... + start[ndim-1] * strides[ndim-1]
1654 Therefore init_slice() adds all start[n] directly to buf.
1681 In the original array, buf points to a location (usually the start)
1682 in the array of pointers. For the sliced array, start[0] can be
1690 those arrays adding start[n] effectively adds the constant:
1692 c = start[1] * strides[1] + ... + start[ndim-1] * strides[ndim-1]
1708 suboffsets[0] = start[1] * strides[1]
1709 suboffsets[1] = start[2] * strides[2] + ...
1714 Py_ssize_t start, stop, step, slicelength;
1716 if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
1719 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
1724 base->buf = (char *)base->buf + base->strides[dim] * start;
1732 base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
1925 Py_ssize_t s[4]; /* start, stop, step, slicelength */