Lines Matching refs:list2
69 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con…
111 u_char *list2, *list1, *p2, *p, *last, **p1; in php_mergesort() local
129 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in php_mergesort()
133 setup(list1, list2, nmemb, size, cmp TSRMLS_CC); in php_mergesort()
134 last = list2 + nmemb * size; in php_mergesort()
136 while (*EVAL(list2) != last) { in php_mergesort()
139 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in php_mergesort()
142 f2 = l1 = list1 + (p2 - list2); in php_mergesort()
145 l2 = list1 + (p2 - list2); in php_mergesort()
227 list1 = list2; in php_mergesort()
228 list2 = tp2; in php_mergesort()
229 last = list2 + nmemb*size; in php_mergesort()
231 if (base == list2) { in php_mergesort()
232 memmove(list2, list1, nmemb*size); in php_mergesort()
233 list2 = list1; in php_mergesort()
235 free(list2); in php_mergesort()
265 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con… in setup() argument
273 *EVAL(list2) = (u_char*) list2 + n*size; in setup()
283 *EVAL(list2 + (last - list1)) = list2 + n * size; in setup()
286 p2 = list2; in setup()
299 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
307 p2 = *EVAL(p2) = f2 - list1 + list2; in setup()
317 p2 = *EVAL(p2) = f2 - list1 + list2; in setup()
319 p2 = *EVAL(p2) = list2 + n*size; in setup()
323 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()