Lines Matching refs:list2
67 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con…
109 u_char *list2, *list1, *p2, *p, *last, **p1; in php_mergesort() local
127 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in php_mergesort()
131 setup(list1, list2, nmemb, size, cmp); in php_mergesort()
132 last = list2 + nmemb * size; in php_mergesort()
134 while (*EVAL(list2) != last) { in php_mergesort()
137 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in php_mergesort()
140 f2 = l1 = list1 + (p2 - list2); in php_mergesort()
143 l2 = list1 + (p2 - list2); in php_mergesort()
225 list1 = list2; in php_mergesort()
226 list2 = tp2; in php_mergesort()
227 last = list2 + nmemb*size; in php_mergesort()
229 if (base == list2) { in php_mergesort()
230 memmove(list2, list1, nmemb*size); in php_mergesort()
231 list2 = list1; in php_mergesort()
233 free(list2); in php_mergesort()
263 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con… in setup() argument
271 *EVAL(list2) = (u_char*) list2 + n*size; in setup()
281 *EVAL(list2 + (last - list1)) = list2 + n * size; in setup()
284 p2 = list2; in setup()
297 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
305 p2 = *EVAL(p2) = f2 - list1 + list2; in setup()
315 p2 = *EVAL(p2) = f2 - list1 + list2; in setup()
317 p2 = *EVAL(p2) = list2 + n*size; in setup()
321 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()