Lines Matching refs:last
104 list->last = ln; in Lst_Prepend()
119 ln = LstNodeNew(list->last, NULL, datum); in Lst_Append()
121 if (list->last == NULL) { in Lst_Append()
123 list->last = ln; in Lst_Append()
125 list->last->next = ln; in Lst_Append()
126 list->last = ln; in Lst_Append()
146 if (list->last == ln) in Lst_Remove()
147 list->last = ln->prev; in Lst_Remove()
198 src->first->prev = dst->last; in Lst_MoveAll()
199 if (dst->last != NULL) in Lst_MoveAll()
200 dst->last->next = src->first; in Lst_MoveAll()
204 dst->last = src->last; in Lst_MoveAll()
208 src->last = NULL; in Lst_MoveAll()
218 for (ln = src->last; ln != NULL; ln = ln->prev) in Lst_PrependAll()