| H A D | sorti.c | 28 #define SWAP3(a, b, c, d, e, f, t1, t2, t3) \ argument 36 t3 = e; \ 38 f = t3; \ 135 #define TwoWayPartition3(X, Y, Z, pivot, t1, t2, t3, lo, hi, l, r) \ argument 146 SWAP3(X[l], X[r], Y[l], Y[r], Z[l], Z[r], t1, t2, t3); \ 220 #define QuickSort3(FuncName, X, Y, Z, n, pivot, t1, t2, t3) \ argument 228 SWAP3(X[i], X[j], Y[i], Y[j], Z[i], Z[j], t1, t2, t3); \ 236 TwoWayPartition3(X, Y, Z, pivot, t1, t2, t3, 0, hi, l, r); \ 717 PetscInt pivot, t1, t2, t3; in PetscSortIntWithArrayPair() local 720 QuickSort3(PetscSortIntWithArrayPair, X, Y, Z, n, pivot, t1, t2, t3); in PetscSortIntWithArrayPair() [all …]
|