Lines Matching refs:list2
142 ** p2 parallels b in the list2 array, where runs are defined by
181 dynprep(pTHX_ gptr *list1, gptr *list2, size_t nmemb, SVCOMPARE_t cmp)
192 for (p2 = list2; b < last; ) {
283 * # merge $runs runs at offset $offset of list $list1 into $list2.
286 * my ($offset, $runs, $base, $list1, $list2) = @_;
289 * if ($list1 is $base) copy run to $list2
292 * $off2 = mgsort2($offset, $runs-($runs/2), $base, $list2, $list1)
293 * mgsort2($off2, $runs/2, $base, $list2, $list1)
294 * merge the adjacent runs at $offset of $list1 into $list2
345 gptr *aux, *list1, *list2;
369 list2 = which[++iwhich]; /* area for merged runs */
373 p = tp2 = list2 + offset; /* where merged run will go */
375 f2 = l1 = POTHER(t, list2, list1); /* ... on the other side */
377 l2 = POTHER(t, list2, list1); /* ... on the other side */
378 offset = PNELEM(list2, t);
463 p1 = NEXT(p1) = POTHER(tp2, list2, list1);
467 t = list1; list1 = list2; list2 = t; /* swap lists */