Lines Matching refs:last
25 PetscInt tmp, i, vl, last; in PetscSortIntWithPermutation_Private() local
36 last = 0; in PetscSortIntWithPermutation_Private()
39 last++; in PetscSortIntWithPermutation_Private()
40 SWAP(vdx[last], vdx[i], tmp); in PetscSortIntWithPermutation_Private()
43 SWAP(vdx[0], vdx[last], tmp); in PetscSortIntWithPermutation_Private()
44 PetscCall(PetscSortIntWithPermutation_Private(v, vdx, last - 1)); in PetscSortIntWithPermutation_Private()
45 PetscCall(PetscSortIntWithPermutation_Private(v, vdx + last + 1, right - (last + 1))); in PetscSortIntWithPermutation_Private()
96 PetscInt tmp, i, last; in PetscSortRealWithPermutation_Private() local
107 last = 0; in PetscSortRealWithPermutation_Private()
110 last++; in PetscSortRealWithPermutation_Private()
111 SWAP(vdx[last], vdx[i], tmp); in PetscSortRealWithPermutation_Private()
114 SWAP(vdx[0], vdx[last], tmp); in PetscSortRealWithPermutation_Private()
115 PetscCall(PetscSortRealWithPermutation_Private(v, vdx, last - 1)); in PetscSortRealWithPermutation_Private()
116 PetscCall(PetscSortRealWithPermutation_Private(v, vdx + last + 1, right - (last + 1))); in PetscSortRealWithPermutation_Private()
167 PetscInt tmp, i, last; in PetscSortStrWithPermutation_Private() local
181 last = 0; in PetscSortStrWithPermutation_Private()
185 last++; in PetscSortStrWithPermutation_Private()
186 SWAP(vdx[last], vdx[i], tmp); in PetscSortStrWithPermutation_Private()
189 SWAP(vdx[0], vdx[last], tmp); in PetscSortStrWithPermutation_Private()
190 PetscCall(PetscSortStrWithPermutation_Private(v, vdx, last - 1)); in PetscSortStrWithPermutation_Private()
191 PetscCall(PetscSortStrWithPermutation_Private(v, vdx + last + 1, right - (last + 1))); in PetscSortStrWithPermutation_Private()