Lines Matching refs:slicelen
609 Py_ssize_t start, stop, step, slicelen, needed; in bytearray_ass_subscript() local
632 slicelen = 1; in bytearray_ass_subscript()
646 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
697 if (slicelen == 0) in bytearray_ass_subscript()
703 start = stop + step * (slicelen - 1) - 1; in bytearray_ass_subscript()
707 i < slicelen; cur += step, i++) { in bytearray_ass_subscript()
717 cur = start + (size_t)slicelen*step; in bytearray_ass_subscript()
719 memmove(buf + cur - slicelen, in bytearray_ass_subscript()
724 PyByteArray_GET_SIZE(self) - slicelen) < 0) in bytearray_ass_subscript()
734 if (needed != slicelen) { in bytearray_ass_subscript()
738 needed, slicelen); in bytearray_ass_subscript()
741 for (cur = start, i = 0; i < slicelen; cur += step, i++) in bytearray_ass_subscript()