Home | History | Annotate | Download | only in Intersection

Lines Matching defs:pivot

13 static T* QSort_Partition(T* left, T* right, T* pivot)
15 T pivotValue = *pivot;
16 SkTSwap(*pivot, *right);
35 T* pivot = left + (right - left >> 1);
36 pivot = QSort_Partition(left, right, pivot);
37 QSort(left, pivot - 1);
38 QSort(pivot + 1, right);
42 static T** QSort_Partition(T** left, T** right, T** pivot)
44 T* pivotValue = *pivot;
45 SkTSwap(*pivot, *right);
64 T** pivot = left + (right - left >> 1);
65 pivot = QSort_Partition(left, right, pivot);
66 QSort(left, pivot - 1);
67 QSort(pivot + 1, right);
71 static T* QSort_Partition(S& context, T* left, T* right, T* pivot,
74 T pivotValue = *pivot;
75 SkTSwap(*pivot, *right);
95 T* pivot = left + (right - left >> 1);
96 pivot = QSort_Partition(context, left, right, pivot, lessThan);
97 QSort(context, left, pivot - 1, lessThan);
98 QSort(context, pivot + 1, right, lessThan);