Lines Matching refs:slicelen
621 Py_ssize_t start, stop, step, slicelen, needed; in bytearray_ass_subscript() local
644 slicelen = 1; in bytearray_ass_subscript()
658 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
709 if (slicelen == 0) in bytearray_ass_subscript()
715 start = stop + step * (slicelen - 1) - 1; in bytearray_ass_subscript()
719 i < slicelen; cur += step, i++) { in bytearray_ass_subscript()
729 cur = start + (size_t)slicelen*step; in bytearray_ass_subscript()
731 memmove(buf + cur - slicelen, in bytearray_ass_subscript()
736 PyByteArray_GET_SIZE(self) - slicelen) < 0) in bytearray_ass_subscript()
746 if (needed != slicelen) { in bytearray_ass_subscript()
750 needed, slicelen); in bytearray_ass_subscript()
753 for (cur = start, i = 0; i < slicelen; cur += step, i++) in bytearray_ass_subscript()