Lines Matching refs:slicelen
610 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()
684 if (slicelen != needed) { in bytearray_ass_subscript()
687 if (slicelen > needed) { in bytearray_ass_subscript()
698 Py_SIZE(self) + needed - slicelen) < 0) in bytearray_ass_subscript()
700 if (slicelen < needed) { in bytearray_ass_subscript()
727 start = stop + step * (slicelen - 1) - 1; in bytearray_ass_subscript()
731 i < slicelen; cur += step, i++) { in bytearray_ass_subscript()
741 cur = start + slicelen*step; in bytearray_ass_subscript()
743 memmove(self->ob_bytes + cur - slicelen, in bytearray_ass_subscript()
748 PyByteArray_GET_SIZE(self) - slicelen) < 0) in bytearray_ass_subscript()
757 if (needed != slicelen) { in bytearray_ass_subscript()
761 needed, slicelen); in bytearray_ass_subscript()
764 for (cur = start, i = 0; i < slicelen; cur += step, i++) in bytearray_ass_subscript()