Home | History | Annotate | Download | only in src

Lines Matching refs:pivot

782     // Find a pivot as the median of first, last and middle element.
814 var pivot = v1;
815 var low_end = from + 1; // Upper bound of elements lower than pivot.
816 var high_start = to - 1; // Lower bound of elements greater than pivot.
818 a[low_end] = pivot;
820 // From low_end to i are elements equal to pivot.
824 var order = %_CallFunction(receiver, element, pivot, comparefn);
834 order = %_CallFunction(receiver, top_elem, pivot, comparefn);