Searched refs:list2 (Results 1 – 3 of 3) sorted by relevance
/haiku/src/system/libroot/posix/stdlib/ |
H A D | merge.c | 105 u_char *list2, *list1, *p2, *p, *last, **p1; in mergesort() local 119 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in mergesort() 123 setup(list1, list2, nmemb, size, cmp); in mergesort() 124 last = list2 + nmemb * size; in mergesort() 126 while (*EVAL(list2) != last) { in mergesort() 129 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in mergesort() 132 f2 = l1 = list1 + (p2 - list2); in mergesort() 135 l2 = list1 + (p2 - list2); in mergesort() 217 list1 = list2; in mergesort() 218 list2 = tp2; in mergesort() [all …]
|
/haiku/src/tests/kits/app/broster/ |
H A D | GetAppListTester.cpp | 130 BList list2(list); in GetAppListTestA2() local 131 roster.GetAppList(&list2); in GetAppListTestA2() 132 check_list(list2, list, list1, expectedApps); in GetAppListTestA2() 209 BList list2(list); in GetAppListTestB2() local 210 roster.GetAppList(signature, &list2); in GetAppListTestB2() 211 check_list(list2, list, list1, expectedApps); in GetAppListTestB2() 259 BList list2(list); in GetAppListTestB3() local 260 roster.GetAppList(signature, &list2); in GetAppListTestB3() 261 check_list(list2, list, expectedApps); in GetAppListTestB3()
|
/haiku/src/tests/kits/support/pointerlist/ |
H A D | PointerListTest.cpp | 70 bool Equals(const _PointerList_& list1, const _PointerList_& list2); 138 bool PointerListTest::Equals(const _PointerList_& list1, const _PointerList_& list2) in Equals() argument 142 if (n != list2.CountItems()) return false; in Equals() 146 Item* item2 = (Item*)list2.ItemAt(i); in Equals()
|