Lines Matching defs:dest
558 * low is the index in dest to start sorting
559 * high is the end index in dest to end sorting
564 Object[] dest,
574 ((Comparable) dest[j-1]).compareTo(dest[j])>0; j--)
575 swap(dest, j, j-1);
579 // Recursively sort halves of dest into src
585 mergeSort(dest, src, low, mid, -off);
586 mergeSort(dest, src, mid, high, -off);
588 // If list is already sorted, just copy from src to dest. This is an
591 System.arraycopy(src, low, dest, destLow, length);
595 // Merge sorted halves (now in src) into dest
598 dest[i] = src[p++];
600 dest[i] = src[q++];
744 * low is the index in dest to start sorting
745 * high is the end index in dest to end sorting
746 * off is the offset into src corresponding to low in dest
750 Object[] dest,
758 for (int j=i; j>low && c.compare(dest[j-1], dest[j])>0; j--)
759 swap(dest, j, j-1);
763 // Recursively sort halves of dest into src
769 mergeSort(dest, src, low, mid, -off, c);
770 mergeSort(dest, src, mid, high, -off, c);
772 // If list is already sorted, just copy from src to dest. This is an
775 System.arraycopy(src, low, dest, destLow, length);
779 // Merge sorted halves (now in src) into dest
782 dest[i] = src[p++];
784 dest[i] = src[q++];