Lines Matching refs:list2
95 * list1 The list to which list2 is to be appended
96 * list2 The list to append to list1
104 Lst_Concat(Lst *list1, Lst *list2, int flags)
111 if (list2->firstPtr == NULL)
123 list2->firstPtr->prevPtr = list1->lastPtr;
125 list1->lastPtr->nextPtr = list2->firstPtr;
127 list1->firstPtr = list2->firstPtr;
128 list1->lastPtr = list2->lastPtr;
130 Lst_Init(list2);
136 * corresponding element in list2. The 'last' node follows the
137 * last of the new nodes along until the entire list2 has been
143 for (last = list1->lastPtr, ln = list2->firstPtr;