Lines Matching refs:first
92 // get the first element of a ptrlist
94 // @return: the first element of the list or ``NULL`` if the list is empty
383 struct ptr_list *last, *first = *head;
385 if (!first)
387 last = first;
397 } while (last != first);
408 struct ptr_list *last, *first = *head;
410 if (!first)
412 last = first->prev;
416 first->prev = last->prev;
417 last->prev->next = first;
418 if (last == first)